klyn.math.NDArray.min
method
public min(axes as IList<Long>, keepDims as Boolean = false, ignoreNaN as Boolean = false, where as Boolean[] = null, result as NDArray<T> = null) as NDArray<T>
Description

Extreme values over several axes, retaining exact integer comparisons.

Parameters
ParameterDescription
axesDistinct axes; negative axes count from the end.
keepDimsRetain reduced dimensions with length one.
ignoreNaNSkip NaNs; otherwise retain the existing first-value ordering contract.
whereOptional flat Boolean selection mask.
resultOptional non-aliased output of the expected shape.
Returns

Reduced T tensor.

Throws
  • IndexException for an invalid axis.
  • ValueException for invalid mask/destination, duplicate axes or no observations.
Example

values = data.min(axes=[0l, 2l])