norm {float}R 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")


[Package float version 0.3-2 Index]