@csumsq |

Sum of the squared values in each column of a matrix.

Syntax: @csumsq(m)

m: matrix

Return: vector

Returns the sum of squared values for each column of m.

Examples

vector colsumsqs = @csumsq(m1)

computes the column sums-of-squares for matrix M1 and places them in COLSUMSQS.

Cross-references

See also
@colcumprod and
@colcumsum.