norm: norm

normR Documentation

norm

Description

Compute matrix norm.

Usage

## S4 method for signature 'float32,ANY'
norm(x, type = c("O", "I", "F", "M", "2"))

Arguments

x

A float vector/matrix.

type

"O"-ne, "I"-nfinity, "F"-robenius, "M"-ax modulus, and "2" norms.

Value

A single float.

Examples

library(float)

s = flrunif(10, 3)
norm(s, type="O")


float documentation built on Feb. 16, 2023, 6:43 p.m.