namespace gpr::quantum::gaussian

namespace gaussian {
 
// typedefs
 
typedef Eigen::MatrixXd Matrix;
typedef Eigen::VectorXd Vector;
 
// structs
 
struct CurvatureRateInfluence;
struct Inertia;
struct RestrictedCovarianceProjection;
struct RestrictedDeterminant;
struct RestrictedInverseDiagonalBlocks;
struct RestrictedInverseProjection;
struct RestrictedKernelSolution;
struct Segment;
struct TwistedRestrictedResult;
struct TwistedTraceResult;
 
// classes
 
class Factorization;
class SingularBlockPivot;
 
// global functions
 
Segment exactSegment(const Matrix& hessian, double duration);
double logRestrictedDensityRatio(const Factorization& reference, const RestrictedDeterminant& restricted, double action, double hbar);
TwistedRestrictedResult restrictedTraceDeterminant(const std::vector<Segment>& segments, const Matrix& twist, const Vector& unitNormal);
TwistedRestrictedResult restrictedTraceDeterminant(const std::vector<Segment>& segments, const Matrix& twist, const Matrix& orthonormalNormals);
static RestrictedCovarianceProjection restrictedProjection(const std::vector<Segment>& segments, const Matrix& twist, const Matrix& orthonormalNormals, const Matrix& features, double hbar, bool positive, RestrictedKernelSolution* retained = nullptr);
RestrictedKernelSolution solveRestrictedTraceKernel(const std::vector<Segment>& segments, const Matrix& twist, const Matrix& orthonormalNormals, const Matrix& sources);
RestrictedInverseDiagonalBlocks restrictedTraceInverseDiagonalBlocks(const std::vector<Segment>& segments, const Matrix& orthonormalNormals, const Matrix& twist);
RestrictedInverseProjection restrictedTraceInverseProjection(const std::vector<Segment>& segments, const Matrix& twist, const Matrix& orthonormalNormals, const Matrix& features);
RestrictedCovarianceProjection restrictedTraceCovarianceProjection(const std::vector<Segment>& segments, const Matrix& twist, const Matrix& orthonormalNormals, const Matrix& features, double hbar);
CurvatureRateInfluence nodalCurvatureRateInfluence(const Matrix& green, double duration, const Matrix& measured);
TwistedTraceResult traceDeterminant(const std::vector<Segment>& segments, const Matrix& twist);
double midpointTaylorAction(const Matrix& hessian, const Vector& gradient, const Vector& displacement, double potential, double duration);
 
} // namespace gaussian