Math_TrigOp
[ class tree: Math_TrigOp ] [ index: Math_TrigOp ] [ all elements ]

Class: Math_TrigOp

Source Location: /Math_TrigOp-1.0/TrigOp.php

Class Overview


Static class implementing supplementary trigonometric functions


Author(s):

Version:

  • 1.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 40]
Static class implementing supplementary trigonometric functions

Example of use:

$cot = Math_TrigOp::cot(0.3445); $x = Math_TrigOp::acsch(-0.231);

Originally this class was part of NumPHP (Numeric PHP package)



[ Top ]


Method Detail

acoth   [line 191]

mixed acoth( float $x)

Calculates the inverse hyperbolic cotangent of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

acsch   [line 173]

mixed acsch( float $x)

Calculates the inverse hyperbolic cosecant of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

asech   [line 157]

mixed asech( float $x)

Calculates the inverse hyperbolic secant of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

cot   [line 85]

mixed cot( float $x)

Calculates the cotangent of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

coth   [line 138]

mixed coth( float $x)

Calculates the hyperbolic cotangent of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

csc   [line 68]

mixed csc( float $x)

Calculates the cosecant of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

csch   [line 121]

mixed csch( float $x)

Calculates the hyperbolic cosecant of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

sec   [line 51]

mixed sec( float $x)

Calculates the secant of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]

sech   [line 104]

mixed sech( float $x)

Calculates the hyperbolic secant of the parameter
  • Return: A floating point on success, PEAR_Error object otherwise
  • Access: public

Parameters:

float   $x     

[ Top ]


Documentation generated on Fri, 30 Apr 2004 21:51:46 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.