rulinalg v0.4.0 Release NotesRelease Date: 2016-12-27 // almost 4 years ago
🚀 This release includes mostly quality of life changes for users of rulinalg. We do some work to conform more to community standards with naming, for example
row_iter. Additionally several
Matrixfunctions now consume
self👯 where before they took a reference and immediately cloned
Another noticable change is the addition of new
Columntypes. These types are returned by functions which access single rows or columns in a matrix. With these new types we aim to make it easy for users to do matrix operations on single 🐎 rows and columns while maintaining performance where necessary.
🚀 This release also welcomes an overhaul of the
Metrictrait. This trait didn't really make sense and only allowed computation of the euclidean norm. We have created new
Metrictraits for both
Vectorand matrix types (we would like a single pair of traits but this is not possible without specialization). These new traits allow users to write code which is generic over norms and specify their own norms. We also provide
Metricimplementations for all
Normimplementors by computing the norm of the difference between the objects.
🚀 The full release notes are below.
🆕 New Contributors
💥 Breaking Changes
MatrixSliceMuthas been depreciated.
- Rename iterator functions to
*_iter(_mut). Affected functions are:
diagfunction now returns an iterator.
- ✂ Removed the
Metrictrait and all implementations.
- Some functions now consume
selfinstead of cloning internally:
get_rowno longer returns a
&[T]. Instead it returns the new
- Row iterator no longer has a
&[T]item. Instead if uses the new
- 🚚 Moved the
BaseMatrixMuttraits to a new
try_intofunction using num's
- ➕ Added new traits to replace
VectorNorm. These come with
- ➕ Added new
get_rowfunctions now return the new
- ➕ Added a new
get_colfunction which returns the new
row_iterfunction uses the new
Rowtype as the iterator
🐛 Bug Fixes
- 🛠 Fixed a bug in the ULP comparator where only exact matches were allowed.
swap_colsfunctions are now no-ops if given two identical indices.
- Splitting out the
slicemodule for developer QOL.