Macaulay2 » Documentation
Packages » EuclideanDistanceDegree » numericWeightEDDegree » homotopyEDDegree » newNumericalComputationOptions
next | previous | forward | backward | up | index | toc

newNumericalComputationOptions -- define homotopy options and configurations

Description

Creates a NumericalComputationOptions object. At mimumum it requires the model $F$ for which the ED Degree will be computed and a witness model $G$. A submodel $L$ may be passed in to "slice" the variety, by default it will be the empty set. A String indicating the temporary directory from which Bertini will read/write files during the run may also be passed in as an optional argument, by default it will be a random temporary file name. The temporary directory will be created if it does not exist.

i1 : R = QQ[x,y];
i2 : F = G = {x^2 + y^2 - 1};
i3 : dir = temporaryFileName();
i4 : NCO = newNumericalComputationOptions(F, G, TempDirectory => dir);
i5 : NCO#"TargetWeight" = apply(#gens R, i -> 1_R);
i6 : UED = homotopyEDDegree(NCO, "Weight", true, true)
-- warning: experimental computation over inexact field begun
--          results not reliable (one warning given per session)

o6 = 2

Ways to use newNumericalComputationOptions:

  • newNumericalComputationOptions(List,List)

For the programmer

The object newNumericalComputationOptions is a method function with options.


The source of this document is in EuclideanDistanceDegree.m2:399:0.