Re: change to qfbsolve to handle arbitrary integers

Bill Allombert <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <20191213154450.zjv3k6ibljxuwtt2@yellowpig>
On Thu, Oct 04, 2018 at 06:56:23PM +0200, Bill Allombert wrote:
> Dear PARI developers,
> 
> I have changed qfbsolve in master so that:
> 1) it handles non prime target value
> 2) it returns all the soution under the action of SO(Q,Z).
> 
> The side effect is that this breaks backward compatibility because
> it used to return a single solution instead of a t_VEC of solutions. 

I was told that a lot of scripts required the old behavior. To avoid
breaking them, I added a flag to qfbsolve:

qfbsolve(Q,s)   -> return a single solution or [] as in 2.11.
qfbsolve(Q,s,1) -> return all the solutions as in 2.12.0

Sorry for the trouble,
Bill.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.