Janus 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 "janus/core/JanusConcepts.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  janus

Functions

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