Skip to content

Using a constant rhs in @tensor #111

@feanor12

Description

@feanor12

Is it possible to assign a constant using the @tensor macro?

Example:

C=zeros(3,3,3)
@tensor begin
    C[i,i,i] = 6
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions