Robert Bradshaw wrote:
> On Fri, 21 Aug 2009, Simon King wrote:
>
>> On 22 Aug., 00:57, William Stein wrote:
>>> On Fri, Aug 21, 2009 at 3:18 PM, Simon King wrote:
>> [...]
sage: print M.str()
but there might be nicer (and more intuitive!) ways.
>>> I think that is the only way. I c
I sort of solve my own problem.
If I change the line feed '\\' to the tab &:
\left(\begin{array}{r}
1 & \a & \a^{2} & a^{3} & a^{4} &
0 & 1 & 2 a & 3 a^{2} & 4 a^{3} &
0 & 0 & 1 & 3 a & 6 a^{2} &
0 & 0 & 0 & 1 & 4 a &
0 & 0 & 0 & 0 & 1
\end{array}\right)
Then both %slide and %latex display t
This is not as nice, but I have this problem a lot, and just do
sage: M.rows()
which at least lets me look at the matrix, if that's all you want.
However, the suggestions above are great for a "real" solution.
- kcrisman
--~--~-~--~~~---~--~~
To post to this group,
Hi
I am using the sage 4.1 notebook.
When I enter the following into a notebook cell, I get the correct
display of the matrix:
%latex
\left(\begin{array}{r}
1 & a & a^{2} & a^{3} & a^{4} \\
0 & 1 & 2 a & 3 a^{2} & 4 a^{3} \\
0 & 0 & 1 & 3 a & 6 a^{2} \\
0 & 0 & 0 & 1 & 4 a \\
0 & 0 & 0 & 0
On Fri, Aug 21, 2009 at 5:34 PM, Robert Bradshaw <
rober...@math.washington.edu> wrote:
> On Fri, 21 Aug 2009, Simon King wrote:
>
> >
> > On 22 Aug., 00:57, William Stein wrote:
> >> On Fri, Aug 21, 2009 at 3:18 PM, Simon King
> wrote:
> > [...]
> >>> sage: print M.str()
> >>> but there might
On Fri, 21 Aug 2009, Simon King wrote:
>
> On 22 Aug., 00:57, William Stein wrote:
>> On Fri, Aug 21, 2009 at 3:18 PM, Simon King wrote:
> [...]
>>> sage: print M.str()
>>> but there might be nicer (and more intuitive!) ways.
>>
>> I think that is the only way. I can't think of any nicer way.
On 22 Aug., 00:57, William Stein wrote:
> On Fri, Aug 21, 2009 at 3:18 PM, Simon King wrote:
[...]
> > sage: print M.str()
> > but there might be nicer (and more intuitive!) ways.
>
> I think that is the only way. I can't think of any nicer way. Any idea
> what it *should* be?
sage: M
29 x 2
On Fri, Aug 21, 2009 at 3:18 PM, Simon King wrote:
>
> On 22 Aug., 00:02, amps wrote:
> > I have a program that outputs a matrix for certain values of n. for
> > n=5 it works fine but for n=6 it just outputs
> >
> > 29 x 29 dense matrix over Integer Ring
> >
> > how can I force sage to output t
Since there's no way for me to tell how to reach homerj to comment on
his very, *very* nice worksheet on sagenb.org, I'll just mention here
(for him and for others that may benefit) that I made some revisions to
his worksheet that take advantage of some of the new things we've added
to Sage in
I have a program that outputs a matrix for certain values of n. for
n=5 it works fine but for n=6 it just outputs
29 x 29 dense matrix over Integer Ring
how can I force sage to output the actual matrix?
--~--~-~--~~~---~--~~
To post to this group, send email to s
On Fri, 21 Aug 2009, Nathann Cohen wrote:
>
> It's true that having Graphviz to plot our graphs would be very
> interesting I'd like to spend some time on this, but I sent a lot
> of patches to be reviewed already in the Graph section and I am not
> sure it is a good idea to send even more fo
It's true that having Graphviz to plot our graphs would be very
interesting I'd like to spend some time on this, but I sent a lot
of patches to be reviewed already in the Graph section and I am not
sure it is a good idea to send even more for the moment ^^;
There was a second question in my m
On 22 Aug., 00:02, amps wrote:
> I have a program that outputs a matrix for certain values of n. for
> n=5 it works fine but for n=6 it just outputs
>
> 29 x 29 dense matrix over Integer Ring
>
> how can I force sage to output the actual matrix?
Perhaps
sage: M = random_matrix(ZZ,29,29)
sag
Is there a way to 'map' the vertices of a graph as letters A-Z rather
than numbers 0-26?
AND
If so, will other functions or actions on the graph understand the
mapping? For example, if I setup an 'interact' where the drop-down
choices are numbers will the actions in the 'interact' understand th
On Fri, 21 Aug 2009, Jason Grout wrote:
>
> Nathann Cohen wrote:
>> Hello
>>
>> As we are dealing in Sage with a patch concerning the plotting of
>> Trees, I wondered why we were not using Graphviz to plot them.. The
>> answer is the usual one : Graphviz is not GPL-Uncompatible... Even
>> th
Nathann Cohen wrote:
> Hello
>
> As we are dealing in Sage with a patch concerning the plotting of
> Trees, I wondered why we were not using Graphviz to plot them.. The
> answer is the usual one : Graphviz is not GPL-Uncompatible... Even
> though, there is in Sage an optional package for Gra
On Fri, Aug 21, 2009 at 8:22 AM, Mani chandra wrote:
> Ondrej Certik wrote:
>> On Mon, Aug 17, 2009 at 11:06 AM, William Stein wrote:
>>
>>> On Mon, Aug 17, 2009 at 6:27 AM, Mani chandra wrote:
>>>
William Stein wrote:
> On Mon, Aug 17, 2009 at 2:26 AM, Juan Jose
> Garcia-Ripoll
Hi,
How does one define a variable in sage and make sure the it's
conjugate is the same as the variable itself?
Thanks,
Mani chandra
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send
Ondrej Certik wrote:
> On Mon, Aug 17, 2009 at 11:06 AM, William Stein wrote:
>
>> On Mon, Aug 17, 2009 at 6:27 AM, Mani chandra wrote:
>>
>>> William Stein wrote:
>>>
On Mon, Aug 17, 2009 at 2:26 AM, Juan Jose
Garcia-Ripoll wrote:
> On Mon, Aug 17, 2
Hello
As we are dealing in Sage with a patch concerning the plotting of
Trees, I wondered why we were not using Graphviz to plot them.. The
answer is the usual one : Graphviz is not GPL-Uncompatible... Even
though, there is in Sage an optional package for Graphviz that can be
installed prett
20 matches
Mail list logo