[sage-support] Optional packages, error if disk full

2012-08-26 Thread Jori Mantysalo
I tried sage.misc.package.install_all_optional_packages() with machine having too less free disk space. It seems that error handling does not work: After freeing some space I had to manually remove .spkg-files to get them installed. This was with sage 5.0.1, but I haven't seen any discussion a

[sage-support] Re: fastest way to canonicalize a multivariate polynomial element in SR

2012-08-26 Thread Geoffrey Irving
On Sun, Aug 26, 2012 at 7:20 PM, Nils Bruin wrote: > If you know the variables and that your coefficients will be integers, why > don't you key the dictionary on the polynomials coerced into the appropriate > polynomial ring, e.g. Z['x,y,z,w']? Then you can use the dictionary to look > up the orig

[sage-support] Re: fastest way to canonicalize a multivariate polynomial element in SR

2012-08-26 Thread Nils Bruin
If you know the variables and that your coefficients will be integers, why don't you key the dictionary on the polynomials coerced into the appropriate polynomial ring, e.g. Z['x,y,z,w']? Then you can use the dictionary to look up the original form of your equation. -- You received this messag

[sage-support] fastest way to canonicalize a multivariate polynomial element in SR

2012-08-26 Thread Geoffrey Irving
Hello, I am doing computations over the symbolic ring SR in order to (mostly) preserve the structure of my expressions (e.g., (x+y)*(z+w) should stay factored). Keeping the structure is important for later code generation purposes. I also frequently want to know whether two expressions are the s

Re: [sage-support] Re: test whether a system of multivariate polynomial equations is solvable

2012-08-26 Thread Geoffrey Irving
On Sun, Aug 26, 2012 at 11:07 AM, Dima Pasechnik wrote: > On 2012-08-26, Geoffrey Irving wrote: >> On Sun, Aug 26, 2012 at 3:38 AM, Dima Pasechnik wrote: >>> On 2012-08-25, Geoffrey Irving wrote: On Aug 24, 2012, at 6:19 PM, Geoffrey Irving wrote: > Hello, > > I'm impleme

[sage-support] Re: test whether a system of multivariate polynomial equations is solvable

2012-08-26 Thread Dima Pasechnik
On 2012-08-26, Geoffrey Irving wrote: > On Sun, Aug 26, 2012 at 3:38 AM, Dima Pasechnik wrote: >> On 2012-08-25, Geoffrey Irving wrote: >>> On Aug 24, 2012, at 6:19 PM, Geoffrey Irving wrote: >>> Hello, I'm implementing a code generator for simulation of simplicity (a way to

Re: [sage-support] Re: test whether a system of multivariate polynomial equations is solvable

2012-08-26 Thread Geoffrey Irving
On Sun, Aug 26, 2012 at 3:38 AM, Dima Pasechnik wrote: > On 2012-08-25, Geoffrey Irving wrote: >> On Aug 24, 2012, at 6:19 PM, Geoffrey Irving wrote: >> >>> Hello, >>> >>> I'm implementing a code generator for simulation of simplicity (a way >>> to handle degeneracies in exact geometric computat

Re: [sage-support] Re: How could I fit this data?

2012-08-26 Thread David Kirkby
On 26 August 2012 10:33, Volker Braun wrote: > Sounds very much like a non-linear fit will be able to figure out the 8 > unknown parameters. You need a formula ("model") for impedance(frequency) > depending on the parameters. Maybe this is not as hard as I thought, and wrote half an hour ago. Th

Re: [sage-support] Re: How could I fit this data?

2012-08-26 Thread David Kirkby
On 26 August 2012 10:33, Volker Braun wrote: > Sounds very much like a non-linear fit will be able to figure out the 8 > unknown parameters. You need a formula ("model") for impedance(frequency) > depending on the parameters. That is what I thought might be a problem. I have no idea if its even p

[sage-support] Re: test whether a system of multivariate polynomial equations is solvable

2012-08-26 Thread Dima Pasechnik
On 2012-08-25, Geoffrey Irving wrote: > On Aug 24, 2012, at 6:19 PM, Geoffrey Irving wrote: > >> Hello, >> >> I'm implementing a code generator for simulation of simplicity (a way >> to handle degeneracies in exact geometric computation). This >> involves constructing and analyzing polynomials

[sage-support] Re: How could I fit this data?

2012-08-26 Thread Volker Braun
Sounds very much like a non-linear fit will be able to figure out the 8 unknown parameters. You need a formula ("model") for impedance(frequency) depending on the parameters. Having complex values is a bit of an extra complication since fitting in Sage only works for real numbers. For starters,