Description Usage Arguments Details Value Author(s) Examples
Methods for Arithmetic functions for jordans: +
,
-
, *
, /
, ^
z,e1,e2 |
Jordan objects or numeric vectors |
n |
Integer for powers |
... |
Further arguments (ignored) |
x,y |
Numeric vectors, Jordan objects in independent form |
The package implements the Arith
group of S4
generics so
that idiom like A + B*C
works as expected with jordans.
Functions like jordan_inverse()
and jordan_plus_jordan()
are low-level helper functions. The only really interesting operation
is multiplication; functions like jordan_prod_jordan()
.
Names are implemented and the rules are inherited (via
onion::harmonize_oo()
and onion::harmonize_on()
) from
rbind()
.
generally return jordans
Robin K. S. Hankin
1 2 3 | a <- rspin()
a[1] <- a[2]*7
a
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.