package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=452d8491527aea21f2cbb11defcc14ba0daf9fdb6bdb9fc0af73e56eac57b916
sha512=1993cd45c4c7fe124ca6e157f07d17ec50fab5611b270a434ed1b7fb2910aa85a8e6eaaa77dad770430710aafb2f6d676c774dd33942d921f23e2f9854486551
doc/goblint.lib/Goblint_lib/VectorMatrix/index.html
Module Goblint_lib.VectorMatrix
OCaml implementations of vectors and matrices.
module Array = Batteries.Arraymodule M = Messagesmodule type RatOps = sig ... endAbstracts the functions of the Mpqf module for rationals from Apron that implements multi-precision rationals. One could later exchange "Mpqf" with a different module that provides the functions specified by this interface.
module ConvenienceOps (A : RatOps) : sig ... endIt provides more readable infix operators for the functions of RatOps. It is designed to be included by modules that make use of RatOps's functions.
module type Vector = sig ... endHigh-level abstraction of a vector.
module type AbstractVector = functor (A : RatOps) -> sig ... endSome functions inside have the suffix _with, which means that the function has side effects.
module type Matrix = sig ... endHigh-level abstraction of a matrix.
module type AbstractMatrix =
functor (A : RatOps) ->
functor (V : AbstractVector) ->
sig ... endSome functions inside have the suffix _with, which means that the function has side effects.
module ArrayVector : AbstractVectorArray-based vector implementation.
module ArrayMatrix : AbstractMatrixArray-based matrix implementation. It provides a normalization function to reduce a matrix into reduced row echelon form. Operations exploit that the input matrix/matrices are in reduced row echelon form already.