Difference between revisions of "Elementary Functions"

From LIBISIS
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]].  
  
These functions are
 
  
<pre>>> wnew = log(w)  
+
'''''EXAMPLE:'''''
>> wnew = exp(w)
+
 
>> wnew = sin(w)
+
<pre>>>wwout = tan(ww)</pre>
>> wnew = cos(w)
+
 
>> wnew = tan(w)
+
* Output object is the same type as input object
>> wnew = sinh(w)
+
* Each signal in the output object will be the tan of each signal in the input object
>> wnew = cosh(w)
+
* Error data is recalculated accordingly
>> wnew = tanh(w)</pre>
+
* All other elements of the output object are the same as the input object
 +
 
  
where w is an [[IXTdataset_1d]] or [[IXTdataset_2d]]. Here the operation is performed on every signal value in the dataset.
 
  
 
==Arrays of Datasets==
 
==Arrays of Datasets==
Line 19: Line 18:
  
  
''' example: '''
+
'''''EXAMPLE:'''''
  
>> '''wnew''' = exp('''w''')
+
<pre>>> wnew = exp(w)</pre>
  
  
will be handled as
+
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))