nrm2 function

Columnwise normalization of a matrix

Columnwise normalization of a matrix

Computation of a columnwise normalized version of a matrix.

nrm2(A)

Arguments

  • A: Matrix of any order

Returns

  • N: Matrix columnwise normalized

Author(s)

Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it

Henk A.L. Kiers h.a.l.kiers@rug.nl

Paolo Giordani paolo.giordani@uniroma1.it

See Also

Cc

Examples

X <- matrix(rnorm(6*3),ncol=3) Y <- nrm2(X) apply(Y^2, 2, sum)
  • Maintainer: Paolo Giordani
  • License: GPL (>= 2)
  • Last published: 2015-09-07

Useful links