31 using FullPrecValue = std::complex<double>;
32 using Value = std::complex<TestType>;
34 using FullPrecValue = double;
35 using Value = TestType;
helper functions for EinsplineSetBuilder
CHECKED_ELSE(check_matrix_result.result)
void transpose(const T *restrict A, size_t m, size_t lda, TO *restrict B, size_t n, size_t ldb)
transpose of A(m,n) to B(n,m)
std::enable_if_t< std::is_same< TMAT, T_FP >::value > invert_transpose(const Matrix< TMAT > &logdetT, Matrix< TMAT > &Ainv, Matrix< TMAT, CUDAAllocator< TMAT >> &Ainv_gpu, std::complex< TREAL > &log_value)
compute the inverse of the transpose of matrix A and its determinant value in log when T_FP and TMAT ...
void resize(size_type n, size_type m)
Resize the container.
Catch::Detail::LogComplexApprox LogComplexApprox
static void fillInverse(Matrix< T > &b)
CheckMatrixResult checkMatrix(M1 &a_mat, M2 &b_mat, const bool check_all=false, std::optional< const double > eps=std::nullopt)
This function checks equality a_mat and b_mat elements M1, M2 need to have their element type declare...
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))
void fillIdentityMatrix(Matrix< T > &m)
TEMPLATE_TEST_CASE("RandomRotationMatrix", "[numerics]", float, double)
std::complex< double > LogValue
implements matrix inversion via cuSolverDN
static void fillInput(Matrix< T > &a)