• Jason Rhinelander's avatar
    vectorize: trivial handling for F-order arrays · b0292c1d
    Jason Rhinelander authored
    This extends the trivial handling to support trivial handling for
    Fortran-order arrays (i.e. column major): if inputs aren't all
    C-contiguous, but *are* all F-contiguous, the resulting array will be
    F-contiguous and we can do trivial processing.
    
    For anything else (e.g. C-contiguous, or inputs requiring non-trivial
    processing), the result is in (numpy-default) C-contiguous layout.
    b0292c1d
test_numpy_vectorize.cpp 2.4 KB