Sha256: 50fbe7353085f5a334e8319c03c6ab563f30146557d143141aa5f4343dde264f
Contents?: true
Size: 505 Bytes
Versions: 61
Compression:
Stored size: 505 Bytes
Contents
## Hints To complete this exercise, you need to create the data type `Matrix`, with `Eq` and `Show` instances, and implement the following functions: - `cols` - `column` - `flatten` - `fromList` - `fromString` - `reshape` - `row` - `rows` - `shape` - `transpose` You will find the type signatures already in place, but it is up to you to define the functions. No validation of input is required. Let it fail if the matrix is not rectangular, invalid chars are encountered, etc. shape is (rows, cols)
Version data entries
61 entries across 61 versions & 1 rubygems