nrm2: Columnwise normalization of a matrix

Description Usage Arguments Value Author(s) See Also Examples

View source: R/nrm2.R

Description

Computation of a columnwise normalized version of a matrix.

Usage

1
 nrm2(A)

Arguments

A

Matrix of any order

Value

N

Matrix columnwise normalized

Author(s)

Maria Antonietta Del Ferraro [email protected]
Henk A.L. Kiers [email protected]
Paolo Giordani [email protected]

See Also

Cc

Examples

1
2
3
X <- matrix(rnorm(6*3),ncol=3)
Y <- nrm2(X)
apply(Y^2, 2, sum)

Example output

[1] 1 1 1

ThreeWay documentation built on May 29, 2017, 11:52 p.m.

Related to nrm2 in ThreeWay...