Implement fixed size options for rotgen containers
See merge request oss/rotgen!11
This commit is contained in:
parent
8e545dd51a
commit
2084874b1b
39 changed files with 1247 additions and 323 deletions
|
|
@ -5,11 +5,9 @@
|
|||
SPDX-License-Identifier: BSL-1.0
|
||||
*/
|
||||
//==================================================================================================
|
||||
#define TTS_MAIN
|
||||
#include <rotgen/matrix.hpp>
|
||||
#include "tts.hpp"
|
||||
#include "unit/tests.hpp"
|
||||
#include <rotgen/rotgen.hpp>
|
||||
#include <Eigen/Dense>
|
||||
#include "rotgen/functions.hpp"
|
||||
|
||||
template <typename MatrixType>
|
||||
struct MatrixDescriptor
|
||||
|
|
@ -38,6 +36,10 @@ void test_matrix_unary_ops(std::size_t rows, std::size_t cols,
|
|||
TTS_EQUAL(rotgen::conjugate(original), original);
|
||||
TTS_EQUAL(rotgen::adjoint(original), transposed_matrix);
|
||||
|
||||
TTS_EXPECT(verify_rotgen_reentrance(rotgen::transpose(original)));
|
||||
TTS_EXPECT(verify_rotgen_reentrance(rotgen::conjugate(original)));
|
||||
TTS_EXPECT(verify_rotgen_reentrance(rotgen::adjoint(original)));
|
||||
|
||||
rotgen::transposeInPlace(original);
|
||||
TTS_EQUAL(original, transposed_matrix);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue