Skip to content
Snippets Groups Projects
Commit 5dc7dd2c authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

add "unchecked" versions of `Matrix::{vandermonde,from_vec_vec}` and test both...

add "unchecked" versions of `Matrix::{vandermonde,from_vec_vec}` and test both matrices (dragoon/komodo!75)

## changelog
- replace `Matrix::vandermonde` with `Matrix::vandermonde_unchecked`
- add a new `Matrix::vandermonde` which calls `Matrix::vandermonde_unchecked` after checking the seed points are distinct, otherwise, gives a `KomodoError::InvalidVandermonde` error
- same with `Matrix::from_vec_vec` and `Matrix::from_vec_vec_unchecked`
- add documentation tests for the two "checked" functions
- run the main lib tests on both a random and a Vandermond matrix, just to be sure we do not take advantage of the Vandermonde structure
parent 750fdbf6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment