Hi,
well, I have now two different alternatives to be tested: a list of
matrices or a numpy array. since I am programming with scripts, I
should verify which of them works better in that case.
thanks for your suggestions!!
Aniura
On Sep 23, 12:29 pm, "John Cremona" <[EMAIL PROTECTED]> wrote:
2008/9/23 Simon King <[EMAIL PROTECTED]>:
>
> On Sep 23, 3:31 pm, "John Cremona" <[EMAIL PROTECTED]> wrote:
>> The rest of your query is hard to interpret. To "create a list of
>> equal elements", say a list of 5 copies of the matrix m, do this:
>> sage: [m]*5
>
> But this would not create a list
On Sep 23, 3:31 pm, "John Cremona" <[EMAIL PROTECTED]> wrote:
> The rest of your query is hard to interpret. To "create a list of
> equal elements", say a list of 5 copies of the matrix m, do this:
> sage: [m]*5
But this would not create a list of 5 *copies* of m. The five entries
of that list a
> John Cremona
>
> 2008/9/23 aniura <[EMAIL PROTECTED]>:
>
>
>
> > hi,
>
> > I wanted to know if there is a way to work in Sage with arrays of
> > matrices or something similar (something like a[i,j,k], so that
> > a[i,:,:], a[:,j,:] and a[:,:,k] are all matrices. I tried to use a
> > list of matr
If you type m. you will see lots of things you can do with a
matrix m. For example m.subdivide? allows you to pick out a
submatrix.
The rest of your query is hard to interpret. To "create a list of
equal elements", say a list of 5 copies of the matrix m, do this:
sage: [m]*5
[[1.00
On Sep 23, 2008, at 8:45 AM, aniura wrote:
>
> hi,
>
> I wanted to know if there is a way to work in Sage with arrays of
> matrices or something similar (something like a[i,j,k], so that
> a[i,:,:], a[:,j,:] and a[:,:,k] are all matrices. I tried to use a
> list of matrices but apparently sage i