ILNumerics - Technical Application Development
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
[numpy API] Computes minimum elements along the specified dimension of A, recognizing NaNs.
[ILNumerics numpy Module]
Namespace: ILNumerics
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static RetArray<byte> min( this ConcreteArray<byte, Array<byte>, InArray<byte>, OutArray<byte>, RetArray<byte>, Storage<byte>> A, Nullable<int> axis = null, OutArray<long> indices = null )
Parameters
- A
- Type: ILNumerics.Core.ArraysConcreteArrayByte, ArrayByte, InArrayByte, OutArrayByte, RetArrayByte, StorageByte
Array to compute the minimum(s) for. This is not altered. - axis (Optional)
- Type: SystemNullableInt32
[Optional] The working dimension. Default: (null) finds the minimum within the whole array. - indices (Optional)
- Type: ILNumericsOutArrayInt64
[Optional] Also return the indices of the minimum values found from A. Default: (null) indices are not returned.
Return Value
Type: RetArrayByteUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArrayByte, ArrayByte, InArrayByte, OutArrayByte, RetArrayByte, StorageByte. 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).Remarks
Negative dimension specifier 'axis' will be shifted into the range of valid dimension indices. -1 corresponds to the last dimension.
min(ConcreteArrayByte, ArrayByte, InArrayByte, OutArrayByte, RetArrayByte, StorageByte, NullableInt32, OutArrayInt64) 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, min(BaseArrayByte, OutArrayInt64, Int32, Boolean), ignores NaN values and gives the minimum among the non-NaN values, if possible. This corresponds to the behavior of ILNumerics version 4, Matlab(R) a.s.f.
[ILNumerics numpy Module]
See Also
Reference
MathInternal.min(BaseArrayByte, OutArrayInt64, Int32, Boolean)
MathInternal.minall(ConcreteArrayByte, ArrayByte, InArrayByte, OutArrayByte, RetArrayByte, StorageByte, OutArrayInt64, StorageOrders, Boolean)
MathInternal.minall(ConcreteArrayByte, ArrayByte, InArrayByte, OutArrayByte, RetArrayByte, StorageByte, OutArrayInt64, StorageOrders, Boolean)