NumberTheory
InhomogeneousDiophantine
inhomogeneous Diophantine approximation
Calling Sequence
Parameters
Description
Examples
Compatibility
InhomogeneousDiophantine(ineqs, xvars, yvars)
InhomogeneousDiophantine(cfs, alpha, real_errors)
InhomogeneousDiophantine(cfs, alpha, adicities, padic_errors)
ineqs
-
inequality or set of inequalities with abs or valuep
xvars
name or set of names
yvars
cfs
convertible to a Matrix of real numbers
alpha
convertible to a Vector of real numbers
adicities
convertible to a Vector of prime numbers
real_errors
padic_errors
convertible to a Vector of positive integers
The InhomogeneousDiophantine function finds a solution over the integers to a set of inequalities of the form
or
where is the p-adic valuation.
The inequalities can be described explicitly, corresponding to the first calling sequence, or implicitly, corresponding to the other calling sequences.
If the first calling sequence is used, then the return value is of the form
If the other calling sequences are used, then the return value is a two-element list corresponding to the x values and the y values,
An equivalent Matrix form calling sequence is:
The solutions may be different but both are valid.
The error list for the p-adic cases are negatives of the exponents on the adicities.
The NumberTheory[InhomogeneousDiophantine] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
isolve
NumberTheory[HomogeneousDiophantine]
padic[valuep]
Download Help Document