10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-19 04:22:21 +01:00
QCaml/Basis/Zero_m_parameters.ml

28 lines
558 B
OCaml
Raw Normal View History

2019-03-12 14:07:59 +01:00
type t =
{
expo_p_inv : float ;
expo_q_inv : float ;
norm_pq_sq : float ;
2019-03-13 22:02:08 +01:00
normalization : float ;
maxm : int ;
center_pq : Coordinate.t ;
center_pa : Coordinate.t ;
center_qc : Coordinate.t ;
2020-02-17 19:45:53 +01:00
f12_factor : F12factor.t option;
zero_m_func : t -> float array ;
2019-03-12 14:07:59 +01:00
}
2020-02-17 19:45:53 +01:00
let zero ?f12_factor zero_m_func =
2019-03-12 14:07:59 +01:00
{
2020-02-17 19:45:53 +01:00
zero_m_func ;
f12_factor ;
2019-03-12 14:07:59 +01:00
maxm=0 ;
expo_p_inv = 0.;
expo_q_inv = 0.;
norm_pq_sq = 0.;
2019-03-13 22:02:08 +01:00
normalization = 0.;
center_pq = Coordinate.zero ;
center_pa = Coordinate.zero ;
center_qc = Coordinate.zero ;
2019-03-12 14:07:59 +01:00
}