phi {stokes} | R Documentation |
Elementary tensors
Description
Creates the elementary tensors or tensor products of elementary tensors
Usage
phi(n)
Arguments
n |
Vector of strictly non-negative integers |
Details
If v_1,\ldots,v_n
is the standard basis for
\mathbb{R}^n
then \phi_i
is defined so
that \phi_i(v_j)=\delta_{ij}
. phi(n)
returns
\phi_n
.
If n
is a vector of strictly positive integers, then
phi(n)
returns the tensor cross product of \phi
applied to the individual elements of n
[which is a lot
easier and more obvious than it sounds].
Note
There is a vignette, phi
Author(s)
Robin K. S. Hankin
Examples
phi(6)
phi(6:8)
v <- sample(9)
phi(v) == Reduce("%X%",sapply(v,phi))
[Package stokes version 1.2-3 Index]