package smol

  1. Overview
  2. Docs

Module Make.Make_RSource

Parameters

module K : Algebra.Ring_S

Signature

include sig ... end
Sourcetype t = K.t m

We make sure the diagonal is never empty on the support of a matrix

Sourceval zero : Literal.t list -> t
Sourceval for_all : (Literal.t -> Literal.t -> 'a -> bool) -> 'a m -> bool
Sourceval is_zero : t -> bool
Sourceval one : Literal.t list -> t
Sourceval diagonal : 'a Vector.Make(Literal).v -> 'a m
Sourceval get_support : 'a m -> Literal.t list
Sourceval get_entry : Literal.t -> Literal.t -> t -> K.t
Sourceval set_entry : Literal.t -> Literal.t -> K.t -> t -> t
Sourceval singleton : Literal.t -> Literal.t -> K.t -> t
Sourceval remove : Literal.t -> Literal.t -> 'a m -> 'a m
Sourceval merge : (Literal.t -> Literal.t -> 'a option -> 'b option -> K.t option) -> 'a m -> 'b m -> t
Sourceval union : (Literal.t -> Literal.t -> K.t -> K.t -> K.t option) -> t -> t -> t
Sourceval equal : t -> t -> bool
Sourceval neq : t -> t -> bool
Sourceval iter : (Literal.t -> Literal.t -> 'a -> unit) -> 'a m -> unit
Sourceval fold : (Literal.t -> Literal.t -> 'a -> 'b -> 'b) -> 'a m -> 'b -> 'b
Sourceval filter : (Literal.t -> Literal.t -> 'a -> bool) -> 'a m -> 'a m
Sourceval bindings : 'a m -> ((Literal.t * Literal.t) * 'a) list
Sourceval map : ('a -> K.t) -> 'a m -> t
Sourceval mapi : (Literal.t -> Literal.t -> 'a -> K.t) -> 'a m -> t
Sourceval add : t -> t -> t
Sourceval mul : t -> t -> t
Sourceval pow : t -> int -> t
Sourceval is_nilpotent : t -> bool
Sourceval to_string : t -> string
Sourceval neg : t -> t
Sourceval sub : t -> t -> t
Sourcemodule Infix : sig ... end
OCaml

Innovation. Community. Security.