QCaml/Basis/MatrixOnBasis.mli

21 lines
442 B
OCaml
Raw Normal View History

2018-06-13 19:03:42 +02:00
(** 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}. *)
2018-06-13 19:03:42 +02:00
val to_file : filename:string -> t -> unit
(** Write the integrals in a file. *)
val matrix : t -> Mat.t
2018-07-20 16:09:06 +02:00
(** Returns the matrix suitable for Lacaml. *)
val of_matrix : Mat.t -> t
(** Build from a Lacaml matrix. *)