onion (version 1.2-7)

Norm: Norm and modulus of an onionic vector

Description

Norm of an onionic vector: the modulus and its square

Usage

# S3 method for onion
Norm(z)
# S3 method for onion
Mod(z)
# S3 method for onion
Mod(z) <- value
# S3 method for onion
sign(x)

Arguments

x,z

Onionic vector

value

A real vector

Examples

Run this code
# NOT RUN {
a <- roct(5)
Norm(a)
Mod(a)
# }

Run the code above in your browser using DataCamp Workspace