gtsam
nonlinear
internal
ChiSquaredInverse.h
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
3
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
4
* Atlanta, Georgia 30332-0415
5
* All Rights Reserved
6
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7
8
* See LICENSE for the license information
9
10
* -------------------------------------------------------------------------- */
11
22
#pragma once
23
24
#include <
gtsam/3rdparty/cephes/cephes.h
>
25
26
namespace
gtsam
{
27
namespace
internal
{
28
39
inline
double
chi_squared_quantile
(
const
double
dofs,
const
double
alpha
) {
40
return
2 *
igami
(dofs / 2,
alpha
);
41
}
42
43
}
// namespace internal
44
}
// namespace gtsam
alpha
RealScalar alpha
Definition:
level1_cplx_impl.h:147
cephes.h
gtsam::internal::chi_squared_quantile
double chi_squared_quantile(const double dofs, const double alpha)
Compute the quantile function of the Chi-Squared distribution.
Definition:
ChiSquaredInverse.h:39
gtsam
traits
Definition:
SFMdata.h:40
internal
Definition:
BandTriangularSolver.h:13
igami
double igami(double a, double p)
Definition:
igami.c:257
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:58