prod(x: array): number
Product of array elements.
Computes the product of elements in an array or matrix. Optionally, computes the product along a specified dimension.
x: array
The input array or matrix of values
prod(x: array,dim: 0): number
Product of array elements.
Computes the product of elements in an array or matrix. Optionally, computes the product along a specified dimension.
x: array
The input array or matrix of values
prod(x: array,dim: 1): number
Product of array elements.
Computes the product of elements in an array or matrix. Optionally, computes the product along a specified dimension.
x: array
The input array or matrix of values
prod(x: matrix,dim: 0): array
Product of array elements.
Computes the product of elements in an array or matrix. Optionally, computes the product along a specified dimension.
x: matrix
The input array or matrix of values
The product of the array elements, or an array of products if a matrix is provided
prod(x: matrix,dim: 1): array
Product of array elements.
Computes the product of elements in an array or matrix. Optionally, computes the product along a specified dimension.
x: matrix
The input array or matrix of values
The product of the array elements, or an array of products if a matrix is provided