Subject: XploRe: Learning Guide
See XploRe:

Quantlet: matrix03
Description: Comparison operators.
Download: matrix03.xpl

Code:
;
  A = (2|4)~(8|8)
  B = (5|6)~(4|8)
  A > B                    ; check if elements of A are greater
                           ;    than those of B (elementwise!)
;
  A == B                   ; check if elements of A equal
                           ;    those of B (elementwise!)
;
  (A > B) && (A == B)      ; (A > B) and (A == B)
  (A > B) || (A == B)      ; (A > B) or  (A == B)
;
  A >= B                   ; same as (A > B) or  (A == B)
;
  prod(prod(A==B),2)       ; check if all elements of A
                           ;    equal those of B




Subject: XploRe: Learning Guide
See XploRe:

© MD*Tech - Method and Data Technologies, generated on 6.6.2000 .