IndexVal
Description
ITensors.IndexVal — TypeAn IndexVal represents an Index object set to a certain value.
Constructors
ITensors.IndexVal — MethodIndexVal(i::Index, n::Int)
IndexVal(iv::Pair{<:Index, Int})
(i::Index)(n::Int)Create an IndexVal from a pair of Index and Int.
Alternatively, you can use the syntax i(n).
Properties
NDTensors.ind — Methodind(iv::IndexVal)Return the Index of the IndexVal.
ITensors.val — Methodval(iv::IndexVal)Return the value of the IndexVal.
ITensors.isindequal — Methodisindequal(i::Index, iv::IndexVal)
isindequal(i::IndexVal, iv::Index)
isindequal(i::IndexVal, iv::IndexVal)Check if the Index and IndexVal have the same indices.