[][src]Function opencv::core::cube_root

pub fn cube_root(val: f32) -> Result<f32>

Computes the cube root of an argument.

The function cubeRoot computes inline formula. Negative arguments are handled correctly. NaN and Inf are not handled. The accuracy approaches the maximum possible accuracy for single-precision data.

Parameters

  • val: A function argument.