2018-05-30 09:19:49 +02:00
|
|
|
(** Orthonormalization of the basis. *)
|
|
|
|
|
2020-09-26 12:02:53 +02:00
|
|
|
open Qcaml_gaussian_basis
|
|
|
|
open Qcaml_linear_algebra
|
2018-06-13 19:03:42 +02:00
|
|
|
|
2020-10-02 18:55:19 +02:00
|
|
|
type t = (Basis.t, Basis.t) Matrix.t
|
2018-05-30 09:19:49 +02:00
|
|
|
|
|
|
|
val make: ?thresh:float -> ?basis:Basis.t -> cartesian:bool -> Overlap.t -> t
|
|
|
|
(** Returns a matrix or orthonormal vectors in the basis. The vectors are
|
|
|
|
linearly independent up to a threshold [thresh]. If [cartesian] is
|
|
|
|
[false], the [basis] argument needs to be given and the space spanned by
|
|
|
|
the vectors is the same as the space spanned by the basis in spherical
|
|
|
|
coordinates (5d,7f,...).
|
|
|
|
*)
|
|
|
|
|
2020-09-26 12:02:53 +02:00
|
|
|
val make_lowdin: thresh:float -> overlap:Overlap.t -> t
|
|
|
|
(** Lowdin orthonormalization *)
|