Simple math functions. More...
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | ecl |
Embedded control libraries. | |
Functions | |
template<typename Scalar > | |
Scalar | ecl::cube_root (const Scalar &x) |
The real solution to a cube root. | |
template<typename Scalar > | |
int | ecl::nsign (const Scalar &x) |
A sign function for numerical values (negative return if arg is zero). | |
template<typename Scalar > | |
int | ecl::psign (const Scalar &x) |
A sign function for numerical values (positive return if arg is zero). | |
template<typename Scalar > | |
int | ecl::sign (const Scalar &x) |
A sign function for numerical values. |
Simple math functions.
Definition in file simple.hpp.