package smol
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
Signature
type 'a v = private 'a Map.Make(Literal).t
The type of vectors. Their basis is the set of literals.
val of_map : 'a Map.Make(Literal).t -> 'a v
val to_map : 'a v -> 'a Map.Make(Literal).t
Adds an entry to the vector. If the literal was already in the basis, updates the value instead.
val cardinal : 'a v -> int
module Make_SR (K : Algebra.Semiring_S) : sig ... end
Define arithmetic operations on vectors with values in a semiring.
module Make_R (K : Algebra.Ring_S) : sig ... end
Define arithmetic operations on vectors with values in a ring.
val make_monoid :
(module Algebra.Semiring_S with type t = 'a) ->
Literal.t list ->
(module Algebra.Add_Monoid_S
with type t = 'a v)
Create an additive monoid on vectors from a semiring of values and a finite support
val make_group :
(module Algebra.Ring_S with type t = 'a) ->
Literal.t list ->
(module Algebra.Add_Group_S
with type t = 'a v)
Create an additive group on vectors from a ring of values and a finite support
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page