[sage-support] Re: calculating and plotting polynomials with 3 variables

2008-11-20 Thread Joshua Kantor
In case anyone is interested there is a relatively standard algorithm for constructing mesh for an isosurfaces called marching cubes. For a while that was patented so there is a marching tetrahedrons analog but I think the patent issue is expired. Its complicated in that there are lots of things

[sage-support] Re: numerically solving a polynomial system of equations

2008-08-24 Thread Joshua Kantor
1. I would recommend looking at phcpack, it is designed to exploit the special nature of large polynomial systems, however, supposedly I believe it is sometimes difficult to compile, I've never used it but it might be better suited to your problem. http://www.math.uic.edu/~jan/download.html 2. T

[sage-support] Re: fft from matlab

2008-04-10 Thread Joshua Kantor
This should work for you sage: import numpy sage: a=numpy.loadtxt('my_file.txt') sage: x_vals=a[:,1] sage: y_vals=a[:,2] note that now x_vals and y_vals are numpy arrays. At this point you have a few ways of of doing the ftt Option 1 sage: from numpy import fft sage: fft.fft(x_xvals) sage: fft.

[sage-support] Re: compile error with gfortran (for "lapack" and others)

2007-11-18 Thread Joshua Kantor
You should use the cvxopt-0.9.p1.spkg if you try it. Its slightly newer than the one in the thread. Josh On Nov 17, 11:58 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > Hello Jack, > > On Nov 18, 8:11 am, "Jack O'Connor" <[EMAIL PROTECTED]> wrote: > > > I was running into gcc-config err

[sage-support] Re: numpy.sin() problem

2007-09-01 Thread Joshua Kantor
Hello. I believe the issue is that earlier in the tutorial I had set sage: RealNumber=float but I didn't specify to reenter this in the section you were looking at. If you enter this before the example it will work fine. The issue is that as William indicated, if you do not do this, instead of

[sage-support] Re: Compiled Code

2007-08-07 Thread Joshua Kantor
acts, say, on 10 elements (groups with > degree 10?) and list all subgroups of each of these groups. Is there a way > that I can request this output from sage. > > thankful good wishes, > gk or Renato > > On 7/25/07, Joshua Kantor <[EMAIL PROTECTED] > wrote: > > >

[sage-support] Re: Can´t compile sage-2.7.2

2007-08-03 Thread Joshua Kantor
Ignore my previous post it was a bit more complicated than it should have been. 1. Just put the following file http://sage.math.washington.edu/home/jkantor/cvxopt-0.8.2.p1.spkg in spkg/standard 2. sage: install_package('cvxopt-0.8.2.p1') On Aug 2, 11:20 pm, Joshua Kant

[sage-support] Re: Can´t compile sage-2.7.2

2007-08-03 Thread Joshua Kantor
Hello, The problem is that cvxopt does not by default link in gfortran which apparently your libblas was compiled with. (Incidentally what distribution is this and are you using custom compiled blas/atlas or ones from a repository) To fix this try the following: 1. From your sage directory cd t

[sage-support] Re: matrix basics

2007-07-27 Thread Joshua Kantor
Regarding the question about broadcating. Every numpy array has a shape parameter. By manipulating this you can control how an array of data is viewed and . A simple example is sage: import numpy sage: a=numpy.array(range(8)) sage: a array([ 0, 1, 2, 3, 4, 5, 6, 7]) sage: a.shape=(2,4) sag

[sage-support] Re: Compiled Code

2007-07-25 Thread Joshua Kantor
I am guessing you are intererested in having subgroups of the permutation group acting on tone rows or something along those lines. Do you actually need to have the ability to manipulate groups in your final application or are you using sage to find some set of interesting groups and only intend