Implement fixed size options for rotgen containers

See merge request oss/rotgen!11
This commit is contained in:
Joel Falcou 2025-07-20 20:23:51 +02:00
parent 8e545dd51a
commit 2084874b1b
39 changed files with 1247 additions and 323 deletions

View file

@ -6,7 +6,6 @@
*/
//==================================================================================================
#pragma once
#include <rotgen/matrix.hpp>
namespace rotgen
{
@ -88,7 +87,8 @@ namespace rotgen
double lpNorm(const rotgen::matrix<Scalar, Rows, Cols, Options, MaxRows, MaxCols> &matrix)
{
static_assert(P == 1 || P == 2 || P == Infinity);
return matrix.template lp_norm<P>();
return matrix.template lpNorm<P>();
}
template< typename Scalar, int Rows = -1, int Cols = 1, int Options = 0, int MaxRows = Rows, int MaxCols = Cols >