uw.cs.cs234
Discussion:
Input matrix
(too old to reply)
Tuan Hoang
2011-06-14 18:43:48 UTC
Permalink
We need to input a n x n matrix. Is a 1 x 1 matrix valid since n =
2^0 ?
T. Francis Chen
2011-06-14 21:50:14 UTC
Permalink
Yes it is valid. However it would look something like this:
a = [[0]]
Note that it is still a 2d matrix. Each dimension just has length 1.
Post by Tuan Hoang
We need to input a n x n matrix. Is a 1 x 1 matrix valid since n =
2^0 ?
1 Reply
1 View
Permalink to this page
Disable enhanced parsing
Thread Navigation
Tuan Hoang
2011-06-14 18:43:48 UTC
T. Francis Chen
2011-06-14 21:50:14 UTC
Loading...