Skip to content

Add k'th starting superdiagonal argument to LowerTriangular and UpperTriangular #1536

@cossio

Description

@cossio

tril(M, k) and triu(M, k) have an argument k controlling the starting superdiagonal index.

Currently LowerTriangular and UpperTriangular (which return views instead of copies) do not offer this option, and can only return triangular matrices that start at the main diagonal.

Consider adding an option k controlling starting diagonal index also for LowerTriangular and UpperTriangular.

Metadata

Metadata

Assignees

No one assigned

    Labels

    speculativeWhether the change will be implemented is speculative

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions