SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
determinant_polynomial.cpp File Reference
#include "serif/geometry/deformation/detail/determinant_polynomial.hpp"
#include <algorithm>
#include <bit>
#include <cmath>
#include <limits>
#include <numeric>
Include dependency graph for determinant_polynomial.cpp:

Namespaces

namespace  serif
 
namespace  serif::geometry
 
namespace  serif::geometry::deformation
 
namespace  serif::geometry::deformation::detail
 

Functions

DeterminantPolynomial serif::geometry::deformation::detail::determinant_polynomial (const JacobianEntries &base, const JacobianEntries &direction, int dimension, double maximum_step, double determinant_floor) noexcept
 Expand det(base + t maximum_step direction) minus the floor for dimensions one through three.
 
double serif::geometry::deformation::detail::evaluate_polynomial (const DeterminantPolynomial &coefficients, double parameter) noexcept
 Evaluate the cubic with fused operations, retaining small values near repeated roots.
 
double serif::geometry::deformation::detail::first_boundary_parameter (const DeterminantPolynomial &coefficients) noexcept
 Find the first loss of strict positivity in (0, 1], including a tangent zero.