Apocrypha

zfp

Compressed numerical arrays that support high-speed random access

zfp is a compressed format for representing multidimensional floating-point and integer arrays. zfp provides compressed-array classes that support high throughput read and write random access to individual array elements. zfp also supports serial and parallel (OpenMP and CUDA) compression of whole arrays, e.g., for applications that read and write large data sets to and from disk. zfp uses lossy but optionally error-bounded compression to achieve high compression ratios. Bit-for-bit lossless compression is also possible through one of zfp's compression modes. zfp works best for 2D, 3D, and 4D arrays that exhibit spatial correlation, such as continuous fields from physics simulations, natural images, regularly sampled terrain surfaces, etc. zfp compression of 1D arrays is possible but generally discouraged. zfp is freely available as open source and is distributed under a BSD license. zfp is primarily written in C and C++ but also includes Python and Fortran bindings. zfp conforms to various language standards, including C89, C99, C11, C++98, C++11, and C++14, and is supported on Linux, macOS, and Windows.

Available in

OverlayNewestEbuildsLast activity
guru gitweb ↗ 1.0.1 1 47 h details ›

Versions & arches

VersionOverlay amd64 Committed
1.0.1 guru amd64 testing view · download · history ↗

Use flags of 1.0.1

  • aligned Enable aligned memory allocation
  • cfp Build CFP arrays library
  • fasthash Use a faster but more collision prone hash function
  • examples Build Examples
  • fortran Build Fortran library
  • openmp Enable OpenMP parallel compression
  • profile Add support for software performance analysis (will likely vary from ebuild to ebuild)
  • python Add optional support/bindings for the Python language
  • strided Enable strided access for progressive zfp streams
  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • twoway Use two-way skew-associative cache
  • +utilities Build command line utilities
1 expansion flags (python targets, ABIs, cpu flags…)
  • +python_single_target_python3_12

Runtime dependencies of 1.0.1

show 6 lines
python? (
python_single_target_python3_12? (
)
)