38# if defined(__cplusplus)
58# if defined(__cplusplus)
119 gmp_RR dt_increase_factor,
120 gmp_RR dt_decrease_factor,
121 int num_successes_before_increase,
139 gmp_RR dt_increase_factor,
140 gmp_RR dt_decrease_factor,
141 int num_successes_before_increase,
145 gmp_RR infinity_threshold,
157 int max_corr_steps_refine);
168# if defined(__cplusplus)
gmp_ZZ rawSLPDetGate(M2SLProgram *S, M2_arrayint a)
void rawSetParametersPT(PathTracker *PT, M2_bool is_projective, gmp_RR init_dt, gmp_RR min_dt, gmp_RR dt_increase_factor, gmp_RR dt_decrease_factor, int num_successes_before_increase, gmp_RR epsilon, int max_corr_steps, gmp_RR end_zone_factor, gmp_RR infinity_threshold, int pred_type)
gmp_ZZ rawSLPDivideGate(M2SLProgram *S, M2_arrayint a)
const Matrix * rawTrackPaths(StraightLineProgram *slp_pred, StraightLineProgram *slp_corr, const Matrix *start_sols, M2_bool is_projective, gmp_RR init_dt, gmp_RR min_dt, gmp_RR max_dt, gmp_RR dt_increase_factor, gmp_RR dt_decrease_factor, int num_successes_before_increase, gmp_RR epsilon, int max_corr_steps, int pred_type)
const Matrix * rawGetSolutionPT(PathTracker *PT, int solN)
M2_string rawPathTrackerToString(PathTracker *)
M2_string rawHomotopyToString(M2Homotopy *)
int rawGetSolutionStatusPT(PathTracker *PT, int solN)
M2_string rawStraightLineProgramToString(StraightLineProgram *)
M2SLEvaluator * rawSLEvaluatorSpecialize(M2SLEvaluator *H, const MutableMatrix *parameters)
StraightLineProgram * rawSLP(const Matrix *consts, M2_arrayint program)
gmp_ZZ rawSLPProductGate(M2SLProgram *S, M2_arrayint a)
unsigned int rawStraightLineProgramHash(StraightLineProgram *)
unsigned int rawPointArrayHash(M2PointArray *)
gmp_RRorNull rawGetSolutionLastTvaluePT(PathTracker *PT, int solN)
gmp_ZZ rawSLPsetOutputPositions(M2SLProgram *S, M2_arrayint a)
M2_bool rawSLEvaluatorEvaluate(M2SLEvaluator *sle, const MutableMatrix *inputs, MutableMatrix *outputs)
M2PointArray * rawPointArray(double epsilon, int n)
PathTracker * rawPathTrackerProjective(const Matrix *, const Matrix *, gmp_RR)
unsigned int rawHomotopyHash(M2Homotopy *)
M2SLEvaluator * rawSLEvaluator(M2SLProgram *SLP, M2_arrayint constsPos, M2_arrayint varsPos, const MutableMatrix *consts)
M2SLProgram * rawSLProgram(unsigned long nConstantsAndInputs)
unsigned int rawPathTrackerHash(PathTracker *)
gmp_ZZ rawSLPSumGate(M2SLProgram *S, M2_arrayint a)
M2_string rawPointArrayToString(M2PointArray *)
PathTracker * rawPathTrackerPrecookedSLPs(StraightLineProgram *slp_pred, StraightLineProgram *slp_corr)
PathTracker /////////////////////////////////////////////////////.
unsigned int rawSLEvaluatorHash(M2SLEvaluator *)
M2_bool rawHomotopyTrack(M2Homotopy *H, const MutableMatrix *inputs, MutableMatrix *outputs, MutableMatrix *output_extras, gmp_RR init_dt, gmp_RR min_dt, gmp_RR epsilon, int max_corr_steps, gmp_RR infinity_threshold, M2_bool checkPrecision)
int rawGetSolutionStepsPT(PathTracker *PT, int solN)
PathTracker * rawPathTracker(const Matrix *)
const Matrix * rawRefinePT(PathTracker *PT, const Matrix *sols, gmp_RR tolerance, int max_corr_steps_refine)
const Matrix * rawEvaluateSLP(StraightLineProgram *SLP, const Matrix *vals)
int rawPointArrayLookupOrAppend(M2PointArray *pa, const MutableMatrix *M, int col)
M2Homotopy * rawHomotopy(M2SLEvaluator *Hx, M2SLEvaluator *Hxt, M2SLEvaluator *HxH)
int rawPointArrayLookup(M2PointArray *pa, const MutableMatrix *M, int col)
gmp_ZZ rawSLPInputGate(M2SLProgram *S)
M2SLEvaluator * rawCompiledSLEvaluator(M2_string libName, int nInputs, int nOutputs, const MutableMatrix *empty)
void rawLaunchPT(PathTracker *PT, const Matrix *start_sols)
gmp_RRorNull rawGetSolutionRcondPT(PathTracker *PT, int solN)
const Matrix * rawGetAllSolutionsPT(PathTracker *PT)
M2_string rawSLProgramToString(M2SLProgram *)
unsigned int rawSLProgramHash(M2SLProgram *)
M2_string rawSLEvaluatorToString(M2SLEvaluator *)
MutableEngineObject wrapper that owns a Homotopy via unique_ptr.
MutableEngineObject wrapper that owns a PointArray via unique_ptr.
MutableEngineObject wrapper holding a raw SLEvaluator*.
MutableEngineObject wrapper that owns an SLProgram via unique_ptr.
Abstract base class for mutable matrices over an arbitrary engine Ring, the in-place counterpart of t...
Numerical homotopy-continuation path tracker for systems of polynomial equations.
Engine-wide include prelude — a single point of truth for portability shims.