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 $$ %}
|
|
|
|
|
|
|
|
*)
|
|
|
|
|
|
|
|
open Lacaml.D
|
|
|
|
|
|
|
|
type t
|
|
|
|
|
|
|
|
val matrix_x : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | x | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_y : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | y | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_z : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | z | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_x2 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | x^2 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_y2 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | y^2 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_z2 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | z^2 | \chi_j \rangle $$ %} *)
|
|
|
|
|
2020-07-08 11:37:43 +02:00
|
|
|
val matrix_x3 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | x^3 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_y3 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | y^3 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_z3 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | z^3 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_x4 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | x^4 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_y4 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | y^4 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
val matrix_z4 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | z^4 | \chi_j \rangle $$ %} *)
|
|
|
|
|
2020-07-09 23:46:38 +02:00
|
|
|
|
|
|
|
val matrix_r2 : t -> Mat.t
|
|
|
|
(** {% $$ \langle \chi_i | r^2 | \chi_j \rangle $$ %} *)
|
|
|
|
|
|
|
|
|
2020-04-16 19:49:23 +02:00
|
|
|
val of_basis : Basis.t -> t
|
2020-09-25 16:17:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
val to_file : filename:string -> Mat.t -> unit
|
|
|
|
(** Write a matrix to a file *)
|
|
|
|
|