eigen/test
Rasmus Munk Larsen c1d944dd91 Remove packet ops pinsertfirst and pinsertlast that are only used in a single place, and can be replaced by other ops when constructing the first/final packet in linspaced_op_impl::packetOp.
I cannot measure any performance changes for SSE, AVX, or AVX512.

name                                 old time/op             new time/op             delta
BM_LinSpace<float>/1                 1.63ns ± 0%             1.63ns ± 0%   ~             (p=0.762 n=5+5)
BM_LinSpace<float>/8                 4.92ns ± 3%             4.89ns ± 3%   ~             (p=0.421 n=5+5)
BM_LinSpace<float>/64                34.6ns ± 0%             34.6ns ± 0%   ~             (p=0.841 n=5+5)
BM_LinSpace<float>/512                217ns ± 0%              217ns ± 0%   ~             (p=0.421 n=5+5)
BM_LinSpace<float>/4k                1.68µs ± 0%             1.68µs ± 0%   ~             (p=1.000 n=5+5)
BM_LinSpace<float>/32k               13.3µs ± 0%             13.3µs ± 0%   ~             (p=0.905 n=5+4)
BM_LinSpace<float>/256k               107µs ± 0%              107µs ± 0%   ~             (p=0.841 n=5+5)
BM_LinSpace<float>/1M                 427µs ± 0%              427µs ± 0%   ~             (p=0.690 n=5+5)
2020-05-08 15:41:50 -07: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 Make size odd for transposeInPlace test to make sure we hit the scalar path. 2020-05-07 17:29:56 +00:00
array_for_matrix.cpp
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
bdcsvd.cpp Fix unit-test which I broke in previous fix 2019-12-19 13:42:14 +01: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
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 Avoid I as an identifier, since it may clash with the C-header complex.h 2019-01-25 14:54:39 +01: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 Added io test 2019-12-11 18:22:57 +00: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
geo_eulerangles.cpp
geo_homogeneous.cpp
geo_hyperplane.cpp
geo_orthomethods.cpp
geo_parametrizedline.cpp
geo_quaternion.cpp Fix QuaternionBase::cast for quaternion map and wrapper. 2019-12-03 14:51:14 +01:00
geo_transformations.cpp Removing executable bit from file mode 2020-01-11 15:02:29 +01:00
gpu_basic.cu
gpu_common.h Clean up CUDA/NVCC version macros and their use in Eigen, and a few other CUDA build failures. 2019-05-31 15:26:06 -07:00
half_float.cpp Clean up float16 a.k.a. Eigen::half support in Eigen. Move the definition of half to Core/arch/Default and move arch-specific packet ops to their respective sub-directories. 2019-08-27 11:30:31 -07: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 Bug #1788: Fix rule-of-three violations inside the stable modules. 2019-12-19 17:30:11 +01: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 PR 719: fix real/imag namespace conflict 2019-10-08 09:15:17 +02:00
mapped_matrix.cpp
mapstaticmethods.cpp
mapstride.cpp
meta.cpp bug #1752: make is_convertible equivalent to the std c++11 equivalent and fallback to std::is_convertible when c++11 is enabled. 2019-10-10 17:41:47 +02:00
metis_support.cpp
miscmatrices.cpp
mixingtypes.cpp
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 fix always true warning with gcc 4.7 2019-01-15 11:18:48 +01:00
packetmath_test_shared.h Remove packet ops pinsertfirst and pinsertlast that are only used in a single place, and can be replaced by other ops when constructing the first/final packet in linspaced_op_impl::packetOp. 2020-05-08 15:41:50 -07:00
packetmath.cpp Remove packet ops pinsertfirst and pinsertlast that are only used in a single place, and can be replaced by other ops when constructing the first/final packet in linspaced_op_impl::packetOp. 2020-05-08 15:41:50 -07: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
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 bug #1746: Removed implementation of standard copy-constructor and standard copy-assign-operator from PermutationMatrix and Transpositions to allow malloc-less std::move. Added unit-test to rvalue_types 2019-09-24 11:09:58 +02: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 bug #1574: implement "sparse_matrix =,+=,-= diagonal_matrix" with smart insertion strategies of missing diagonal coeffs. 2019-01-28 17:29:50 +01:00
sparse_block.cpp
sparse_permutations.cpp
sparse_product.cpp
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
stddeque.cpp
stdlist_overload.cpp
stdlist.cpp
stdvector_overload.cpp
stdvector.cpp
stl_iterators.cpp Replace norm() with squaredNorm() to address integer overflows 2020-04-07 19:48:28 +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 Revert "add some static checks for packet-picking logic" 2020-02-25 01:07:04 +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