[−][src]Function arrayfire::sum_nan
pub fn sum_nan<T>(
input: &Array<T>,
dim: i32,
nanval: f64
) -> Array<T::AggregateOutType> where
T: HasAfEnum,
T::AggregateOutType: HasAfEnum,
Sum along specific dimension using user specified value instead of NAN values
Sum values of the input Array along dim dimension after replacing any NAN values in the
Array with the value of the parameter nanval.
Parameters
inputis the input Arraydimis reduction dimensionnanvalis value with which all theNANvalues of Array are replaced with
Return Values
Array that is reduced along given dimension via addition operation