namespace
MathModule for general mathematical operations.
Classes
-
template<class Operator, class Vector>class LinearSystem
- Represents a linear system of equations.
-
template<class MatrixScalar, class VectorScalar>class LinearSystem<Math::Matrix<MatrixScalar>, Math::Vector<VectorScalar>>
- Linear system specialization for dense matrices.
-
template<class MatrixScalar, class VectorScalar>class LinearSystem<Math::SparseMatrix<MatrixScalar>, Math::Vector<VectorScalar>>
- Linear system specialization for sparse matrices.
- class LinearSystemBase
- Base class for linear systems of the form .
- class Rad
- Represents an angle in radians.
-
template<class Derived, class T>class Unit
- Base class for units.
Typedefs
-
template<class ScalarType>using Matrix = Eigen::Matrix<ScalarType, Eigen::Dynamic, Eigen::Dynamic>
- Dense scalar valued matrix type.
- using ComplexMatrix = Matrix<Complex>
- Dense complex valued matrix type.
-
template<class ScalarType>using SpatialMatrix = Eigen::Matrix<ScalarType, Eigen::Dynamic, Eigen::Dynamic, 0, RODIN_
MAXIMAL_ SPACE_ DIMENSION, RODIN_ MAXIMAL_ SPACE_ DIMENSION> - Spatial matrix.
-
using PointMatrix = Eigen::Matrix<Real, Eigen::Dynamic, Eigen::Dynamic, 0, RODIN_
MAXIMAL_ SPACE_ DIMENSION, Eigen::Dynamic> - Point matrix.
-
template<class ScalarType, size_t Rows, size_t Cols>using FixedSizeMatrix = Eigen::Matrix<ScalarType, Rows, Cols>
- Represents a fixed size matrix.
-
template<class ScalarType>using SparseMatrix = Eigen::SparseMatrix<ScalarType>
- Sparse matrix type.
-
template<class ScalarType>using Vector = Eigen::VectorX<ScalarType>
- Dense vector type.
Functions
-
template<class T>auto abs(const T& x) -> auto constexpr
- Computes the absolute value of a value of type T.
-
template<class T>auto sqrt(const T& x) -> auto constexpr
- Computes the square root of a value of type T.
-
template<class T>auto isNaN(const T& x) -> Boolean constexpr
- Determines if the floating point number is not-a-number (NaN).
-
template<class T>auto isInf(const T& x) -> Boolean constexpr
- Determines if the floating point number is positive or negative infinity.
Function documentation
template<class T>
auto Rodin:: Math:: abs(const T& x) constexpr
Computes the absolute value of a value of type T.
Template parameters | |
---|---|
T | Type of value |
Parameters | |
x in | Value |
Returns | Absolute of value |
template<class T>
auto Rodin:: Math:: sqrt(const T& x) constexpr
Computes the square root of a value of type T.
Template parameters | |
---|---|
T | Type of value |
Parameters | |
x in | Value |
Returns | Square root of value |