Difference between revisions of "Elementary Functions"

From LIBISIS
Jump to navigation Jump to search
 
Line 20: Line 20:
  
 
''' example: '''
 
''' example: '''
 +
  
 
>> '''wnew''' = exp('''w''')
 
>> '''wnew''' = exp('''w''')
Line 25: Line 26:
  
 
will be handled as
 
will be handled as
 +
  
 
'''wnew(i)'''.signal(j) = exp('''w(i)'''.signal(j))
 
'''wnew(i)'''.signal(j) = exp('''w(i)'''.signal(j))

Revision as of 14:53, 17 March 2008

The elementary functions are those which act on all the signal data contained in an IXTdataset_1d or IXTdataset_2d.

These functions are

>> wnew = log(w) 
>> wnew = exp(w)
>> wnew = sin(w)
>> wnew = cos(w)
>> wnew = tan(w)
>> wnew = sinh(w)
>> wnew = cosh(w)
>> wnew = tanh(w)

where w is an IXTdataset_1d or IXTdataset_2d. Here the operation is performed on every signal value in the dataset.

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 be handled as


wnew(i).signal(j) = exp(w(i).signal(j))