@hackage ox-arrays0.1.0.0

An efficient CPU-based multidimensional array (tensor) library

  • Installation

  • Dependencies (13)

  • Dependents (0)

  • Package Flags

      trace-wrappers
       (off by default)

      Compile modules that define wrappers around the array methods that trace their arguments and results. This is conditional on a flag because these modules make documentation generation fail. (https://gitlab.haskell.org/ghc/ghc/-/issues/24964 , should be fixed in GHC 9.12)

      nonportable-simd
       (off by default)

      Assume the binary will be run on the same CPU as where it is built. Setting this flag causes `-march=native` to be passed to the C compiler when compiling arithmetic operations. The result is generally much faster arithmetic operations, but the executable is much less portable to different computers.

      pedantic-c-warnings
       (off by default)

      Compile embedded C code with a high warning level. Only useful for ox-arrays developers.

      default-show-instances
       (off by default)

      Use default GHC-derived Show instances for arrays, shapes and indices. This exposes the internal struct-of-arrays representation and is less readable, but can be useful for ox-arrays debugging.

An efficient and richly typed CPU-based multidimensional array (tensor) library built upon the optimized tensor representation (strides list) implemented in the orthotope package. See the README.

If you use this package: let me know (e.g. via email) if you find it useful! Both positive feedback (keep this!) and negative feedback (I needed this but ox-arrays doesn't provide it) is welcome.