10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-09 07:33:40 +01:00
QCaml/Basis/Zero_m_parameters.ml

30 lines
560 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
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;
2020-03-26 16:24:41 +01:00
mu_erf : float option;
2020-02-17 19:45:53 +01:00
zero_m_func : t -> float array ;
2019-03-12 14:07:59 +01:00
}
2020-03-26 16:24:41 +01:00
let zero ?f12_factor ?mu_erf zero_m_func =
2019-03-12 14:07:59 +01:00
{
2020-02-17 19:45:53 +01:00
zero_m_func ;
f12_factor ;
2020-03-26 16:24:41 +01:00
mu_erf;
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
center_pq = Coordinate.zero ;
center_pa = Coordinate.zero ;
center_qc = Coordinate.zero ;
2019-03-12 14:07:59 +01:00
}