linear {evitaicossa} | R Documentation |
Linear functions
Description
Linear functions returning single, double, or triple-symbol aaa
objects.
Usage
linear1(x)
linear2(x)
linear3(x)
Arguments
x |
A numeric vector |
Details
These functions return an antiassociative algebra element with the
specified coefficients. Given a numeric vector v
with elements
then
linear1(v)
returns , where
is the
letter of the alphabet. Similarly,
linear2(v)
returns , and
linear3(v)
returns
. They are linear in
the sense that
where and
.
Value
These functions return an object of class aaa
.
Author(s)
Robin K. S. Hankin
Examples
linear1(sample(8))
linear2(sample(8))
linear3(sample(8))
a <- 3
b <- 7
x <- sample(9)
y <- sample(9)
linear1(a*x + b*y) == a*linear1(x) + b*linear1(y)
linear2(a*x + b*y) == a*linear2(x) + b*linear2(y)
linear3(a*x + b*y) == a*linear3(x) + b*linear3(y)
[Package evitaicossa version 0.0-1 Index]