Metis 2.0.0
High-performance C++20 dual-mode numerical framework
Loading...
Searching...
No Matches
Trig.hpp File Reference

Trigonometric and inverse trigonometric functions. More...

#include "metis/core/MetisConcepts.hpp"
#include <Eigen/Dense>
#include <cmath>
Include dependency graph for Trig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  metis

Functions

template<MetisScalar T>
metis::sin (const T &x)
 Computes sine of x.
template<typename Derived>
auto metis::sin (const Eigen::MatrixBase< Derived > &x)
 Computes sine element-wise for a matrix.
template<MetisScalar T>
metis::cos (const T &x)
 Computes cosine of x.
template<typename Derived>
auto metis::cos (const Eigen::MatrixBase< Derived > &x)
 Computes cosine element-wise for a matrix.
template<MetisScalar T>
metis::tan (const T &x)
 Computes tangent of x.
template<typename Derived>
auto metis::tan (const Eigen::MatrixBase< Derived > &x)
 Computes tangent element-wise for a matrix.
template<MetisScalar T>
metis::asin (const T &x)
 Computes arc sine of x.
template<typename Derived>
auto metis::asin (const Eigen::MatrixBase< Derived > &x)
 Computes arc sine element-wise for a matrix.
template<MetisScalar T>
metis::acos (const T &x)
 Computes arc cosine of x.
template<typename Derived>
auto metis::acos (const Eigen::MatrixBase< Derived > &x)
 Computes arc cosine element-wise for a matrix.
template<MetisScalar T>
metis::atan (const T &x)
 Computes arc tangent of x.
template<typename Derived>
auto metis::atan (const Eigen::MatrixBase< Derived > &x)
 Computes arc tangent element-wise for a matrix.
template<MetisScalar T>
metis::atan2 (const T &y, const T &x)
 Computes arc tangent of y/x using signs of both arguments.
template<MetisScalar T>
metis::asinh (const T &x)
 Computes inverse hyperbolic sine of x.
template<typename Derived>
auto metis::asinh (const Eigen::MatrixBase< Derived > &x)
 Computes inverse hyperbolic sine element-wise for a matrix.
template<MetisScalar T>
metis::acosh (const T &x)
 Computes inverse hyperbolic cosine of x.
template<typename Derived>
auto metis::acosh (const Eigen::MatrixBase< Derived > &x)
 Computes inverse hyperbolic cosine element-wise for a matrix.
template<MetisScalar T>
metis::atanh (const T &x)
 Computes inverse hyperbolic tangent of x.
template<typename Derived>
auto metis::atanh (const Eigen::MatrixBase< Derived > &x)
 Computes inverse hyperbolic tangent element-wise for a matrix.

Detailed Description

Trigonometric and inverse trigonometric functions.

See also
Arithmetic.hpp