On 22/03/18 11:35, Connie Callaghan wrote:
> Hi, 
> I was just looking help for a matrix that I am building, it needs to look 
> like this 
> 1, 0, 0, ...,0
> A,b,c,0,...,0
> 0,a,b,c,...,0
> 0,0,a,b,c,..0
> 0,0,0,a,b,c,...,0
> 0,0,0,0...0, 1 

What exactly are the a,b,c values?
Are they variables or literal characters?
Or something else?

Also, how many cells do the ... represent?
Do you know in advance? or are they dynamically calculated?
If the latter then based on what?

The first and last rows are completely different - no a,b,c
values - how are they determined?
ie How do you know you have reached the last row?

We need a much more rigorous specification.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to