Difference between revisions of "Elementary Functions"
Jump to navigation
Jump to search
m |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The elementary functions are those which act on all the signal data contained in an [[IXTdataset_1d]] or [[IXTdataset_2d]]. | The elementary functions are those which act on all the signal data contained in an [[IXTdataset_1d]] or [[IXTdataset_2d]]. | ||
− | |||
− | <pre>>> | + | '''''EXAMPLE:''''' |
− | > | + | |
− | + | <pre>>>wwout = tan(ww)</pre> | |
− | + | ||
− | + | * Output object is the same type as input object | |
− | + | * Each signal in the output object will be the tan of each signal in the input object | |
− | + | * Error data is recalculated accordingly | |
− | + | * All other elements of the output object are the same as the input object | |
+ | |||
− | |||
==Arrays of Datasets== | ==Arrays of Datasets== | ||
Line 19: | Line 18: | ||
− | ''' | + | '''''EXAMPLE:''''' |
− | >> | + | <pre>>> wnew = exp(w)</pre> |
− | will | + | will return |
'''wnew(i)'''.signal(j) = exp('''w(i)'''.signal(j)) | '''wnew(i)'''.signal(j) = exp('''w(i)'''.signal(j)) |
Latest revision as of 15:41, 19 March 2008
The elementary functions are those which act on all the signal data contained in an IXTdataset_1d or IXTdataset_2d.
EXAMPLE:
>>wwout = tan(ww)
- Output object is the same type as input object
- Each signal in the output object will be the tan of each signal in the input object
- Error data is recalculated accordingly
- All other elements of the output object are the same as the input object
Arrays of Datasets
If an array is given, then the operation is performed on each member of the array in turn.
EXAMPLE:
>> wnew = exp(w)
will return
wnew(i).signal(j) = exp(w(i).signal(j))