package slap

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

Install

Dune Dependency

Authors

Maintainers

Sources

v4.0.0.tar.gz
sha256=8de0d6e7be2e47fe2e1447a1a5f99b42cbbd7e0524f163d1addf9b156337ec27
md5=6e3068a3d425ffaee22f7dacf7d6cece

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_D
  • Slap_S
  • Slap_Z
  • 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.