Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • W wendelin.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Kirill Smelkov
  • wendelin.core
  • Repository
  • wendelin.core
  • bigarray
  • tests
  • test_basic.py
Find file BlameHistoryPermalink
  • Kirill Smelkov's avatar
    bigarray: Add support for FORTRAN ordering · ab9ca2df
    Kirill Smelkov authored Nov 02, 2015
    Until now BigArrays could use only C-style ordering - where major index
    is the first one.
    
    Fortran ordering is the opposite - where major index is the last one -
    and is used in Fortran world and sometimes by scientists in other areas.
    
    As people keep on asking for Fortran-ordered BigArrays, let's add
    support for it. The essential code change is to change 0'th index to
    major index in __getitem__ and rest of the code.
    
    For the reference: ndarray memory layout for different orders is
    described here:
    
        http://docs.scipy.org/doc/numpy/reference/arrays.ndarray.html#internal-memory-layout-of-an-ndarray
    ab9ca2df
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7