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
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • 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