package goblint
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=ca24f72fa9a87d288affe97c411753f14b7802bab4ca3649b337276b89bf5674
sha512=394b3521ccda0da91540cebb2f433f7525763060be4bbe179edd3b952a3580a8e173c4e410fc6895dc67fe6d17e6699aeddfed600f4692858bec093dd912bf1e
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.