marktensor.RdThis modifies the names of the dimensions in a simple and reversible way by adding a mark.
mark(X,mark,...)
# S3 method for class 'tensor'
mark(X,mark="'",i=1:level.tensor(X),...,by=NULL)
# S3 method for class 'numeric'
mark(X,mark="'",i=1:length(X),...,by=NULL)
# S3 method for class 'character'
mark(X,mark="'",i=1:length(X),...,by=NULL)A object similar to X but with marked dimensions.
The concept is very important in tensor algebra since it allows to keep dimensions connected without but still distinguishable. Eventually later a function for the Riemann summing rule will make use of marks to distinguish covariate and contravariate dimensions.