[ILNumerics numpy Module]
Namespace: ILNumerics
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
public static RetArray<long> nanargmax( this ConcreteArray<double, Array<double>, InArray<double>, OutArray<double>, RetArray<double>, Storage<double>> A, Nullable<int> axis = null, OutArray<double> values = null )
Parameters
- A
- Type: ILNumerics.Core.Arrays.ConcreteArray<Double, Array<Double>, InArray<Double>, OutArray<Double>, RetArray<Double>, Storage<Double>>
Array to compute the indices for. This is not altered. - axis (Optional)
- Type: System.Nullable<Int32>
[Optional] The working dimension. Default: (null) finds the maximum of the whole array. - values (Optional)
- Type: ILNumerics.OutArray<Double>
[Optional] Returns the maximum values found from A also. Default: (null) maximum values are not returned.
Return Value
Type: RetArray<Int64>Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArray<Double, Array<Double>, InArray<Double>, OutArray<Double>, RetArray<Double>, Storage<Double>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Negative dimension specifier 'axis' will be shifted into the range of valid dimension indices. -1 corresponds to the last dimension.
argmax(ConcreteArray<Double, Array<Double> , InArray<Double> , OutArray<Double> , RetArray<Double> , Storage<Double> > , Nullable<Int32> , OutArray<Double> ) prioritizes NaN values over non-NaN values. I.e.: if any of the elements is NaN the respective result value will be NaN also. Conversely, nanargmax(ConcreteArray<Double, Array<Double>, InArray<Double>, OutArray<Double>, RetArray<Double>, Storage<Double>>, Nullable<Int32>, OutArray<Double>), ignores NaN values and gives the maximum among the non-NaN values, if possible. This corresponds to the behavior of ILNumerics version 4, Matlab(R) a.s.f.
See max(BaseArray<Double> , OutArray<Int64> , Int32, Boolean) for details.
[ILNumerics numpy Module]