GuessOption¶
mantepse.spad line 63 [edit on github]
GuessOption is a domain whose elements are various options used by Guess.
- allDegrees: Boolean -> %
allDegrees(d)
specifies whether all possibilities of the degree vector - taking into account maxDegree - should be tried. This is mainly interesting for rational interpolation. This option is expressed in the formallDegrees == d
.
- check: Union(skip, MonteCarlo, deterministic) -> %
check(d)
specifies how we want to check the solution. If the value is “skip”, we return the solutions found by the interpolation routine without checking. If the value is “MonteCarlo”, we use a probabilistic check. This option is expressed in the formcheck == d
- checkExtraValues: Boolean -> %
checkExtraValues(d)
specifies whether we want to check the solution beyond the order given by the degree bounds. This option is expressed in the formcheckExtraValues == d
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- debug: Boolean -> %
debug(d)
specifies whether we want additional output on the progress. This option is expressed in the formdebug == d
.
- displayKind: Symbol -> %
displayKind(d)
specifies kind of the result: generating function, recurrence or equation. This option should not be set by the user, but rather by theHP
-specification.
- functionName: Symbol -> %
functionName(d)
specifies the name of the function given by the algebraic differential equation or recurrence. This option is expressed in the formfunctionName == d
.
- functionNames: List Symbol -> %
functionNames(d)
specifies the names for the function in algebraic dependence. This option is expressed in the formfunctionNames == d
.
- homogeneous: Union(PositiveInteger, Boolean) -> %
homogeneous(d)
specifies whether we allow only homogeneous algebraic differential equations. This option is expressed in the formhomogeneous == d
. Iftrue
, then maxPower must be set, too, and ADEs with constant total degree are allowed. If a PositiveInteger is given, only ADE's
with this total degree are allowed.
- indexName: Symbol -> %
indexName(d)
specifies the index variable used for the formulas. This option is expressed in the formindexName == d
.
- latex: % -> String
from SetCategory
- maxDegree: Union(NonNegativeInteger, arbitrary) -> %
maxDegree(d)
specifies the maximum degree of the coefficient polynomials in an algebraic differential equation or a recursion with polynomial coefficients. For rational functions with an exponential term,maxDegree
bounds the degree of the denominator polynomial. This option is expressed in the formmaxDegree == d
.
- maxDerivative: Union(NonNegativeInteger, arbitrary) -> %
maxDerivative(d)
specifies the maximum derivative in an algebraic differential equation. This option is expressed in the formmaxDerivative == d
.
- maxLevel: Union(NonNegativeInteger, arbitrary) -> %
maxLevel(d)
specifies the maximum number of recursion levels operators guessProduct and guessSum will be applied. This option is expressed in the form spad{maxLevel==
d
}.
- maxMixedDegree: NonNegativeInteger -> %
maxMixedDegree(d)
specifies the maximumq
-degree of the coefficient polynomials in a recurrence with polynomial coefficients, in the case of mixed shifts. Although slightly inconsistent, maxMixedDegree(0) specifies that no mixed shifts are allowed. This option is expressed in the formmaxMixedDegree == d
.
- maxPower: Union(PositiveInteger, arbitrary) -> %
maxPower(d)
specifies the maximum degree in an algebraic differential equation. For example, the degree of (f
''
)^3
f'
is 4. maxPower(-1
) specifies that the maximum exponent can be arbitrary. This option is expressed in the formmaxPower == d
.
- maxShift: Union(NonNegativeInteger, arbitrary) -> %
maxShift(d)
specifies the maximum shift in a recurrence equation. This option is expressed in the formmaxShift == d
.
- maxSubst: Union(PositiveInteger, arbitrary) -> %
maxSubst(d)
specifies the maximum degree of the monomial substituted into the function we are looking for. That is, ifmaxSubst == d
, we look for polynomials such that $p
(f
(x
),f
(x^2
), …,f
(x^d
))=0
$. equation. This option is expressed in the formmaxSubst == d
.
- one: Boolean -> %
one(d)
specifies whether we are happy with one solution. This option is expressed in the formone == d
.
- safety: NonNegativeInteger -> %
safety(d)
specifies the number of values reserved for testing any solutions found. This option is expressed in the formsafety == d
.
- Somos: Union(PositiveInteger, Boolean) -> %
Somos(d)
specifies whether we want that the total degree of the differential operators is constant, and equal tod
, or maxDerivative iftrue
. Iftrue
, maxDerivative must be set, too.
- variableName: Symbol -> %
variableName(d)
specifies the variable used in by the algebraic differential equation. This option is expressed in the formvariableName == d
.