I should add the reference. I found it on a scipy list:
http://osdir.com/ml/python.scientific.user/2003-07/msg00078.html
~adam
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
Hi,
See http://mathesaurus.sourceforge.net/matlab-numpy.html for
concatenate commands etc.
c = numpy.concatenate((a,b), axis=1)
is not exactly what you want but should help although you have a
repeat of the first column. The following is untested but might help.
def remove(arr, index, dim=0):
Sorry,
I wasn't paying attention. I have a massive fever today. You want to
add a column. I am thinking a slice operation should work.
Adam
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, s
On Nov 1, 7:20 am, Yotam Avital wrote:
> This is not what I want.
>
> sage: !cat file1
> 1 3
> 2 0
> 3 10
> sage: !cat file2
> 1 29
> 2 21
> 3 -19
> sage: a=numpy.loadtxt('file1')
> sage: b=numpy.loadtxt('file2')
>
> sage: out = a b
>
> sage: out
> array([[ 1., 3. ,29],
> [ 2., 0.
> Can someone tell me the rule in what cases one uses "a" and in what
> cases "an"? E.g., one has "an" if (and only if?) the next word starts
> with a,e,i.
>
The choice between a and an isn't so simple because it depends on the
initial sound of the word rather than the initial letter. A quick
se
On Jul 30, 10:45 pm, surfer wrote:
> sorry, I would like to obtain the curve for fixed x in (0,1). (or for fixed
> y in (0,1)).
A general solution is to return a function of only one axis. For
example, for a constant y you can do the following:
def slice_y(y):
def g(x):
return f
> On Jul 24, 3:10 pm, MaxTheMouse wrote:
>
> > I gave it a quick trial and got a syntax error.
>
> Can you tell me which polynomial it crashed on (i.e., what D is after
> the crash)?
>
> I had been getting syntax errors on that statement before, but I
> realiz
On Jul 24, 4:56 pm, Bill Page wrote:
> But
>
> On Fri, Jul 24, 2009 at 6:08 AM, David D. wrote:
>
> > Yes, I just downloaded the sage-vmware-4.0.1.zip file from
> > sagemath.org, installed VMWare Player (2.5.2 build-156735), and opened
> > sage_vmx.vmx. I would've either installed fricas simpl
Just to add a quick note. I installed gnuplot.py 1.8 and was able to
run the included test.py. You will have to try it on your own code
though.
Adam
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this gr
On Jul 19, 11:31 am, mourad gouicem wrote:
> Hello,
>
> I'm trying to install the optional package gnuplotpy-1.7.p3, but when
> I try to install it by typing "./sage -i gnuplotpy-1.7.p3", I get an
> error.
> The extraction finished successfully but the installation failed.
> Here is the traceba
10 matches
Mail list logo