Julia Programming Language
How to convert CartesianIndex{N} values to Int64
General Usage
question
GunnarFarneback
September 18, 2018, 10:13am
6
Just extract it with normal indexing?
julia> CartesianIndex(1,20)[2] 20
6 Likes
How to return the index of element in Array in Integer not CartesianIndex?
show post in topic
Related topics
Topic
Replies
Views
Activity
Is it possible use a Vector of CartesianIndex to select data on a matrix?
New to Julia
cartesianindices
15
454
July 30, 2023
How to convert CartesianIndex to integer
General Usage
2
949
April 22, 2020
PSA: replacement of ind2sub/sub2ind in Julia 0.7+
General Usage
indexing
35
11560
January 29, 2019
Accessing one element of an array of Cartesian Indexes
New to Julia
10
3554
October 16, 2018
Mapping Linear Indices to Cartesian Indices
General Usage
question
5
119
July 2, 2025