Unary Operations Interface

From LIBISIS
Revision as of 14:50, 3 April 2008 by Dean Whittaker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


The UnaryOperations can also be called through an interface. The subroutine which is called is determined by the class of the arguments.


The general calling syntax of the subroutine is (see below for further details):

call IXFoperation(result, object, status)


Operations

  • log - takes the natural logarithm of an object
  • exp - takes the exponential of an object
  • sin - takes the sine of an object
  • cos - takes the cosine of an object
  • tan - takes the tangent of an object
  • sinh - takes the hyperbolic sine of an object
  • cosh - takes the hyperbolic cosine of an object
  • tanh - takes the hyperbolic tangent of an object


Valid Classes

Classes for which operations are vaild and overloaded:



F90 syntax

use IXMclass
type(IXTclass)::object,result

type(IXTstatus)::status

call IXFoperation(result,object,status)


For example with operation=sinh class=dataset_1d


use IXMdataset_1d

type(IXTdataset_1d):: w1, wres
type(IXTstatus)::status

call IXFsinh(wres,w1,status)