Macaulay2 Engine
Loading...
Searching...
No Matches

◆ rawHomotopy()

M2Homotopy * rawHomotopy ( M2SLEvaluator * Hx,
M2SLEvaluator * Hxt,
M2SLEvaluator * HxH )

Numerical Algebraic Geometry interface routines

Definition at line 831 of file matrix.cpp.

834{
835 try {
836 return new M2Homotopy(Hx->value().createHomotopy(&(Hxt->value()), &(HxH->value())));
837 } catch (const exc::engine_error& e) {
838 ERROR(e.what());
839 return nullptr;
840 }
841}
MutableEngineObject wrapper that owns a Homotopy via unique_ptr.
Definition SLP-defs.hpp:139
SLEvaluator & value()
Definition SLP-defs.hpp:254
virtual Homotopy * createHomotopy(SLEvaluator *Hxt, SLEvaluator *HxH)=0
const int ERROR
Definition m2-mem.cpp:55

References SLEvaluator::createHomotopy(), ERROR, and M2SLEvaluator::value().