A generic matrix library
Write a small linear-algebra library the way crates are written. A generic Matrix type with validated construction, Index and Display, + and * through operator overloading, and fast powers by repeated squaring. Graded by hidden unit tests, like a real library.
Milestones
- Storage and shape
- Index, IndexMut and Display
- Adding with +
- Matrix multiplication
- Polish: powers, trace and a Fibonacci trick