zapsmall: Concatenation

Description Usage Arguments Details Value Author(s) Examples

Description

Zapping small components to zero

Usage

1
2
3
4
## S4 method for signature 'onion'
zapsmall(x,digits=getOption("digits"))
## S4 method for signature 'onionmat'
zapsmall(x,digits=getOption("digits"))

Arguments

x

An onion or onionmat

digits

integer indicating the precision to be used as in base::zapsmall()

Details

Uses base::zapsmall() to zap small elements to zero.

Value

An onion

Author(s)

Robin K. S. Hankin

Examples

1
2
3
4
5
6
7
zapsmall(as.octonion(0.01^(1:8),single=TRUE))


a <- roct(7)
x <- a^1/a
x
zapsmall(x)

onion documentation built on Feb. 11, 2021, 9:06 a.m.