package smol

  1. Overview
  2. Docs

Parameters

Signature

type 'a m
module Make_SR (K : Algebra.Semiring_S) : sig ... end
module Make_R (K : Algebra.Ring_S) : sig ... end
val make_semiring : (module Algebra.Semiring_S with type t = 'a) -> Literal.t list -> (module Algebra.Semiring_S with type t = 'a m)

Create semiring on matrices from a semiring of values and a finite support

val make_ring : (module Algebra.Ring_S with type t = 'a) -> Literal.t list -> (module Algebra.Ring_S with type t = 'a m)

Create ring on matrices from a ring of values and a finite support