10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-19 12:32:21 +01:00
QCaml/Basis/MatrixOnBasis.mli

21 lines
442 B
OCaml

(** Signature for matrices built on the {!Basis.t} *)
open Lacaml.D
type t
val of_basis : Basis.t -> t
(** Build from a {!Basis.t}. *)
val of_basis_pair : Basis.t -> Basis.t -> t
(** Build from a pair of {!Basis.t}. *)
val to_file : filename:string -> t -> unit
(** Write the integrals in a file. *)
val matrix : t -> Mat.t
(** Returns the matrix suitable for Lacaml. *)
val of_matrix : Mat.t -> t
(** Build from a Lacaml matrix. *)