Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Trigonometric functions
[Library Functions]

Collaboration diagram for Trigonometric functions:


Functions

template<int N, typename T>
ShGeneric< N, T > SH::acos (const ShGeneric< N, T > &var)
 Arccosine.
template<int N, typename T>
ShGeneric< N, T > SH::asin (const ShGeneric< N, T > &var)
 Arcsine.
template<int N, typename T>
ShGeneric< N, T > SH::atan (const ShGeneric< N, T > &var)
 Arctangent.
template<int N, typename T>
ShGeneric< N, T > SH::atan2 (const ShGeneric< N, T > &y, const ShGeneric< N, T > &x)
 Arctangent of two variables.
template<int N, typename T>
ShGeneric< N, T > SH::cos (const ShGeneric< N, T > &var)
 Cosine.
template<int N, typename T>
ShGeneric< N, T > SH::sin (const ShGeneric< N, T > &var)
 Sine.
template<int N, typename T>
ShGeneric< N, T > SH::tan (const ShGeneric< N, T > &var)
 Tangent.

Detailed Description

Todo:
tan, atan, atan2, hyperbolic functions, secant, cosecant, etc.

Function Documentation

template<int N, typename T>
ShGeneric< N, T > SH::acos const ShGeneric< N, T > &  var  ) 
 

Arccosine.

Operates componentwise on tuples. A value of x in [-1, 1] gives a result in [0, pi]. Input values outside the range [-1,1] will give undefined results.

Definition at line 34 of file ShLibTrigImpl.hpp.

Referenced by SH::acos().

template<int N, typename T>
ShGeneric< N, T > SH::asin const ShGeneric< N, T > &  var  ) 
 

Arcsine.

Operates componentwise on tuples. A value of x in [-1, 1] gives a result in [-pi/2, pi/2]. Input values outside the range [-1,1] will give undefined results.

Definition at line 42 of file ShLibTrigImpl.hpp.

template<int N, typename T>
ShGeneric< N, T > SH::atan const ShGeneric< N, T > &  var  ) 
 

Arctangent.

Operates componentwise on tuples. Gives a result in [-pi/2, pi/2].

Definition at line 50 of file ShLibTrigImpl.hpp.

template<int N, typename T>
ShGeneric< N, T > SH::atan2 const ShGeneric< N, T > &  y,
const ShGeneric< N, T > &  x
 

Arctangent of two variables.

Operates componentwise on tuples of y/x. Gives a result in [-pi/2, pi/2].

Definition at line 58 of file ShLibTrigImpl.hpp.

template<int N, typename T>
ShGeneric< N, T > SH::cos const ShGeneric< N, T > &  var  ) 
 

Cosine.

Operates componentwise on tuples. Returns the cosine of x. Any value of x gives a result in the range [-1,1].

Definition at line 66 of file ShLibTrigImpl.hpp.

template<int N, typename T>
ShGeneric< N, T > SH::sin const ShGeneric< N, T > &  var  ) 
 

Sine.

Operates componentwise on tuples. Returns the sine of x. Any value of x gives a result in the range [-1,1].

Definition at line 74 of file ShLibTrigImpl.hpp.

template<int N, typename T>
ShGeneric< N, T > SH::tan const ShGeneric< N, T > &  var  ) 
 

Tangent.

Operates componentwise on tuples. Returns the tangent of x. Equivalent to sin(x)/cos(x).

Definition at line 82 of file ShLibTrigImpl.hpp.


Generated on Thu Apr 21 17:34:45 2005 for Sh by  doxygen 1.4.2