Next: spy, Previous: spsum, Up: Function Reference
Sum of squares of elements along dimension dim. If dim is omitted, it defaults to 1 (column-wise sum of squares). This function is equivalent to computing
spsum (x .* spconj (x), dim)but it uses less memory and avoids calling
spconj
if x is real.See also: spprod, spsum.