A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://arrayfire.github.io/arrayfire-rust/arrayfire/fn.sum_nan_all.html below:

arrayfire::sum_nan_all - Rust

[−][src]Function arrayfire::sum_nan_all
pub fn sum_nan_all<T>(
    input: &Array<T>,
    val: f64
) -> (<<T as HasAfEnum>::AggregateOutType as HasAfEnum>::BaseType, <<T as HasAfEnum>::AggregateOutType as HasAfEnum>::BaseType) where
    T: HasAfEnum,
    <T as HasAfEnum>::AggregateOutType: HasAfEnum,
    <<T as HasAfEnum>::AggregateOutType as HasAfEnum>::BaseType: HasAfEnum + Fromf64

Sum all values using user provided value for NAN

Sum all the values of the input Array after replacing any NAN values with val.

A tuple of summation result.

Note: For non-complex data type Arrays, second value of tuple is zero.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4