[ENHANCEMENT] Define SparseArraysBase.OneElement
/SparseArraysBase.oneelement
#24
Labels
enhancement
New feature or request
Define a sparse array type with only one nonzero value, analogous to
ITensors.onehot
andFillArrays.OneElement
.The plan plan will be for
ITensors.onehot
to get deprecated in favor ofSparseArraysBase.oneelement
, which will be a named dims array wrapping a sparseSparseArraysBase.OneElement
.The text was updated successfully, but these errors were encountered: