zeroTensor format
zeroTensor(R, format)
This method constructs a tensor with the specified format and fills it with zeros from the given ring. Internally, it uses a hash table where each key is a multi-index (a list of positions). Metadata such as the format, coefficient ring, and index set are stored in the tensor as well. It is useful for defining a custom tensor.
|
|
|
|
|
|
|
The object zeroTensor is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/GameTheory.m2:1068:0.