Commit Graph

3 Commits

Author SHA1 Message Date
kortschak
b3019360f6 Fix dimensio typo
This caused a panic with b matrices that are not square.
2014-01-08 10:30:33 +10:30
kortschak
b10f3a00f3 Change NewDense signature and behaviour
This is an API breaking change.

NewDense now panics if len(mat) != r*c, unless mat == nil. When mat is
nil a new, correctly sized slice is allocated.
2014-01-08 09:56:39 +10:30
kortschak
8a6654a9a1 Merge mat64/la into mat64
This has been done to resolve a circular dependency issue that prevents
Norm(2) and Norm(-2) from being implemented.
2013-11-20 09:07:33 +10:30