Descriptive statistics and computation#

Descriptive statistics#

Computation#

cumprodc

Computes the cumulative products of the columns of a matrix.

cumsumc

Computes the cumulative sums of the columns of a matrix.

prodc

Computes the products of all elements in each column of a matrix.

prodr

Computes the products of all elements in each row of a matrix.

sumc

Computes the sum of each column of a matrix or the sum across the second-fastest moving dimension of an L-dimensional array.

sumr

Computes the sum of each row of a matrix or the sum of the fastest moving dimension of an L-dimensional array.

maxindc

Returns a column vector containing the index (i.e., row number) of the maximum element in each column of a matrix.

minindc

Returns a column vector containing the index (i.e., row number) of the smallest element in each column of a matrix.