SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
determinant_polynomial.hpp File Reference
#include <array>
Include dependency graph for determinant_polynomial.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

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

Typedefs

using serif::geometry::deformation::detail::DeterminantPolynomial = std::array<double, 4>
 
using serif::geometry::deformation::detail::JacobianEntries = std::array<std::array<double, 3>, 3>
 

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.