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
1798
February 10, 2023
How to extract the upper/lower triangular matrix values except the diagonal?
Statistics
matrix
4
419
April 15, 2024
Iterator over upper triangular part of Cartesian product?
General Usage
question
3
1382
June 18, 2021
Is there a clean one-liner to subset a vector of vectors?
New to Julia
question
,
indexing
,
arrays
6
611
December 7, 2023
How to translate this phyton code to julia with efficienty(short code,easy to read write)? What about a append!() symbol in julia to "concatenate" vector?
General Usage
question
,
proposal
10
877
November 27, 2018