onion (version 1.2-7)

biggest: Returns the biggest type of a set of onions

Description

Returns the biggest type of a set of onions; useful for “promoting” a set of onions to the most general type.

Usage

biggest(...)

Arguments

Onionic vectors

Details

If any argument passed to biggest() is an octonion, then return the string “octonion”. Failing that, if any argument is a quaternion, return the string “quaternion”, and failing that, return “scalar”.

Examples

Run this code
# NOT RUN {
biggest(O1,rquat(100),1:4)
# }

Run the code above in your browser using DataLab