Julia Programming Language
How to obtain the diagonal vector of a Diagonal matrix without allocations?
General Usage
question
,
linearalgebra
jishnub
October 14, 2021, 6:37pm
2
Evidently
parent
returns this
julia> parent(D) 3:4
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Problems with Diagonal from LinearAlgebra
General Usage
question
,
package
,
linearalgebra
11
2899
July 17, 2019
Get the diagonal of a matrix
General Usage
question
6
1148
January 3, 2024
Can views function on diag?
General Usage
linearalgebra
,
views
,
feature-request
3
123
May 13, 2025
How to query elements in a matrix diagonal to a given point
Numerics
linearalgebra
8
6006
May 11, 2020
Possible speedup in matrix-diagonal products?
Performance
linearalgebra
,
matrices
6
689
May 7, 2025