Namespaces | Functions
simple.hpp File Reference

Simple math functions. More...

#include <cmath>
Include dependency graph for simple.hpp:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

Simple math functions.

Definition in file simple.hpp.



ecl_math
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 21:17:37