First batch of rotgen implementation: constructors, basic infrastructure

This commit is contained in:
Karen Kaspar 2025-05-16 16:01:17 +02:00 committed by Joel Falcou
parent 2554a83890
commit afd504d679
9 changed files with 428 additions and 10 deletions

View file

@ -14,9 +14,9 @@ TTS_CASE("Check operator*")
rotgen::matrix<double> a(2,2);
rotgen::matrix<double> ref(2,2);
for(int r=0;r<a.rows();r++)
for(std::size_t r=0;r<a.rows();r++)
{
for(int c=0;c<a.cols();c++)
for(std::size_t c=0;c<a.cols();c++)
{
a(r,c) = (1+c) + 10*(1+r);
ref(r,c) = ((1+c) + 10*(1+r)) * 10.5;