예제 #1
0
파일: np.math.cs 프로젝트: lulzzz/NumSharp
 /// <summary>
 /// Return the product of array elements over a given axis.
 /// </summary>
 public static NDArray prod(NDArray nd, int axis = -1, Type dtype = null)
 => nd.prod(axis, dtype);
예제 #2
0
 /// <summary>
 /// Return the product of array elements over a given axis.
 /// </summary>
 /// <remarks>https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.prod.html</remarks>
 public static NDArray prod(NDArray nd, int axis = -1, Type dtype = null) //todo impl a version with keepdims
 => nd.prod(axis, dtype);