package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=99b78e6def71534d195eef9084baa26d8334b36084e120aa6afb300c9bf8afa6
sha512=f3162bd95a03c00358a2991f6152fc6169205bfb4c55e2c483e98cc3935673df9656d025b6f1ea0fa5f1bd0aee037d4f483966b0d2907e3fa9bf11a93a3392af
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.