- Main Page
- Modules
- Namespaces
- Classes
- Files

Functions

# GLM_GTX_reciprocal: Reciprocal

GTX Extensions (Experimental)

Define secant, cosecant and cotangent functions. More...

## Functions
template<typename genType >
genType | acot (genType const &x)
| Inverse cotangent function.
template<typename genType >
genType | acoth (genType const &x)
| Inverse cotangent hyperbolic function.
template<typename genType >
genType | acsc (genType const &x)
| Inverse cosecant function.
template<typename genType >
genType | acsch (genType const &x)
| Inverse cosecant hyperbolic function.
template<typename genType >
genType | asec (genType const &x)
| Inverse secant function.
template<typename genType >
genType | asech (genType const &x)
| Inverse secant hyperbolic function.
template<typename genType >
genType | cot (genType const &angle)
| Cotangent function.
template<typename genType >
genType | coth (genType const &angle)
| Cotangent hyperbolic function.
template<typename genType >
genType | csc (genType const &angle)
| Cosecant function.
template<typename genType >
genType | csch (genType const &angle)
| Cosecant hyperbolic function.
template<typename genType >
genType | sec (genType const &angle)
| Secant function.
template<typename genType >
genType | sech (genType const &angle)
| Secant hyperbolic function.

## Detailed Description

Define secant, cosecant and cotangent functions.

<glm/gtx/reciprocal.hpp> need to be included to use these functionalities.

## Function Documentation

genType glm::gtx::reciprocal::acot | ( | genType const & | x | ) |

Inverse cotangent function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::acoth | ( | genType const & | x | ) |

Inverse cotangent hyperbolic function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::acsc | ( | genType const & | x | ) |

Inverse cosecant function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::acsch | ( | genType const & | x | ) |

Inverse cosecant hyperbolic function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::asec | ( | genType const & | x | ) |

Inverse secant function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::asech | ( | genType const & | x | ) |

Inverse secant hyperbolic function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::cot | ( | genType const & | angle | ) |

Cotangent function.

adjacent / opposite or 1 / tan(x) From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::coth | ( | genType const & | angle | ) |

Cotangent hyperbolic function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::csc | ( | genType const & | angle | ) |

Cosecant function.

hypotenuse / opposite or 1 / sin(x) From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::csch | ( | genType const & | angle | ) |

Cosecant hyperbolic function.

From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::sec | ( | genType const & | angle | ) |

Secant function.

hypotenuse / adjacent or 1 / cos(x) From GLM_GTX_reciprocal extension.

genType glm::gtx::reciprocal::sech | ( | genType const & | angle | ) |

Secant hyperbolic function.

From GLM_GTX_reciprocal extension.