package slap

  1. Overview
  2. Docs
A linear algebra library with static size checking for matrix operations

Install

Dune Dependency

Authors

Maintainers

Sources

v3.0.1.tar.gz
sha256=e3bdbaad3574e8d7c4521821bf9f0a8f09284af31f16f69184dac65b6657d182
md5=6f237f6812b3f732b311d482528a39a7

doc/index.html

slap

API

Library slap

  • Slap A linear algebra library with type-based static size checking for matrix operations. SLAP (Sized Linear Algebra Package) helps debug of your programs by detecting dimensional inconsistency, e.g., addition of two- and three- dimensional vectors, at compile time (instead of runtime) and at higher level (i.e., at a caller site rather than somewhere deep inside of a call stack). This library is a wrapper of LACAML, a binding of widely-used linear algebra libraries BLAS (Basic Linear Algebra Subprograms) and LAPACK (Linear Algebra PACKage) in FORTRAN. Many functions are compatible with the interface of LACAML. You can make use of SLAP by referring Slap.Common and the module corresponding to the precision and the number type you need:
  • Slap_C Slap.C provides 32-bit complex BLAS and LAPACK functions.
  • Slap_D Slap.D provides 64-bit real BLAS and LAPACK functions.
  • Slap_S Slap.S provides 32-bit real BLAS and LAPACK functions.
  • Slap_Z Slap.Z provides 64-bit complex BLAS and LAPACK functions.
  • Slap_common Slap.Common contains definitions independent of the precision.
  • Slap_io Slap.Io provides pretty printers for vectors and matrices.
  • Slap_mat Slap.Mat provides operations on sized matrices.
  • Slap_misc Miscellaneous definitions.
  • Slap_size Slap.Size contains operations on sizes (the dimensions of vectors and matrices).
  • Slap_vec Slap.Vec provides operations on sized vectors.
  • Slap_version The version number of SLAP.

Library slap.ppx

  • Slap_ppx PPX syntactic extensions for SLAP. (This is a dummy module.)

Library slap.top

OCaml

Innovation. Community. Security.