The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Math::Symbolic::AuxFunctions - Auxiliary functions for Math::Symbolic hierarchy

SYNOPSIS

  use Math::Symbolic::AuxFunctions;
  
  Math::Symbolic::AuxFunctions::acos($x);
  # etc

DESCRIPTION

This module contains implementations of some auxiliary functions that are used within the Math::Symbolic hierarchy of modules. In particular, this module holds all trigonometric functions used for numeric evaluation of trees by Math::Symbolic::Operator.

EXPORT

None. On purpose. If I wished this module would pollute others' namespaces, I'd have put the functions right where they're used.

TRIGONOMETRIC FUNCTIONS

tan

Computes the tangent sin(x) / cos(x).

cot

Computes the cotangent cos(x) / sin(x).

asin

Computes the arc sine asin(z) = -i log(iz + sqrt(1-z*z)). Above formula is for complex numbers.

acos

Computes the arc cosine acos(z) = -i log(z + sqrt(z*z-1)). Above formula is for complex numbers.

atan

Computes the arc tangent atan(z) = i/2 log((i+z) / (i-z)). Above formula is for complex numbers.

acot

Computes the arc cotangent ( atan( 1 / x ) ).

asinh

Computes the arc hyperbolic sine asinh(z) = log(z + sqrt(z*z+1))

acosh

Computes the arc hyperbolic cosine acosh(z) = log(z + sqrt(z*z-1)).

AUTHOR

Steffen Mueller, <symbolic-module at steffen-mueller dot net>

New versions of this module can be found on http://steffen-mueller.net or CPAN.

SEE ALSO

Math::Symbolic