Skip to content

Switch smawk_row_minima and smawk_column_minima functions to a new Matrix trait#46

Merged
mgeisler merged 2 commits intomasterfrom
matrix-trait
Aug 23, 2020
Merged

Switch smawk_row_minima and smawk_column_minima functions to a new Matrix trait#46
mgeisler merged 2 commits intomasterfrom
matrix-trait

Conversation

@mgeisler
Copy link
Owner

The new Matrix trait allows us to switch unit tests away from using ndarray::arr2<T> to a simple vec<vec<T>> matrix type. This will in turn allow us to make ndarray optional later.

The smawk_row_minima and smawk_column_minima functions no longer refer
to the ndarray crate directly. Instead they use a trait which we can
implement without using ndarray.
This gives us an easy way to show examples and to do simple tests.
@mgeisler mgeisler merged commit dc846a2 into master Aug 23, 2020
@github-actions github-actions bot mentioned this pull request Sep 2, 2020
@mgeisler mgeisler deleted the matrix-trait branch January 30, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant