Skip to content

[ENHANCEMENT] Define SparseArraysBase.OneElement/SparseArraysBase.oneelement #24

Closed
@mtfishman

Description

@mtfishman

Define a sparse array type with only one nonzero value, analogous to ITensors.onehot and FillArrays.OneElement.

The plan plan will be for ITensors.onehot to get deprecated in favor of SparseArraysBase.oneelement, which will be a named dims array wrapping a sparse SparseArraysBase.OneElement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions