frob {lmreg}R Documentation

Frobenius norm of a matrix

Description

Computes the Frobenius norm of a given matrix.

Usage

frob(M)

Arguments

M

Matrix whose Frobenius norm is to be computed.

Value

A scalar value, describing the Frobenius norm (positive square root of sum of squared elements) of M.

Author(s)

Debasis Sengupta <shairiksengupta@gmail.com>, Jinwen Qiu <qjwsnow_ctw@hotmail.com>

References

Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.

Examples

frob(matrix(2,3,2))

[Package lmreg version 1.2 Index]