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.
template<int N, typename T>
ShGeneric< N, T > SH::cosh (const ShGeneric< N, T > &var)
 Hyperbolic cosine.
template<int N, typename T>
ShGeneric< N, T > SH::sinh (const ShGeneric< N, T > &var)
 Hyperbolic sine.
template<int N, typename T>
ShGeneric< N, T > SH::tanh (const ShGeneric< N, T > &var)
 Hyperbolic tangent.

Detailed Description

Todo:
inverse hyperbolic functions

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(), and ShUtil::ShObjMesh::generateSphericalTexCoords().

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.

Referenced by SH::asin().

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.

Referenced by SH::atan().

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.

Referenced by SH::atan2(), and ShUtil::ShObjMesh::generateSphericalTexCoords().

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.

Referenced by SH::cos(), and ShUtil::ShKernelLight::spotLight().

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

Hyperbolic cosine.

Operates componentwise on tuples. Returns the hypebolic cosine of x.

Definition at line 90 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.

Referenced by SH::sin().

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

Hyperbolic sine.

Operates componentwise on tuples. Returns the hyperbolic sine of x.

Definition at line 98 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.

Referenced by SH::tan().

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

Hyperbolic tangent.

Operates componentwise on tuples. Returns the hyperbolic tangent of x. Equivalent to sinh(x)/cosh(x).

Definition at line 106 of file ShLibTrigImpl.hpp.


Generated on Wed Jun 15 18:14:33 2005 for Sh by  doxygen 1.4.3-20050530