Beispiel #1
0
 public NDArray amin(int axis, bool keepdims = false, Type dtype = null)
 {
     return(TensorEngine.AMin(this, axis, dtype, keepdims));
 }
Beispiel #2
0
 public NDArray amin(Type dtype = null)
 {
     return(TensorEngine.AMin(this, null, dtype?.GetTypeCode(), false));
 }
Beispiel #3
0
 /// <summary>
 ///     Return the minimum of an array or minimum along an axis.
 /// </summary>
 /// <typeparam name="T">The expected return type, cast will be performed if necessary.</typeparam>
 /// <returns>Minimum of a. If axis is None, the result is a scalar value. If axis is given, the result is an array of dimension a.ndim - 1.</returns>
 /// <remarks>https://docs.scipy.org/doc/numpy/reference/generated/numpy.amin.html</remarks>
 public T amin <T>() where T : unmanaged
 {
     return(np.asscalar <T>(TensorEngine.AMin(this, null, typeof(T).GetTypeCode(), false)));
 }