Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Operation between two fieldsets. op is one of the operators below :

+ Addition

- Subtraction

* Multiplication

/ Division

^ Power

 

 

The fieldsets returned by these boolean operators are boolean fieldsets (containing only 1 where result is true, 0 where it is false) :

> Larger Than

< Smaller Than

>= Larger or Equal

<= Smaller or Equal

= Equal

<> Not Equal

 

In all of the above operations, a missing value in one of the input fieldsets results in a corresponding missing value in the output fieldset.

...

# copies fields 1, 5, 9, 13, 17 of x into y
Y = X[1,20,4]

 

fieldset fieldset[vector]

Extract a selection of elements from a vector. The vector supplied as the argument provides the set of indices to be used. For example:
# copies fields 2, 1, 3 of x into y
x = |2, 1, 3|
y = x[i]

fieldset abs ( fieldset )

Returns the fieldset of the absolute value of the input fieldset at each grid point or spectral coefficient. Missing values are retained, unaltered by the calculation.

...