package slap

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

Install

Dune Dependency

Authors

Maintainers

Sources

v4.1.1.tar.gz
sha256=93a320eefbb8a8d06c08804aea49df944fcbbe5142f58e9c38b66f4d8bc46c5d
md5=a982b3ef7e0a137d8f583a30065d8443

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.