Hi William:
This works with links such as http://... , but with local files, I am
not sure what is the right thing to do when the picture is in say /usr/
local/ for example.
thanks,
gani --
On Jul 27, 9:49 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On 7/27/07, gani <[EMAIL PROTECTED]>
On 7/27/07, Roger Mason <[EMAIL PROTECTED]> wrote:
> I'm still trying to do some linear algebra with sage.
>
> sage: var('x1,y1,z1, x2,y2,z2, x3,y3,z3')
> (x1, y1, z1, x2, y2, z2, x3, y3, z3)
> sage: var('p1,p2,p3')
> (p1, p2, p3)
> sage: var('x,y,z')
> (x, y, z)
> sage: var('alpha, beta')
> (alph
On 7/27/07, gani <[EMAIL PROTECTED]> wrote:
>
> Hi, I was trying to load an image file in a notebook and I tried
> several things like load('path/image.png') or even html code like SRC="path/image.png" ALT="pic"> and nothing seemed to work. Could you
> tell me how to accomplish this?
Here is an
Hi, I was trying to load an image file in a notebook and I tried
several things like load('path/image.png') or even html code like and nothing seemed to work. Could you
tell me how to accomplish this?
thanks,
gani --
--~--~-~--~~~---~--~~
To post to this group,
Hello,
I'm still trying to do some linear algebra with sage.
sage: var('x1,y1,z1, x2,y2,z2, x3,y3,z3')
(x1, y1, z1, x2, y2, z2, x3, y3, z3)
sage: var('p1,p2,p3')
(p1, p2, p3)
sage: var('x,y,z')
(x, y, z)
sage: var('alpha, beta')
(alpha, beta)
sage: p1 = transpose(matrix([[x1,y1,z1]]))
sage: p1
"William Stein" <[EMAIL PROTECTED]> writes:
> Naive question: what exactly is broadcasting, and how might it be
> useful in the context of SAGE?
Joshua Kantor explained in more detail, but simply being able
to do a[:,1:3] += 2 to add 2 to a portion of an array is already
an illustration. Note t
On 7/27/07, mak <[EMAIL PROTECTED]> wrote:
> I'm sorry to bother people with basic questions like this, but the
No problem. Easy questions are fun to answer, and help
improve the documentation.
> documentation is far too technical for the casual user, and not easily
> searchable either.
So tr
On 7/27/07, David Joyner <[EMAIL PROTECTED]> wrote:
> On 7/27/07, mak <[EMAIL PROTECTED]> wrote:
> >
> > 1. What's the most elegant way of writing a matrix into a file in
> > pari-readable format? I can make it into a string, open a file, write
> > the string, close the file.
> > 2. How do I sp
On 7/27/07, mak <[EMAIL PROTECTED]> wrote:
>
> 1. What's the most elegant way of writing a matrix into a file in
> pari-readable format? I can make it into a string, open a file, write
> the string, close the file.
>
> 2. How do I specify the directory where the file is saved? sage
> seems to
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
1. What's the most elegant way of writing a matrix into a file in
pari-readable format? I can make it into a string, open a file, write
the string, close the file.
2. How do I specify the directory where the file is saved? sage
seems to not understand the path like '~/desiredpath/
desireddire
11 matches
Mail list logo