diophantine


diophantine, a MATLAB code which finds one solution of a Diophantine equation in any number of variables.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

diophantine is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

diophantine_test

diophantine_nd, a MATLAB code which is given a Diophantine equation in N variables, and returns all strictly positive solutions, or all nonnegative solutions.

i4mat_rref2, a MATLAB code which computes a version of the reduced row echelon form of an integer matrix.

row_echelon_integer, a MATLAB code which carries out the exact computation of the integer row echelon form (IREF) and integer reduced row echelon form (IRREF) of an integer matrix.

subset, a MATLAB code which enumerates, generates, randomizes, ranks and unranks combinatorial objects including combinations, compositions, Gray codes, index sets, partitions, permutations, polynomials, subsets, and Young tables. Backtracking routines are included to solve some combinatorial problems. Some routines for continued fractions are included.

Reference:

Source Code:


Last revised on 21 June 2021.