Cheetah Software
1.0
|
Utility functions for math. More...
#include <eigen3/Eigen/Dense>
Go to the source code of this file.
Functions | |
template<typename T > | |
T | square (T a) |
template<typename T , typename T2 > | |
bool | almostEqual (const Eigen::MatrixBase< T > &a, const Eigen::MatrixBase< T > &b, T2 tol) |
Utility functions for math.
Definition in file MathUtilities.h.
bool almostEqual | ( | const Eigen::MatrixBase< T > & | a, |
const Eigen::MatrixBase< T > & | b, | ||
T2 | tol | ||
) |
Are two eigen matrices almost equal?
Definition at line 23 of file MathUtilities.h.
T square | ( | T | a | ) |
Square a number
Definition at line 15 of file MathUtilities.h.