Skip to contents

A function to normalize a matrix

Usage

.normalizer(mat, normal = NULL)

Arguments

mat

A matrix

normal

A scalar to normalize the matrix. Default is the number of rows of the matrix

Value

A matrix normalized so that its inner product is \(normal*I_n\)