[sage-support] Re: Given a set of equations (which contains variables v1,...,vn), solve for a variable v_i in terms of variables v_k,v_j, ...

2011-02-12 Thread Volker Braun
You can also use the symbolic ring: sage: var('x,y,z,A,B,k,i,j,m') (x, y, z, A, B, k, i, j, m) sage: solve([x == A*i + B*j, y == A*k + B*m, z == B*(j-m) + A*(i-k)], [z,i,m]) [[z == x - y, i == -(B*j - x)/A, m == -(A*k - y)/B]] -- To post to this group, send email to sage-support@googlegroups.c

[sage-support] Re: Given a set of equations (which contains variables v1,...,vn), solve for a variable v_i in terms of variables v_k,v_j, ...

2011-02-12 Thread Nils Bruin
On Feb 11, 4:54 pm, tvn wrote: > I am trying to do something like this -- it seems simple but I don't know > how to do so in Sage > > given a set of equations > > x == A*i + B*j > y == A*k + B*m > z == B*(j-m) + A*(i-k) > > Now I want to solve for z in terms of x and y ,  simple algebra yields  z

[sage-support] Re: Configuring sage at the bash prompt

2011-02-12 Thread Donald Alan Morrison
> drkirkby@hawk:~$ echo fred | digest -a md5 > 08b622ddf7eb7c8e44cdb3bd6362f966 > drkirkby@hawk:~$ > > with something like > > sage --password_hash=08b622ddf7eb7c8e44cdb3bd6362f966 An Expect script could do the job and avoid the command-line (ps) issue. Aside: If /bin/echo is evaluated instead of

[sage-support] parallel map

2011-02-12 Thread luisfe
I thought I have already asked this. But I do not see it on the history of the group. Apologize for multiple posting. Is there an equivalent in Sage to ParallelMap in mathematica? I am looking a method that applies a given function to a list of objects for a small presentation of Sage I am prepa

Re: [sage-support] Re: Configuring sage at the bash prompt

2011-02-12 Thread Dr. David Kirkby
On 02/10/11 09:27 PM, akm wrote: On Feb 9, 2:39 pm, Harald Schilly wrote: e.g. $ sage -notebook secure=True ends up as notebook(secure=True) in the ipython interpreter. Thanks for the quick response! I was looking for a way of adding the adminpassword and hostname as options of the notebook

[sage-support] About the documentation

2011-02-12 Thread Dox
Hi people! Some questions about the documentation - Are the commands like %latex, %cython, %hide, etcetera listed somewhere? - What about those like @interact, ? - On the search engine at the webpage, some times I type "differential form" and get nothing while "differential