/// <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);
/// <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);