# Advanced Tensor Arithmetic with Named Indices

## Documentation for package ‘tensorA’ version 0.36.2

- DESCRIPTION file.

## Help Pages

tensorA-package | The tensorA package for tensor arithmetic
$.tensor | Working with index sequences
%e% | Tensor multiplication with Einstein's convention, by summing over all equally named indices.
%e%.tensor | Tensor multiplication with Einstein's convention, by summing over all equally named indices.
%r% | Tensor multiplication with Riemann's convention
%r%.tensor | Tensor multiplication with Riemann's convention
*.tensor | Element-wise arithmetic operations +,-,*,/ with tensors
+.tensor | Element-wise arithmetic operations +,-,*,/ with tensors
-.tensor | Element-wise arithmetic operations +,-,*,/ with tensors
/.tensor | Element-wise arithmetic operations +,-,*,/ with tensors
add.tensor | Element-wise arithmetic operations +,-,*,/ with tensors
as.contravariate | Managing covariate and contravariate indices
as.contravariate.character | Managing covariate and contravariate indices
as.covariate | Managing covariate and contravariate indices
as.covariate.character | Managing covariate and contravariate indices
as.tensor | Coercion to a tensor
as.tensor.default | Coercion to a tensor
as.tensor.tensor | Coercion to a tensor
bind.tensor | A cbind/rbind for tensors
chol.tensor | Cholesky decomposition of a tensor
contraname | Managing covariate and contravariate indices
delta.tensor | Creates a Kronecker delta tensor
diag.tensor | Creates a "diagonal" tensor
diagmul.tensor | Multiplication of a tensor with a tensor given by its diagonal
dim<-.tensor | Getting and setting index and dimensionnames of a tensor
dimnames.tensor | Getting and setting index and dimensionnames of a tensor
dimnames<-.tensor | Getting and setting index and dimensionnames of a tensor
drag.tensor | Managing covariate and contravariate indices
einstein.tensor | Tensor multiplication with Einstein's convention, by summing over all equally named indices.
ftable.tensor | Pretty printing of tensors
inv.tensor | Inversion of a tensor as linear mapping from tensors to tensors
is.contravariate | Managing covariate and contravariate indices
is.contravariate.character | Managing covariate and contravariate indices
is.contravariate.numeric | Managing covariate and contravariate indices
is.contravariate.tensor | Managing covariate and contravariate indices
is.covariate | Managing covariate and contravariate indices
is.covariate.character | Managing covariate and contravariate indices
is.covariate.numeric | Managing covariate and contravariate indices
is.covariate.tensor | Managing covariate and contravariate indices
is.tensor | Checking for being a tensor
level.tensor | The level (number of indices) of a tensor
margin.tensor | Marginalization of tensors
mark | Marks the names of a tensor with a mark
mark.character | Marks the names of a tensor with a mark
mark.numeric | Marks the names of a tensor with a mark
mark.tensor | Marks the names of a tensor with a mark
mean.tensor | Mean and variance of tensors
mul.tensor | Tensor multiplication for the tensor class
names.tensor | Getting and setting index and dimensionnames of a tensor
names<-.tensor | Getting and setting index and dimensionnames of a tensor
norm | Calculate the Euclidean norm or Euclidean operator norm of a tensor or its subtensors
norm.tensor | Calculate the Euclidean norm or Euclidean operator norm of a tensor or its subtensors
one.tensor | Creates a tensor with all entries 1
opnorm | Calculate the Euclidean norm or Euclidean operator norm of a tensor or its subtensors
opnorm.tensor | Calculate the Euclidean norm or Euclidean operator norm of a tensor or its subtensors
pos.tensor | enumeration of index combinations
power.tensor | Compute the power of a symmetric tensor
renamefirst.tensor | Working with index sequences
reorder.tensor | Permutation of indices and storage sequence of a tensor
rep.tensor | Repeats a tensor
riemann.tensor | Tensor multiplication with Riemann's convention
slice.tensor | Working with the indices of a tensor (accessing, slicing, renaming, ...)
solve.tensor | Solving linear equations with tensors
svd.tensor | Singular value decomposition of tensors
Tensor | The tensorA package for tensor arithmetic
tensor | The tensorA package for tensor arithmetic
tensorA | The tensorA package for tensor arithmetic
to.matrix.tensor | The matrix corresponding to a tensor seen as a linear mapping of tensors.
to.tensor | Creates a tensor object
to.tensor.default | Creates a tensor object
toPos.tensor | get the position of an index of tensor
trace.tensor | Collapse a tensor
tripledelta.tensor | A tensor with entry 1 if and only if three indices are equal
undrop.tensor | Adds a spurious dimension to a tensor
untensor | Removes indices/dimensions from a tensor
var.tensor | Mean and variance of tensors
[.tensor | Working with the indices of a tensor (accessing, slicing, renaming, ...)
[<-.tensor | Working with the indices of a tensor (accessing, slicing, renaming, ...)
[[.tensor | Working with the indices of a tensor (accessing, slicing, renaming, ...)
[[<-.tensor | Working with the indices of a tensor (accessing, slicing, renaming, ...)
^.tensor | Working with index sequences
|.tensor | Working with index sequences