powered by
Norm of an onionic vector: the modulus and its square
# 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)
Onionic vector
A real vector
# NOT RUN { a <- roct(5) Norm(a) Mod(a) # }
Run the code above in your browser using DataLab