VOOZH about

URL: https://www.geeksforgeeks.org/julia/getting-tuple-or-range-of-the-valid-indices-in-julia-axes-method/

⇱ Getting tuple or range of the valid indices in Julia - axes() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Getting tuple or range of the valid indices in Julia - axes() Method

Last Updated : 12 Jul, 2025
The axes() is an inbuilt function in julia which is used to return the tuple or valid range of valid indices for specified array.
Syntax: axes(A) or axes(A, d) Parameters:
  • A: Specified array.
  • d: Specified dimension.
Returns: It returns the tuple or valid range of valid indices for specified array.
Example 1: Output: 👁 Image
  Example 2: Output: 👁 Image
Comment