[sage-devel] Re: sage matrix

2011-12-03 Thread Chappman
Yes, thats what I am trying to do. Is there a method to go about this? Kind Regards Chappman On Dec 3, 4:28 am, "Justin C. Walker" wrote: > On Dec 2, 2011, at 20:19 , Chappman wrote: > > > What I am trying to do is have matrix Q to have the values of matrix U > > for

[sage-devel] Re: sage matrix

2011-12-02 Thread Chappman
arate sage input command to get the two different matrices out. On Dec 1, 8:32 pm, Jason Grout wrote: > On 12/1/11 2:24 PM, Michael Orlitzky wrote: > > > > > > > > > > > On 12/01/2011 03:17 PM, Chappman wrote: > > >> def U(N,M): > >>      U=m

[sage-devel] sage matrix

2011-12-01 Thread Chappman
Hi folks, I am currently writing a code which uses a matrix in a previously defined function written in the same sage window, but I keep on getting this error message : TypeError: unable to coerce to an integer. thank you for your time. Kind Regards Chappman my code is this : def U

[sage-devel] Creating an Array in Sage, and making a code in Sage involving if, then and for loops

2011-10-26 Thread Chappman
Hi folks, I am relatively new to programming in Sage, and I am trying to find a method in of creating a 5 x 6 array, with probabilities as the the entrices to this array . Here's the tricky part, then I have to create a coding program which uses the probabilties in that array for example For i=

[sage-devel] Graph Theory Sage ; Clustering co-efficients

2011-10-06 Thread Chappman
I hit tabulation key now for help, I cannot find anything related to clustering coefficients, can anybody help please? Kind Regards Chappman -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr