Skip to content

Documentation inconsistent with actual operations that exist #372

@AndreasChristophilopoulos

Description

I was going through the TensorKit tutorial, and I noticed a lot of the code in it doesn't work any more. For instance:

julia> U, S, Vd = tsvd(A, ((1,3), (2,)));
ERROR: UndefVarError: `tsvd` not defined in `Main`
Suggestion: check for spelling errors or missing imports.


julia> @tensor A′[a,b,c] := U[a,c,d] * S[d,e] * Vd[e,b];
ERROR: UndefVarError: `U` not defined in `Main`
Suggestion: check for spelling errors or missing imports.


julia> A ≈ A′
ERROR: UndefVarError: `A′` not defined in `Main`
Suggestion: check for spelling errors or missing imports.


julia> U
ERROR: UndefVarError: `U` not defined in `Main`
Suggestion: check for spelling errors or missing imports.

So the tsvd routine has clearly changed, and I can't quite figure out what it has changed into.... This has made it hard to follow the tutorial, so it would be nice if it were fixed.

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