Julia Programming Language
Vector of upper triangle
General Usage
question
GunnarFarneback
December 14, 2017, 3:57pm
2
M[triu(trues(M))]
See also
Half Vectorization
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
How to get upper triangular values of a `Matrix`?
General Usage
matrices
2
2138
February 10, 2023
Nice way to iterate through a triangular matrix
General Usage
suggestions
10
1681
October 12, 2024
Iterating over elements of upper triangular matrix, but cartesian indices are needed
New to Julia
indexing
,
matrices
17
2977
July 17, 2023
Why is Matrix multiplication with an UpperTriangular slower than with normal Matrix?
Performance
matrices
2
504
June 30, 2021
mul!(::Matrix, ::Matrix, ::UpperTriangular) is really slow
Performance
linearalgebra
4
428
October 8, 2021