TENSELE {PTAk} | R Documentation |
Elementary Tensor product
Description
Computes the Tensor Product of a list of vectors (or matrices) according to a given order.
Usage
TENSELE(T,moins=NULL, asarray=TRUE,order=NULL,id=NULL)
Arguments
T |
a list like a |
moins |
if not |
asarray |
logical to specify the output form |
order |
if not |
id |
when |
Details
The tensor product of the vectors (or matrices) in the list T
is
computed, skipping or not the indexes in moins
, the output tensor is
either in tensor form or in vector form. The way the tensor product is done
follows order
.
Value
According to asarray
the value is either an array, or a vector
representing the tensor product of the vectors (not in moins), the dimension
in order[1]
running the slowest.
Author(s)
Didier G. Leibovici