> Hi all, I'm confused why this code results in a graph plotted with the
> (single) edges labeled with the weight between each pair of vertices:
>
> M = Matrix([[0,1,-1,5],[1,0,-1/2,-1],[-1,-1/2,0,2],[5,-1,2,0]])
> G = Graph(M,sparse=True)
> G.plot(edge_labels=True)
>
> Whereas this code does not a
Hi Daniel,
On 10 Dez., 00:17, Daniel Starin wrote:
> Hi all,
>
> How can I use sage to generate a random rxr matrix over F_q (q is a
> prime power) with determinant 1?
First, create the group of all matrices with determinant 1 (in the
example, q is 9 and r is 5)
sage: G = SL(5, GF(9,'z'))
Th
Hi all,
How can I use sage to generate a random rxr matrix over F_q (q is a
prime power) with determinant 1?
Thanks!
Dan
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more optio
Hi all, I'm confused why this code results in a graph plotted with the
(single) edges labeled with the weight between each pair of vertices:
M = Matrix([[0,1,-1,5],[1,0,-1/2,-1],[-1,-1/2,0,2],[5,-1,2,0]])
G = Graph(M,sparse=True)
G.plot(edge_labels=True)
Whereas this code does not and instead has
On Dec 9, 12:18 pm, David Joyner wrote:
> This is a question for sage-support, which I am ccing.
>
> On Fri, Dec 9, 2011 at 5:04 AM, Jean-Patrick Pommier
>
> wrote:
> > Hi,
> > Is it possible to solve equation with complex variable such 1/z=1+i?
>
> > I try without success:
>
> > show(solve(1/z
This is a question for sage-support, which I am ccing.
On Fri, Dec 9, 2011 at 5:04 AM, Jean-Patrick Pommier
wrote:
> Hi,
> Is it possible to solve equation with complex variable such 1/z=1+i?
>
> I try without success:
>
> show(solve(1/z==i,z))
> which returns
> [] (-i waited).
>
> I didn't suc