Difference between revisions of "Elementary Functions"

From LIBISIS
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]].  
  
These functions are
+
''''EXAMPLE:'''''
  
<pre>>> wnew = log(w)
+
<pre>>>wwout = tan(ww)</pre>
>> wnew = exp(w)
 
>> wnew = sin(w)
 
>> wnew = cos(w)
 
>> wnew = tan(w)
 
>> wnew = sinh(w)
 
>> wnew = cosh(w)
 
>> wnew = tanh(w)</pre>
 
  
where w is an [[IXTdataset_1d]] or [[IXTdataset_2d]]. Here the operation is performed on every signal value in the dataset.
+
* 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: '''
+
'''''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))