On Dec 9, 11:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
Hi Robert,
> Hello, is there any way how to access the last result in Sage?
> Something like % in Maxima?
> Thank you.
> Robert
Is this what you want?
sage: 2+2
4
sage: _
4
Cheers,
Michael
--~--~-~--~~-
Hello, is there any way how to access the last result in Sage?
Something like % in Maxima?
Thank you.
Robert
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For
Dan Drake wrote:
> I'm preparing an arXiv submission that will include an appendix of Sage
> code along with a separate .sage file with the code. Working with Sage I
> have come to assume that all code not doctested is broken, so I'd like
> to include doctests. I've written up my docstrings, but w
I'm preparing an arXiv submission that will include an appendix of Sage
code along with a separate .sage file with the code. Working with Sage I
have come to assume that all code not doctested is broken, so I'd like
to include doctests. I've written up my docstrings, but when I run "sage
-t foo.sag
Doug Bradshaw wrote:
> Okay, here's the story: I wanted to plot a Fourier transform of a
> Gaussian that is truncated (mulitplied by unit step function). Using
> "integral", I got an answer that looked nice, but contained an error
> function with an imaginary argument. Because that error functi
This works
html(r'Donde $\Sigma$ es la sumatoria de los números... etc.' )
but only works the first time. If you save & quit your work, after
trying again it fails. This is because when saving it converts
"números" to "números".
On Dec 9, 2:16 pm, acardh <[EMAIL PROTECTED]> wrote:
> The accent
Thanks Jason, that will certainly save myself and others some time
trying to figure out what's going on.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For mor
> > > I'm not sure exactly what you mean here. factorial(n) counts the number
> > > of permutations of 'n' elements very efficiently. Perhaps you mean
>
> > > sage: permutations([1,2,2])
> > > [[1, 2, 2], [2, 1, 2], [2, 2, 1]]
>
> > > Type permutations? for more information on this command. You
Okay, here's the story: I wanted to plot a Fourier transform of a
Gaussian that is truncated (mulitplied by unit step function). Using
"integral", I got an answer that looked nice, but contained an error
function with an imaginary argument. Because that error function
couldn't be evaluated, I c
William Stein wrote:
> Sage also includes the scipy.stats package, which has 100 or
> so distributions:
>
> sage: import scipy.stats
> sage: help(scipy.stats)
For further information, you can look on the scipy documentation webpage
too:
http://docs.scipy.org/doc/scipy/reference/stats.html
B
Excellent, thank you, exactly what I was looking for.
On Dec 9, 2:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 9, 2008 at 2:04 PM, Jason Bandlow <[EMAIL PROTECTED]> wrote:
>
> > Hi Matthew,
>
> > Matthew J wrote:
> >> Sage is great software that I rave about in pretty much all
On Tue, Dec 9, 2008 at 2:04 PM, Jason Bandlow <[EMAIL PROTECTED]> wrote:
>
> Hi Matthew,
>
> Matthew J wrote:
>> Sage is great software that I rave about in pretty much all of my
>> classes except for probability theory. I'd like to get some info on a
>> few topics to clear some things up so that
Hi Matthew,
Matthew J wrote:
> Sage is great software that I rave about in pretty much all of my
> classes except for probability theory. I’d like to get some info on a
> few topics to clear some things up so that I can use these for classes
> and to post to an examples worksheet. Thanks in advan
Sage is great software that I rave about in pretty much all of my
classes except for probability theory. I’d like to get some info on a
few topics to clear some things up so that I can use these for classes
and to post to an examples worksheet. Thanks in advance to anyone that
replies.
I am wonde
Thank you! Than you all so much!
It was so difficult to continue my research without it! And I am so
glad Sage project have real support :-)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, sen
The accent marks is a problem in Notebook. I am writing some texts in
Spanish but the accent marks are not being displayed on the output. By
example:
Tenemos un número que nos define... etc.
The output should be: Tenemos un número que nos define... etc.
I also tried this other way:
html(Donde
Try this instead:
# just as you had before:
r=2*2*pi
Pole1=r*exp(I*2*pi/3)
Pole2=-r
Pole3=r*exp(-I*2*pi/3)
Ts=0.1
# one change here:
var('f')
z=exp(I*2*pi*Ts*f)
p=(2/Ts)*(z-1)/(z+1)
H = (p^3)/((p-Pole1)*(p-Pole2)*(p-Pole3))
Then H (or show(H)) will print out a complicated expression in terms
of
I think the Type Error is coming from your use of the round function.
If I run: -
H, p, Pole1, Pole2, Pole3, Ts, z, f = var("H p Pole1 Pole2 Pole3 Ts z
f")
p = (2/Ts)*(z-1)/(z+1)
z = exp(I*2*pi*Ts*f)
r=2*2*pi
Pole1=r*exp(I*2*pi/3)
Pole2=-r
Pole3=r*exp(-I*2*pi/3)
Ts=0.1
H = lambda p: (p^3)/((p-P
This did the trick.
Thanks
:o)
On Dec 8, 11:37 pm, pong <[EMAIL PROTECTED]> wrote:
> This may work for you
>
> html(r'\tan^{-1} x') or simply html(r'$\tan^
> {-1} x$')
>
> the r before ' stands for "raw string".
>
> On Dec 8, 9:55 pm, acardh <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I am working i
this
round(H.substitute(f=4).abs(),4)
give same error again...
then this:
round(RDF(H.substitute(f=4).abs()),4)
takes so much time, can't wait...
On Dec 9, 10:42 pm, Sand Wraith <[EMAIL PROTECTED]> wrote:
> you mean for f? this:
>
> round(H.substitute(f=1),4)
>
> gives type error again :-(
>
> On
you mean for f? this:
round(H.substitute(f=1),4)
gives type error again :-(
On Dec 9, 9:51 pm, Tim Lahey <[EMAIL PROTECTED]> wrote:
> On Dec 9, 2008, at 1:46 PM, Sand Wraith wrote:
>
>
>
>
>
> > thank you! ))
>
> > but I need to use my values, now just variables (Ts,Pole1 etc)
>
> > I was tryin
I use sage for all my figures, and at the moment to get exactly what I
want I use axes=False and create my own axes and labels with text()
and line() commands. This is somewhat painful at first but after
writing a couple of functions its not too bad. Hopefully Mike and
others' enhancements will
On Dec 9, 2008, at 1:46 PM, Sand Wraith wrote:
>
> thank you! ))
>
> but I need to use my values, now just variables (Ts,Pole1 etc)
>
> I was trying this:
>
> r=2*2*pi
> Pole1=r*exp(I*2*pi/3)
> Pole2=-r
> Pole3=r*exp(-I*2*pi/3)
> Ts=0.1
>
> z = exp(I*2*pi*Ts*f)
> p = (2/Ts)*(z-1)/(z+1)
> H = (p^
thank you! ))
but I need to use my values, now just variables (Ts,Pole1 etc)
I was trying this:
r=2*2*pi
Pole1=r*exp(I*2*pi/3)
Pole2=-r
Pole3=r*exp(-I*2*pi/3)
Ts=0.1
z = exp(I*2*pi*Ts*f)
p = (2/Ts)*(z-1)/(z+1)
H = (p^3)/((p-Pole1)*(p-Pole2)*(p-Pole3))
show(H)
show() works fine, but if i want
On Dec 8, 11:01 pm, Spike <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm new to SAGE and I just got myself a Mac (so I'm new to Macs).
> I'm running OS X 10.4 on an old eMac G4.
> I've installed your program from your site as suggested in the
> packaged readme file. But then, whenever I opened my T
exty wrote:
> I found out that my question has already been answered on the list:
> http://groups.google.com/group/sage-support/browse_thread/thread/729e1265dad26e7
> And I suppose that the issue hasn't been remedied yet.
>
> It's a real pity that Sage doesn't allow much control over the
> plotti
Quite a while back I submitted a
proposed replacement for tasteful_ticks:
while avoiding overhaul of the axes code,
it did produce satisfactory tick marks for a
larger parameter region than the current routine.
Has anything ever come of it?
Sincerely,
-gerhard
--~--~-~--~~---
I found out that my question has already been answered on the list:
http://groups.google.com/group/sage-support/browse_thread/thread/729e1265dad26e7
And I suppose that the issue hasn't been remedied yet.
It's a real pity that Sage doesn't allow much control over the
plotting style. Issues like th
Hi Marshall,
thanks for the answer, if you once have the frames I also know these
two projects, but I did not try them out yet:
http://www.onyxbits.de/giftedmotion
http://www.lcdf.org/~eddietwo/gifsicle/
Is it possible to make the frames, i.e. .jpg or .png files with
tachyon from within sage or
Hello,
When trying to ssh to my ssh VMWare appliance cygwin, I get
"connection timed out" error. I can ssh to other computers. When
logged into the VMWare appliance as "manage", I can successfully ssh
to itself (i.e. "ssh localhost" works).
What do I need to do in order to solve this problem?
Th
Hello,
I'm new to SAGE and I just got myself a Mac (so I'm new to Macs).
I'm running OS X 10.4 on an old eMac G4.
I've installed your program from your site as suggested in the
packaged readme file. But then, whenever I opened my Terminal, SAGE
would fire up (I just want Bash).
So, just to see w
31 matches
Mail list logo