10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-07-25 20:27:28 +02:00
QCaml/gaussian_integrals/lib/multipole.mli

27 lines
751 B
OCaml
Raw Normal View History

2020-04-16 19:49:23 +02:00
(** Multipole atomic integrals:
{% $$ \langle \chi_i | x | \chi_j \rangle $$ %}
{% $$ \langle \chi_i | y | \chi_j \rangle $$ %}
{% $$ \langle \chi_i | z | \chi_j \rangle $$ %}
{% $$ \langle \chi_i | x^2 | \chi_j \rangle $$ %}
{% $$ \langle \chi_i | y^2 | \chi_j \rangle $$ %}
{% $$ \langle \chi_i | z^2 | \chi_j \rangle $$ %}
*)
2020-10-09 09:47:57 +02:00
open Linear_algebra
2020-10-10 10:59:09 +02:00
open Gaussian
2020-04-16 19:49:23 +02:00
2020-10-07 17:54:15 +02:00
type t = (Basis.t, Basis.t) Matrix.t array
2020-04-16 19:49:23 +02:00
2020-10-19 18:33:02 +02:00
val matrix : t -> string -> (Basis.t, Basis.t) Matrix.t
(** Returns the requested matrix. Choices:
[x, y, z, x2, xy, yz, xz, y2, z2, z3, y3, z3, x4, y4, z4]
*)
2020-07-08 11:37:43 +02:00
2020-04-16 19:49:23 +02:00
val of_basis : Basis.t -> t
2020-10-12 08:57:00 +02:00
val to_file : filename:string -> (Basis.t, Basis.t) Matrix.t -> unit
(** Write a matrix to a file *)