pub fn product_nan<T>(
input: &Array<T>,
dim: i32,
nanval: f64
) -> Array<T::ProductOutType> where
T: HasAfEnum,
T::ProductOutType: HasAfEnum,
Product of elements along specific dimension using user specified value instead of NAN
values
Compute product of the values of the input
Array along dim
dimension after replacing any NAN
values in the Array with nanval
value.
input
is the input Arraydim
is reduction dimensionnanval
is value with which all the NAN
values of Array are replaced withArray that is reduced along given dimension via multiplication operation
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