package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=b729c94adb383a39aea32eb005c988dfd44b92af22ee6a4eedf4239542ac6c26
sha512=643b98770e5fe5644324c95c9ae3a9f698f25c8b11b298f0751d524e0b20af368b2a465fc8200b75a73d48fc9a053fd90f5e8920d4db070927f93188bb8687e0
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.