Hi Aleksandr,
On Apr 21, 4:25 am, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
> sage: m(1,2)
> [ cos(1) 0]
> [ 0 -sin(2)]
>
... and since you wanted a matrix of *numbers* out of m, you may do
sage: m(1.,2.)
[ 0.540302305868140 0]
[ 0 -0.909297426825682]
> ... and since you wanted a matrix of *numbers* out of m, you may do
> sage: m(1.,2.)
Oops, i just see that your original example was x=pi/2, y=pi. That is
fine:
sage: m(pi/2,pi)
[0 0]
[0 0]
and is of course better than going via RR:
sage: m(RR(pi/2),RR(pi))
[ 6.12323399573676e-17
Simon King wrote:
>> ... and since you wanted a matrix of *numbers* out of m, you may do
>> sage: m(1.,2.)
>
> Oops, i just see that your original example was x=pi/2, y=pi. That is
> fine:
> sage: m(pi/2,pi)
> [0 0]
> [0 0]
>
> and is of course better than going via RR:
> sage: m(RR(pi/2),RR(pi)
John Cremona wrote:
> PS Sorry that should have read "posted" and not "poseted" , ha ha.
> The talk is at
> http://www.lacim.uqam.ca/~saliola/maths/talks/slides/SageTalk1.pdf
>
Interesting. I tried the example in 2.11 and ran into problems with the
very first line:
sage: P = Poset([[1,2],[
Dan Drake wrote:
> On Sat, 19 Apr 2008 at 10:20AM -0700, William Stein wrote:
>> On Sat, Apr 19, 2008 at 9:59 AM, Alex Ghitza <[EMAIL PROTECTED]> wrote:
>>> Excellent! Gerhard, this now works for me with sage-3.0.alpha5:
>>>
>>> sage -c "notebook(address='137.146.194.57', open_viewer=False,
>>>
If you note carefully, the slides switch from being about "Let's use
Sage" to "Let's use Sage++" between Demos 5 and 6, which would
validate John's suspicion. In a slightly older version than Jason's I
have neither MacDonald nor Jack Polynomials, and of course not Poset,
and apparently not "@man
Hello everyone.
I'm sorry to reply in so late on this, things have been busy and I've
not been keeping up with the list lately.
As for my slides: all included examples do work in Sage or "Sage++",
where Sage++ denotes a future version of Sage. The upshot is that
there is some code to add support
On Apr 20, 10:15 pm, gary <[EMAIL PROTECTED]> wrote:
>
> Here's something:
> the Java console reports an error:
> --
> Init Jmol
> language=en_US
> Jmol applet jmolApplet0[533848364848684]
> AppletR
On Mon, Apr 21, 2008 at 8:33 AM, gary <[EMAIL PROTECTED]> wrote:
>
> On Apr 20, 10:15 pm, gary <[EMAIL PROTECTED]> wrote:
> >
> > Here's something:
> > the Java console reports an error:
> >
> ---
In what version of Sage was n implemented for matrices? Right now,
N(m) gives an error in my version 2.9.2
sage: N(m)
---
Traceback (most recent call
last)
/home/sasha/ in ()
/opt/sage/local/lib/python2.5/site-
On Mon, Apr 21, 2008 at 9:22 AM, Aleksandr <[EMAIL PROTECTED]> wrote:
>
> In what version of Sage was n implemented for matrices? Right now,
> N(m) gives an error in my version 2.9.2
This is *only* in Sage-3.0, which hasn't been released yet. There you
will be able to do:
sage: m = matrix([[2
2008/4/21 Franco Saliola <[EMAIL PROTECTED]>:
>
> Hello everyone.
>
> I'm sorry to reply in so late on this, things have been busy and I've
> not been keeping up with the list lately.
>
> As for my slides: all included examples do work in Sage or "Sage++",
> where Sage++ denotes a future vers
Hello,
Sage already has two decorators that provide this functionality.
@func_persist will remember the computed values across Sage sessions
since the results are written to a file
@CachedFunction just stores the results in memory
Note that all of the arguments to the function whose results you
Hi,
I ran across the following post and thought I would pass it along.
http://avinashv.net/2008/04/python-decorators-syntactic-sugar/
For those of us who were weened on Maple, the post describes a very
nice way to get the "options remember" functionality that is built
into Maple in python (and
On Mon, Apr 21, 2008 at 10:46 PM, Mike Hansen <[EMAIL PROTECTED]> wrote:
> Sage already has two decorators that provide this functionality.
>
> @func_persist will remember the computed values across Sage sessions
> since the results are written to a file
> @CachedFunction just stores the resul
On Mon, 21 Apr 2008 at 09:07AM -0500, Jason Grout wrote:
> > I get the same behavior on my computer, with 2.11. I have to use my IP
> > (143.248.25.196) and I can't use sansu5.kaist.ac.kr. AFAIK there's
> > nothing weird about the network; forward and reverse DNS works fine, so
> > it really should
On Mon, Apr 21, 2008 at 4:47 PM, Dan Drake <[EMAIL PROTECTED]> wrote:
> On Mon, 21 Apr 2008 at 09:07AM -0500, Jason Grout wrote:
> > > I get the same behavior on my computer, with 2.11. I have to use my IP
> > > (143.248.25.196) and I can't use sansu5.kaist.ac.kr. AFAIK there's
> > > nothing we
On Mon, 21 Apr 2008 at 05:12PM -0700, William Stein wrote:
> I think it would be very easy for us to add an
> address='all'
> option, which would allow access from anywhere.
> Would you like that?
I sure would. I think most people who want to access the server remotely
will want to access it f
On Mon, Apr 21, 2008 at 5:51 PM, Dan Drake <[EMAIL PROTECTED]> wrote:
> On Mon, 21 Apr 2008 at 05:12PM -0700, William Stein wrote:
> > I think it would be very easy for us to add an
> > address='all'
> > option, which would allow access from anywhere.
> > Would you like that?
>
> I sure w
19 matches
Mail list logo