3 Commits

Author SHA1 Message Date
Kamil Ritz
13f092a30f sparse quadratic form 2020-08-26 19:45:05 +02:00
kritz
f981cea2ae
add possibility to iterate over SparseVector data at runtime (#143) 2020-08-09 09:44:49 +02:00
kritz
18699416b0
SparseVector (#140)
* Add SparseVector

temp

* Add gtest

* Some reworking of the sparse concept

* Change type of M from int to size_t

* Add const modifier

* Add needed declaration for accessing elements of _indices

* Add norm_squared, norm, longerThan

* Add test for all sparse vector functions

* Add missing const to slice's norm_squared, norm and longerThan

* Construction from Vector<M> and carray[N]

* try to fix ci

Co-authored-by: Julian Kent <julian@auterion.com>
2020-08-07 18:44:48 +02:00