Pell.m

Versión 1.0.0.0 (804 Bytes) por David Terr
Pell(d,s,n) returns the first n positive integer solution to the modified Pell's equation x^2-dy^2=+
2,1K descargas
Actualizado 4 ago 2004

Sin licencia

For integers d and s with d nonsquare and positive, Pell(d,s,n) returns the first n positive integer solution (x,y) to the modified Pell's equation x^2-dy^2=(-1)^s, if such a solution exists. Such a solution always exists if s is even, i.e. if the right side is equal to 1, though a solution may not exist if the right side is -1 (s odd), in which case a message is given indicating that this is so. QCF.m is required to run this program.

Citar como

David Terr (2024). Pell.m (https://www.mathworks.com/matlabcentral/fileexchange/5595-pell-m), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Quadratic Programming and Cone Programming en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

I fixed the documentation.