Template Function ecl::cube_root

Function Documentation

template<typename Scalar>
inline Scalar ecl::cube_root(const Scalar &x)

The real solution to a cube root.

Parameters

x – : scalar to test.

Template Parameters

Scalar – : a real numerical value

Returns

Scalar : real value solution to the cubic root