eigen/test
Antonio Sanchez c6efc4e0ba Replace M_LOG2E and M_LN2 with custom macros.
For these to exist we would need to define `_USE_MATH_DEFINES` before
`cmath` or `math.h` is first included.  However, we don't
control the include order for projects outside Eigen, so even defining
the macro in `Eigen/Core` does not fix the issue for projects that
end up including `<cmath>` before Eigen does (explicitly or transitively).

To fix this, we define `EIGEN_LOG2E` and `EIGEN_LN2` ourselves.
2020-12-11 14:34:31 -08:00
..
adjoint.cpp Add conjugateIf<bool> members to DesneBase, TriangularView, SelfadjointView, and make PartialPivLU use it. 2019-01-17 11:33:43 +01:00
AnnoyingScalar.h Disable an expected warning in unit test 2019-10-08 16:28:14 +02:00
array_cwise.cpp Add log2() to Eigen. 2020-12-04 21:45:09 +00:00
array_for_matrix.cpp Extend unit tests for partial reductions 2018-10-09 22:54:54 +02:00
array_of_string.cpp
array_replicate.cpp
array_reverse.cpp revert debug stuff 2019-03-14 10:08:12 +01:00
bandmatrix.cpp
basicstuff.cpp Explicit casts of S -> std::complex<T> 2020-11-14 05:50:42 +00:00
bdcsvd.cpp Fix unit-test which I broke in previous fix 2019-12-19 13:42:14 +01:00
bfloat16_float.cpp Fix Half NaN definition and test. 2020-11-23 14:13:59 -08:00
bicgstab.cpp Avoid I as an identifier, since it may clash with the C-header complex.h 2019-01-25 14:54:39 +01:00
blasutil.cpp Suppress ignored-attributes warning (same as in vectorization_logic). Remove redundant include and using namespace. 2020-11-13 16:21:53 +01:00
block.cpp Fix detection of vector-at-time: use Rows/Cols instead of MaxRow/MaxCols. 2019-01-15 15:09:49 +01:00
boostmultiprec.cpp Fix erroneous forward declaration of boost nvp. 2020-11-10 13:07:34 -03:00
bug1213_main.cpp
bug1213.cpp
bug1213.h
cholesky.cpp PR 567: makes all dense solvers inherit SoverBase (LU,Cholesky,QR,SVD). 2019-01-17 01:17:39 +01:00
cholmod_support.cpp
CMakeLists.txt Make inclusion of doc sub-directory optional by adjusting options. 2020-11-27 08:11:49 +11:00
commainitializer.cpp CommaInitializer wrongfully asserted for 0-sized blocks 2020-04-13 16:41:20 +02:00
conjugate_gradient.cpp Avoid I as an identifier, since it may clash with the C-header complex.h 2019-01-25 14:54:39 +01:00
conservative_resize.cpp
constructor.cpp fix unit test in c++03: c++03 does not allow passing local or anonymous enum as template param 2019-03-18 11:38:36 +01:00
corners.cpp
ctorleak.cpp check two ctors 2018-11-23 15:37:09 +01:00
dense_storage.cpp bug #1046: add unit tests for correct propagation of alignment through std::alignment_of 2019-02-19 10:31:56 +01:00
denseLM.cpp
determinant.cpp
diagonal_matrix_variadic_ctor.cpp PR 593: Add variadtic ctor for DiagonalMatrix with unit tests 2019-03-14 10:18:24 +01:00
diagonal.cpp
diagonalmatrices.cpp bug #520: add diagmat +/- diagmat operators. 2018-10-10 23:38:22 +02:00
dontalign.cpp
dynalloc.cpp bug #1409: make EIGEN_MAKE_ALIGNED_OPERATOR_NEW* macros empty in c++17 mode: 2019-02-20 13:52:11 +01:00
eigen2support.cpp
eigensolver_complex.cpp
eigensolver_generalized_real.cpp
eigensolver_generic.cpp After fixing bug #1557, boostmultiprec_7 failed with NumericalIssue instead of NoConvergence (all that matters here is no Success) 2019-01-17 19:14:07 +01:00
eigensolver_selfadjoint.cpp
evaluator_common.h
evaluators.cpp Add explicit regression test for bug #1622 2018-11-16 11:24:51 +01:00
exceptions.cpp
fastmath.cpp Relaxed fastmath unit test: if std::foo fails, then let's only trigger a warning is numext::foo fails too. 2018-10-11 09:45:30 +02:00
first_aligned.cpp
geo_alignedbox.cpp Fix alignedbox 32-bit precision test failure. 2020-09-30 08:42:03 -07:00
geo_eulerangles.cpp
geo_homogeneous.cpp
geo_hyperplane.cpp Fix #1757: remove the word 'suicide' 2020-06-11 00:56:54 +00:00
geo_orthomethods.cpp
geo_parametrizedline.cpp
geo_quaternion.cpp Guard operator<< test by EIGEN_NO_IO. 2020-07-09 19:54:48 +00:00
geo_transformations.cpp Removing executable bit from file mode 2020-01-11 15:02:29 +01:00
gpu_basic.cu
gpu_common.h Fixing a CUDA / P100 regression introduced by PR 181 2020-08-20 00:29:57 +00:00
half_float.cpp Fix Half NaN definition and test. 2020-11-23 14:13:59 -08:00
hessenberg.cpp
householder.cpp
incomplete_cholesky.cpp Avoid I as an identifier, since it may clash with the C-header complex.h 2019-01-25 14:54:39 +01:00
indexed_view.cpp Guard usage of decltype since it's a C++11 feature 2020-05-20 16:04:16 +02:00
initializer_list_construction.cpp Make file formatting comply with POSIX and Unix standards 2020-03-23 18:09:02 +00:00
inplace_decomposition.cpp
integer_types.cpp Protecting integer_types's long long test with a check to see if we have CXX11 support. 2020-01-07 14:35:35 +00:00
inverse.cpp bug #1669: fix PartialPivLU/inverse with zero-sized matrices. 2019-01-29 10:27:13 +01:00
io.cpp Added io test 2019-12-11 18:22:57 +00:00
is_same_dense.cpp
jacobi.cpp Move regression test to right unit test file 2018-11-21 15:59:47 +01:00
jacobisvd.cpp PR 567: makes all dense solvers inherit SoverBase (LU,Cholesky,QR,SVD). 2019-01-17 01:17:39 +01:00
klu_support.cpp
linearstructure.cpp
lscg.cpp
lu.cpp Enable unit tests of PartialPivLU on fixed size matrices, and increase tested matrix size (blocking was not tested!) 2019-02-11 17:56:20 +01:00
main.h Include chrono in main for c++11. 2020-12-03 11:27:32 -08:00
mapped_matrix.cpp
mapstaticmethods.cpp
mapstride.cpp
meta.cpp Initialize primitives to fix -Wuninitialized-const-reference. 2020-11-18 20:23:20 +00:00
metis_support.cpp
miscmatrices.cpp
mixingtypes.cpp
MovableScalar.h Fix #1911: add benchmark for move semantics with fixed-size matrix 2020-06-11 23:43:25 +00:00
mpl2only.cpp Guard against repeated definition of EIGEN_MPL2_ONLY 2019-08-07 14:19:00 -07:00
nestbyvalue.cpp Make nestByValue works again (broken since 3.3) and add unit tests. 2019-01-17 18:27:25 +01:00
nesting_ops.cpp
nomalloc.cpp
nullary.cpp Add unit test for LinSpaced and complex numbers. 2019-02-18 22:03:47 +01:00
num_dimensions.cpp
numext.cpp Support BFloat16 in Eigen 2020-06-20 19:16:24 +00:00
packetmath_test_shared.h Clean up packetmath tests and fix various bugs to make bfloat16 pass (almost) all packetmath tests with SSE, AVX, and AVX512. 2020-10-09 20:05:49 +00:00
packetmath.cpp Replace M_LOG2E and M_LN2 with custom macros. 2020-12-11 14:34:31 -08:00
pardiso_support.cpp
pastix_support.cpp
permutationmatrices.cpp Enable CompleteOrthogonalDecomposition::pseudoInverse with non-square fixed-size matrices. 2019-11-13 21:16:53 +01:00
prec_inverse_4x4.cpp
product_extra.cpp
product_large.cpp Add explicit regression test for bug #1622 2018-11-16 11:24:51 +01:00
product_mmtr.cpp bug #1741: fix SelfAdjointView::rankUpdate and product to triangular part for destination with non-trivial inner stride 2019-09-10 23:29:52 +02:00
product_notemporary.cpp Fix regression: .conjugate() was popped out but not re-introduced. 2019-02-18 14:45:55 +01:00
product_selfadjoint.cpp
product_small.cpp Extend support for Packet16b: 2020-04-28 16:12:47 +00:00
product_symm.cpp bug #1741: fix self-adjoint*matrix, triangular*matrix, and triangular^1*matrix with a destination having a non-trivial inner-stride 2019-09-11 15:04:25 +02:00
product_syrk.cpp bug #1741: fix SelfAdjointView::rankUpdate and product to triangular part for destination with non-trivial inner stride 2019-09-10 23:29:52 +02:00
product_trmm.cpp bug #1741: fix self-adjoint*matrix, triangular*matrix, and triangular^1*matrix with a destination having a non-trivial inner-stride 2019-09-11 15:04:25 +02:00
product_trmv.cpp
product_trsolve.cpp bug #1741: fix self-adjoint*matrix, triangular*matrix, and triangular^1*matrix with a destination having a non-trivial inner-stride 2019-09-11 15:04:25 +02:00
product.h bug #1741: fix C.noalias() = A*C; with C.innerStride()!=1 2019-09-10 16:25:24 +02:00
qr_colpivoting.cpp Enable CompleteOrthogonalDecomposition::pseudoInverse with non-square fixed-size matrices. 2019-11-13 21:16:53 +01:00
qr_fullpivoting.cpp PR 567: makes all dense solvers inherit SoverBase (LU,Cholesky,QR,SVD). 2019-01-17 01:17:39 +01:00
qr.cpp PR 567: makes all dense solvers inherit SoverBase (LU,Cholesky,QR,SVD). 2019-01-17 01:17:39 +01:00
qtvector.cpp
rand.cpp
random_without_cast_overflow.h Fix tensor casts for large packets and casts to/from std::complex 2020-06-30 18:53:55 +00:00
real_qz.cpp
redux.cpp Fix bug in partial reduction of expressions requiring evaluation 2018-10-10 13:23:52 -07:00
ref.cpp Enable construction of Ref<VectorType> from a runtime vector. 2019-03-03 15:25:25 +01:00
reshape.cpp Extend reshaped unit tests and remove useless const_cast 2019-01-17 17:35:32 +01:00
resize.cpp
rvalue_types.cpp Fix #1911: add benchmark for move semantics with fixed-size matrix 2020-06-11 23:43:25 +00:00
schur_complex.cpp
schur_real.cpp
selfadjoint.cpp
simplicial_cholesky.cpp Avoid I as an identifier, since it may clash with the C-header complex.h 2019-01-25 14:54:39 +01:00
sizeof.cpp
sizeoverflow.cpp
smallvectors.cpp
solverbase.h PR 567: makes all dense solvers inherit SoverBase (LU,Cholesky,QR,SVD). 2019-01-17 01:17:39 +01:00
sparse_basic.cpp Fix #1974: assertion when reserving an empty sparse matrix 2020-08-26 12:32:20 +02:00
sparse_block.cpp
sparse_permutations.cpp
sparse_product.cpp Fix sparse_extra_3, disable counting temporaries for testing DynamicSparseMatrix. 2020-11-18 23:15:33 +00:00
sparse_ref.cpp
sparse_solver.h Show call stack in case of failing sparse solving. 2018-10-16 00:43:44 +02:00
sparse_solvers.cpp bug #1617: add unit tests for empty triangular solve. 2019-01-16 15:24:59 +01:00
sparse_vector.cpp
sparse.h Fix compilation with gcc and remove TR1 stuff. 2019-02-20 13:59:34 +01:00
sparseLM.cpp
sparselu.cpp
sparseqr.cpp bug #899: make sparseqr unit test more stable by 1) trying with larger threshold and 2) relax rank computation for rank-deficient problems. 2019-02-19 22:57:51 +01:00
special_numbers.cpp
split_test_helper.h
spqr_support.cpp
stable_norm.cpp
stddeque_overload.cpp Fix gcc 8.1 warning: "maybe use uninitialized" 2018-10-07 21:54:49 +02:00
stddeque.cpp Fix gcc 8.1 warning: "maybe use uninitialized" 2018-10-07 21:54:49 +02:00
stdlist_overload.cpp Fix gcc 8.1 warning: "maybe use uninitialized" 2018-10-07 21:54:49 +02:00
stdlist.cpp Fix gcc 8.1 warning: "maybe use uninitialized" 2018-10-07 21:54:49 +02:00
stdvector_overload.cpp Fix gcc 8.1 warning: "maybe use uninitialized" 2018-10-07 21:54:49 +02:00
stdvector.cpp Fix gcc 8.1 warning: "maybe use uninitialized" 2018-10-07 21:54:49 +02:00
stl_iterators.cpp Added support for reverse iterators for Vectorwise operations. 2020-05-14 22:38:20 +00:00
superlu_support.cpp
svd_common.h PR 567: makes all dense solvers inherit SoverBase (LU,Cholesky,QR,SVD). 2019-01-17 01:17:39 +01:00
svd_fill.h
swap.cpp
symbolic_index.cpp cleanup 2019-01-15 10:51:03 +01:00
triangular.cpp bug #1707: Fix deprecation warnings, or disable warnings when testing deprecated functions 2019-05-10 14:57:05 +02:00
type_alias.cpp Add fully generic Vector<Type,Size> and RowVector<Type,Size> type aliases. 2019-02-20 15:23:23 +01:00
umeyama.cpp Fix double = bool ! 2018-11-23 15:12:06 +01:00
umfpack_support.cpp
unalignedassert.cpp
unalignedcount.cpp
upperbidiagonalization.cpp
vectorization_logic.cpp Delete duplicate test cases in vectorization_logic.cpp 2020-07-01 00:51:15 +00:00
vectorwiseop.cpp Cleanup useless const_cast and add missing broadcast assignment tests 2019-01-17 16:55:42 +01:00
visitor.cpp
zerosized.cpp Enable visitor on empty matrices (the visitor is left unchanged), and protect min/maxCoeff(Index*,Index*) on empty matrices by an assertion (+ doc & unit tests) 2019-01-15 15:21:14 +01:00