Function optimization_engine::matrix_operations::is_finite
source · pub fn is_finite<T>(a: &[T]) -> boolwhere
T: Float,
Expand description
Checks whether all elements of a vector are finite
§Returns
Returns true
if all elements are finite and false
if any
of the elements are either NaN or Infinity