I.4.4.1 “deriveScalToScal” method
“deriveScalToScal” method builds a new Result object by performing an operation on all the values of
the Result object to which it is applied. Both Result objects correspond to scalar values. The Possible
values of the “Method” argument are:
- “sin”: returns
(angle in radians).
- “cos”: returns
(angle in radians).
- “tan”: returns
(angle in radians).
- “asin”: returns
(angle in radians).
- “acos”: returns
(angle in radians).
- “atan”: returns
(angle in radians).
- “exp”: returns .
- “log”: returns .
- “exp10”: return .
- “log10”: returns .
- “abs”: returns .
- “inv”: returns .
- “sinh”: returns .
- “cosh”: returns .
- “tanh”: returns .
- “sq”: returns .
- “sqrt”: .
- “sgn”: +1, 0 or -1 depending on the value of argument (arg>0, arg==0 or arg<0
respectively).
The method works for Real Results as well as Complex Results. However, some of the methods are not
available for Complex Results: “asin”, “acos”, “atan” and “sgn” can be used with Real Results only.
Note that when used with a Complex Result object, the method returns a Complex Result object.
There is however one exception to this rule: the “abs” derivation method returns a Real
Result.