Difference between revisions of "Elementary Functions"
Jump to navigation
Jump to search
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]]. | ||
− | + | ''''EXAMPLE:''''' | |
− | <pre>>> | + | <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 | ||
+ | * All other elements of the output object are the same as the input object | ||
==Arrays of Datasets== | ==Arrays of Datasets== | ||
Line 19: | Line 14: | ||
− | ''' | + | '''''EXAMPLE:''''' |
− | + | <pre>>> '''wnew''' = exp('''w''')</pre> | |
− | >> '''wnew''' = exp('''w''') | ||
will return | will return | ||
− | |||
'''wnew(i)'''.signal(j) = exp('''w(i)'''.signal(j)) | '''wnew(i)'''.signal(j) = exp('''w(i)'''.signal(j)) |
Revision as of 15:17, 18 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
- 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))