eigen/test
Gael Guennebaud 53c77061f0 bug #698: rewrite LinSpaced for integer scalar types to avoid overflow and guarantee an even spacing when possible.
Otherwise, the "high" bound is implicitly lowered to the largest value allowing for an even distribution.
This changeset also disable vectorization for this integer path.
2016-10-24 15:50:27 +02:00
..
adjoint.cpp Fix compilation in check_for_aliasing due to ambiguous specializations 2016-08-23 16:19:10 +02:00
array_for_matrix.cpp Relax mixing-type constraints for binary coefficient-wise operators: 2016-06-06 15:11:41 +02:00
array_of_string.cpp Add minimal support for Array<string>, and fix Tensor<string> 2016-07-25 14:25:56 +02:00
array_replicate.cpp Add unit test for m.replicate(...)(index). 2015-06-08 15:42:15 +02:00
array_reverse.cpp Add missing non-const reverse method in VectorwiseOp. 2016-07-16 15:19:28 +02:00
array.cpp Add missing Eigen::rsqrt global function 2016-07-20 11:59:49 +02:00
bandmatrix.cpp bug #877, bug #572: Introduce a global Index typedef. Rename Sparse*::Index to StorageIndex, make Dense*::StorageIndex an alias to DenseIndex. Overall this commit gets rid of all Index conversion warnings. 2014-12-04 22:48:53 +01:00
basicstuff.cpp Add unit tests for bug #981: valid and invalid usage of ternary operator 2015-09-09 11:38:25 +02:00
bdcsvd.cpp split compiler intensive bdcsvd_1 unit test 2015-06-26 16:14:23 +02:00
bicgstab.cpp Do go to full accuracy when testing BiCGSTAB. 2015-06-05 14:32:26 +02:00
block.cpp Fix shortcoming in fixed-value deduction of startRow/startCol 2016-02-29 10:31:27 +01:00
boostmultiprec.cpp Extend boost.multiprec unit test with ET on, complexes, and general/generalized eigenvalue solvers. 2016-07-25 12:36:22 +02:00
bug1213_main.cpp Big 1213: add regression unit test. 2016-05-18 14:03:03 +02:00
bug1213.cpp Big 1213: add regression unit test. 2016-05-18 14:03:03 +02:00
bug1213.h Big 1213: add regression unit test. 2016-05-18 14:03:03 +02:00
cholesky.cpp fix typo 2016-09-21 21:53:00 +02:00
cholmod_support.cpp bug #1095: add Cholmod*::logDeterminant/determinant (from patch of Joshua Pritikin) 2016-01-22 16:05:29 +01:00
CMakeLists.txt Improved support for compiling CUDA code with clang as the host compiler 2016-10-03 17:09:33 -07:00
commainitializer.cpp bug #1272: Disable assertion when total number of columns is zero. 2016-08-12 15:15:34 +02:00
conjugate_gradient.cpp Add unit tests for CG and sparse-LLT for long int as storage-index 2015-03-09 14:33:15 +01:00
conservative_resize.cpp Allow .conservativeResize(rows,cols) on vectors 2013-10-16 12:07:33 +02:00
corners.cpp Implement mixed static/dynamic-size .block() (bug #579) 2013-06-18 14:29:15 +01:00
ctorleak.cpp Constructing a Matrix/Array with implicit transpose could lead to memory leaks. 2015-04-16 13:25:20 +02:00
cuda_basic.cu bug #1266: remove CUDA guards on MatrixBase::<decomposition> definitions. (those used to break old nvcc versions that we propably don't care anymore) 2016-09-06 09:55:50 +02:00
cuda_common.h NVCC: add more debug info 2014-01-24 12:51:33 +01:00
dense_storage.cpp Switched to MPL2 license. 2013-08-12 07:39:24 +02:00
denseLM.cpp Add tests for dense and sparse levenberg-Marquardt 2012-12-07 15:48:21 +01:00
determinant.cpp Introduce a TEST_SET_BUT_UNUSED_VARIABLE macro for initialized but unused variables in the unit tests and also fix a few other warnings. 2013-06-25 11:42:04 +02:00
diagonal.cpp bug #178: remove additional const on nested expression, and remove several const_cast. 2016-01-28 21:43:20 +01:00
diagonalmatrices.cpp Fix bug #987: wrong alignement guess in diagonal product. 2015-03-31 23:35:12 +02:00
dontalign.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
dynalloc.cpp Fix numerous pointer-to-integer conversion warnings in unit tests. 2016-05-26 17:41:28 +02:00
eigen2support.cpp Fix bug #314: move remaining math functions from internal to numext namespace 2013-06-10 23:40:56 +02:00
eigensolver_complex.cpp Limit matrix size for other eigen and schur decompositions 2015-10-30 18:06:03 +01:00
eigensolver_generalized_real.cpp Fix unit test for 1x1 matrices 2016-08-30 10:20:23 +02:00
eigensolver_generic.cpp Improve numerical robustness of RealSchur: add scaling and compare sub-diag entries to largest diagonal entry instead of the 2 neighbors. 2016-07-06 13:45:30 +02:00
eigensolver_selfadjoint.cpp Fix testing of nearly zero input matrices. 2016-07-26 14:46:02 +02:00
evaluator_common.h bug #99: refactor assignment and compound assignment mechanism through "assignment functors" and "assignement kernels". 2013-11-06 18:17:59 +01:00
evaluators.cpp Fix compilation of evaluator unit test 2016-06-14 11:03:26 +02:00
exceptions.cpp Add a few missing standard functions for ScalarWithExceptions type. 2013-04-17 10:24:31 +02:00
fastmath.cpp Silent warning. 2016-09-17 14:14:01 +02:00
first_aligned.cpp Fix numerous pointer-to-integer conversion warnings in unit tests. 2016-05-26 17:41:28 +02:00
geo_alignedbox.cpp Relax strict equality 2016-07-09 23:37:11 +02:00
geo_eulerangles.cpp Introduce EIGEN_PI, get rid of M_PI and acos(-1.0) 2015-06-10 17:12:10 +02:00
geo_homogeneous.cpp bug #1310: workaround a compilation regression from 3.2 regarding triangular * homogeneous 2016-09-30 22:49:59 +02:00
geo_hyperplane.cpp Enable and fix -Wdouble-conversion warnings 2016-05-05 13:35:45 +02:00
geo_orthomethods.cpp Fix nested_eval<Product<> > which wrongly returned a Product<> expression 2014-09-24 09:39:09 +02:00
geo_parametrizedline.cpp Many files were missing in previous changeset. 2015-07-29 11:11:23 +02:00
geo_quaternion.cpp Fix some conversion warnings in unit tests. 2016-05-26 17:42:12 +02:00
geo_transformations.cpp Remove static qualifier of free-functions (inline is enough and this helps ICC to find the right overload) 2016-10-07 09:21:12 +02:00
half_float.cpp Add log1p support for CUDA and half floats 2016-08-08 20:24:59 +01:00
hessenberg.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
householder.cpp Fix HouseholderSequence::conjugate() and ::adjoint() and add respective unit tests. 2013-06-17 00:14:42 +02:00
incomplete_cholesky.cpp bug #1150: make IncompleteCholesky more robust by iteratively increase the shift until the factorization succeed (with at most 10 attempts). 2016-01-23 22:13:54 +01:00
inplace_decomposition.cpp Fix warning. 2016-07-06 11:05:30 +02:00
integer_types.cpp bug #1195: move NumTraits::Div<>::Cost to internal::scalar_div_cost (with some specializations in arch/SSE and arch/AVX) 2016-09-08 08:36:27 +02:00
inverse.cpp Fix shadow warnings triggered by clang 2015-06-09 09:11:12 +02:00
is_same_dense.cpp Fix unit test. 2016-06-03 08:12:14 +02:00
jacobi.cpp Fix a couple of warnings in unit tests. 2013-07-05 13:35:34 +02:00
jacobisvd.cpp Reduce compiler memory consumption for SVD unit tests 2015-06-22 09:58:06 +02:00
linearstructure.cpp Implement expr+scalar, scalar+expr, expr-scalar, and scalar-expr as binary expressions, and generalize supported scalar types. 2016-06-14 12:06:10 +02:00
lscg.cpp Rename LSCG to LeastSquaresConjugateGradient 2015-03-05 10:16:32 +01:00
lu.cpp Addresses comments on Eigen pull request PR-174. 2016-04-04 14:20:01 -07:00
main.h enable testing of Boost.Multiprecision with expression templates 2016-07-20 18:21:30 +02:00
mapped_matrix.cpp Fix numerous pointer-to-integer conversion warnings in unit tests. 2016-05-26 17:41:28 +02:00
mapstaticmethods.cpp Fix many long to int implicit conversions 2014-07-08 16:47:11 +02:00
mapstride.cpp Fix numerous pointer-to-integer conversion warnings in unit tests. 2016-05-26 17:41:28 +02:00
meta.cpp bug #826: fix is_convertible for MSVC and add minimalistic unit test for is_convertible 2014-07-16 13:17:06 +02:00
metis_support.cpp Switch to MPL2 2015-10-23 10:36:33 +02:00
miscmatrices.cpp Clean source code and unit tests with respect to -Wunused-local-typedefs 2013-04-10 22:27:35 +02:00
mixingtypes.cpp Prevent division by zero. 2016-07-07 11:03:01 +02:00
mpl2only.cpp Make the IterativeLinearSolvers module compatible with MPL2-only mode 2015-10-26 15:17:52 +01:00
nesting_ops.cpp Introduce a NumTraits<T>::Literal type to be used for literals, and 2016-06-23 14:27:20 +02:00
nomalloc.cpp add nomalloc unit test for rank2 updates 2016-01-27 17:26:48 +01:00
nullary.cpp bug #698: rewrite LinSpaced for integer scalar types to avoid overflow and guarantee an even spacing when possible. 2016-10-24 15:50:27 +02:00
packetmath.cpp Fix a bug in the implementation of Carmack's fast sqrt algorithm in Eigen (enabled by EIGEN_FAST_MATH), which causes the vectorized parts of the computation to return -0.0 instead of NaN for negative arguments. 2016-10-04 14:22:56 -07:00
pardiso_support.cpp modify the unit tests of sparse linear solvers to enable tests on real matrices, from MatrixMarket for instance 2012-03-29 14:32:54 +02:00
pastix_support.cpp bug #1149: fix Pastix*::*parm() 2016-01-20 19:01:24 +01:00
permutationmatrices.cpp Check number of temporaries when applying permutations 2015-06-19 16:39:24 +02:00
prec_inverse_4x4.cpp Fix 4x4 inverse with non-linear destination 2016-08-30 23:16:38 +02:00
product_extra.cpp bug #1308: fix compilation of some small products involving nullary-expressions. 2016-09-29 09:40:44 +02:00
product_large.cpp Fixed compilation error with clang. 2016-04-27 19:32:12 -07:00
product_mmtr.cpp Add unit test for bug #879 2015-06-16 22:11:41 +02:00
product_notemporary.cpp Optimize expression matching "d?=a-b*c" as "d?=a; d?=b*c;" 2016-08-23 16:52:22 +02:00
product_selfadjoint.cpp Workaround dead store warnings in unit tests. 2015-02-18 11:30:44 +01:00
product_small.cpp bug #1311: fix alignment logic in some cases of (scalar*small).lazyProduct(small) 2016-09-26 23:53:40 +02:00
product_symm.cpp Clean source code and unit tests with respect to -Wunused-local-typedefs 2013-04-10 22:27:35 +02:00
product_syrk.cpp Workaround dead store warnings in unit tests. 2015-02-18 11:30:44 +01:00
product_trmm.cpp Limit matrix sizes for trmm unit test and complexes. 2015-10-30 15:07:50 +01:00
product_trmv.cpp Workaround dead store warnings in unit tests. 2015-02-18 11:30:44 +01:00
product_trsolve.cpp Extend unit test of dense triangular solvers 2014-07-15 11:15:36 +02:00
product.h bug #1283: add regression unit test 2016-08-31 13:04:29 +02:00
qr_colpivoting.cpp Fix compilation of qr.inverse() for column and full pivoting variants. 2016-10-06 09:55:50 +02:00
qr_fullpivoting.cpp Fix compilation of qr.inverse() for column and full pivoting variants. 2016-10-06 09:55:50 +02:00
qr.cpp Enforce scalar types in calls to max/min (helps with expression template scalar types) 2016-07-25 12:35:10 +02:00
qtvector.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
rand.cpp Fix possible overflow and biais in integer random generator 2016-08-23 13:25:31 +02:00
real_qz.cpp Add some pre-allocation unit tests (not working yet) 2016-08-29 11:08:44 +02:00
redux.cpp Refactoring of the cost model: 2015-10-28 11:42:14 +01:00
ref.cpp Workaround i387 issue in unit test 2015-11-16 13:33:54 +01:00
resize.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
rvalue_types.cpp Fix pointer to long conversion warning. 2016-06-02 14:45:45 +02:00
schur_complex.cpp Limit matrix size when testing for NaN: they can become prohibitively expensive when running on x87 fp unit 2015-10-30 14:44:22 +01:00
schur_real.cpp Relax is_equal to is_approx because scaling might modify last bit. 2016-07-06 15:02:49 +02:00
selfadjoint.cpp Introduce a TEST_SET_BUT_UNUSED_VARIABLE macro for initialized but unused variables in the unit tests and also fix a few other warnings. 2013-06-25 11:42:04 +02:00
simplicial_cholesky.cpp Skip too large real-world problems for solvers that do not scale (e.g., SimplicialLLT without reordering) 2015-06-09 09:29:53 +02:00
sizeof.cpp bug #973: update macro-level control of alignement by introducing user-controllable EIGEN_MAX_ALIGN_BYTES and EIGEN_MAX_STATIC_ALIGN_BYTES macros. This changeset also removes EIGEN_ALIGN (replaced by EIGEN_MAX_ALIGN_BYTES>0), EIGEN_ALIGN_STATICALLY (replaced by EIGEN_MAX_STATIC_ALIGN_BYTES>0), EIGEN_USER_ALIGN*, EIGEN_ALIGN_DEFAULT (replaced by EIGEN_ALIGN_MAX). 2015-07-29 10:22:25 +02:00
sizeoverflow.cpp Removed redundant typedef which confused old gcc versions. 2015-02-18 01:03:32 +01:00
smallvectors.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
sparse_basic.cpp bug #1271: add SparseMatrix::coeffs() methods returning a 1D view of the non zero coefficients. 2016-08-29 12:06:37 +02:00
sparse_block.cpp Fix some conversion warnings in unit tests. 2016-05-26 17:42:12 +02:00
sparse_permutations.cpp Fix gcc 4.4 compilation issue 2015-10-30 08:44:37 +01:00
sparse_product.cpp Add support for non trivial scalar factor in sparse selfadjoint * dense products, and enable +=/-= assignement for such products. 2016-08-24 13:06:34 +02:00
sparse_ref.cpp Fix unit test. 2016-05-19 22:48:16 +02:00
sparse_solver.h Fix nesting of SolveWithGuess, and add unit test. 2016-07-04 17:47:47 +02:00
sparse_solvers.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
sparse_vector.cpp Enable and fix -Wdouble-conversion warnings 2016-05-05 13:35:45 +02:00
sparse.h Fix ForceNonZeroDiag for complexes 2015-08-04 16:12:16 +02:00
sparseLM.cpp Add tests for dense and sparse levenberg-Marquardt 2012-12-07 15:48:21 +01:00
sparselu.cpp Switch to MPL2 2015-10-23 10:36:33 +02:00
sparseqr.cpp Enable and fix -Wdouble-conversion warnings 2016-05-05 13:35:45 +02:00
special_numbers.cpp Previous isFinite->hasNonFinite change was broken. After discussion let's rename it to allFinite 2013-07-18 11:27:04 +02:00
spqr_support.cpp Fix SPQR for rectangular matrices 2016-10-12 22:39:33 +02:00
stable_norm.cpp Avoid overflow in unit test. 2016-01-30 22:26:17 +01:00
stddeque_overload.cpp Fix unit test: accessing elements in a deque by offsetting a pointer to another element causes undefined behavior. 2016-02-12 15:31:16 +01:00
stddeque.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
stdlist_overload.cpp bug #1164: fix list and deque specializations such that our aligned allocator is automatically activatived only when the user did not specified an allocator (or specified the default std::allocator). 2016-02-03 18:07:25 +01:00
stdlist.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
stdvector_overload.cpp Fix numerous pointer-to-integer conversion warnings in unit tests. 2016-05-26 17:41:28 +02:00
stdvector.cpp Fix numerous pointer-to-integer conversion warnings in unit tests. 2016-05-26 17:41:28 +02:00
superlu_support.cpp Avoid blocking-size mismatch in unit tests calling Eigen's blas interface. 2014-04-25 11:04:02 +02:00
svd_common.h Fix test for nearly null input 2016-07-12 17:19:26 +02:00
svd_fill.h Fix compilation if ICC. 2016-09-21 17:08:51 +02:00
swap.cpp Fix corner case in unit test. 2016-04-13 22:18:02 +02:00
triangular.cpp Add support for SelfAdjointView::diagonal() 2016-05-19 13:05:33 +02:00
umeyama.cpp Relaxed umeyama test. Problem was ill-posed if linear part was scaled with very small number. This should fix bug #744. 2014-02-17 13:48:00 +01:00
umfpack_support.cpp Avoid blocking-size mismatch in unit tests calling Eigen's blas interface. 2014-04-25 11:04:02 +02:00
unalignedassert.cpp Fix numerous pointer-to-integer conversion warnings in unit tests. 2016-05-26 17:41:28 +02:00
unalignedcount.cpp Added support for AVX to Eigen. 2014-01-29 11:43:05 -08:00
upperbidiagonalization.cpp Make UpperBidiagonalization accept row-major matrices (bug #769) 2014-09-12 14:52:35 +01:00
vectorization_logic.cpp Fix unit test. 2016-07-06 22:25:24 +02:00
vectorwiseop.cpp Fix some conversion warnings in unit tests. 2016-05-26 17:42:12 +02:00
visitor.cpp Add regression unit test for prod.maxCoeff(i) 2015-11-18 23:29:07 +01:00
zerosized.cpp Extend unit test to stress smart_copy with empty input/output. 2016-02-19 22:59:28 +01:00