Charles Schlosser
44fe539150
add sparse sort inner vectors function
2022-12-01 19:28:56 +00:00
Pedro Caldeira
31ab62d347
Add support for Power10 (AltiVec) MMA instructions for bfloat16.
2022-11-30 23:33:37 +00:00
Antonio Sánchez
dcb042a87d
Fix serialization for non-compressed matrices.
2022-11-30 18:16:47 +00:00
Antonio Sánchez
2260e11eb0
Fix reshape strides when input has non-zero inner stride.
2022-11-29 19:39:29 +00:00
Antonio Sánchez
ab2b26fbc2
Fix sparseLU solver when destination has a non-unit stride.
2022-11-29 19:37:03 +00:00
Charles Schlosser
b7551bff92
Fix a bunch of annoying compiler warnings in tests
2022-11-21 20:07:19 +00:00
Antonio Sánchez
e7b1ad0315
Add serialization for sparse matrix and sparse vector.
2022-11-21 19:43:07 +00:00
Gabriele Buondonno
6431dfdb50
Cross product for vectors of size 2. Fixes #1037
2022-11-15 22:39:42 +00:00
Antonio Sánchez
8588d8c74b
Correct pnegate for floating-point zero.
2022-11-15 18:07:23 +00:00
Charles Schlosser
82b152dbe7
Add signbit function
2022-11-04 00:31:20 +00:00
Rasmus Munk Larsen
14c847dc0e
Refactor special values test for pow, and add a similar test for atan2
2022-10-12 20:12:08 +00:00
Rasmus Munk Larsen
d6bc062591
Remove reference to EIGEN_HAS_CXX11_MATH.
2022-10-10 23:38:28 +00:00
Rasmus Munk Larsen
1e1848fdb1
Add a vectorized implementation of atan2 to Eigen.
2022-09-28 20:46:49 +00:00
Rasmus Munk Larsen
273e0c884e
Revert "Add constexpr, test for C++14 constexpr."
2022-09-16 21:14:29 +00:00
Rasmus Munk Larsen
dceb779ecd
Fix test for pow with mixed integer types. We do not convert the exponent if it is an integer type.
2022-09-12 15:51:27 -07:00
Rasmus Munk Larsen
afc014f1b5
Allow mixed types for pow(), as long as the exponent is exactly representable in the base type.
2022-09-12 21:55:30 +00:00
Antonio Sánchez
b2c82a9347
Remove bad skew_symmetric_matrix3 test.
2022-09-10 07:08:37 +00:00
Antonio Sánchez
fb212c745d
Fix g++-6 constexpr and c++20 constexpr build errors.
2022-09-09 03:41:45 +00:00
Thomas Gloor
ec9c7163a3
Feature/skew symmetric matrix3
2022-09-08 20:44:40 +00:00
Antonio Sánchez
3c37dd2a1d
Tweak bound for pow to account for floating-point types.
2022-09-08 17:40:45 +00:00
Rasmus Munk Larsen
242325eca7
Remove unused variable.
2022-09-07 20:46:44 +00:00
Tobias Schlüter
133498c329
Add constexpr, test for C++14 constexpr.
2022-09-07 03:42:34 +00:00
Antonio Sánchez
69f50e3a67
Adjust overflow threshold bound for pow tests.
2022-09-06 19:53:29 +00:00
Antonio Sanchez
3e44f960ed
Reduce compiler warnings for tests.
2022-09-06 18:20:56 +00:00
Antonio Sánchez
f5364331eb
Fix some cmake issues.
2022-09-02 16:43:14 +00:00
Antonio Sánchez
d816044b6e
Fix mixingtypes tests.
2022-09-02 15:30:13 +00:00
Charles Schlosser
e5af9f87f2
Vectorize pow for integer base / exponent types
2022-08-29 19:23:54 +00:00
Rasmus Munk Larsen
98e51c9e24
Avoid undefined behavior in array_cwise test due to signed integer overflow
2022-08-26 16:19:03 +00:00
Arthur
a7c1cac18b
Fix GeneralizedEigenSolver::info() and Asserts
2022-08-25 22:05:04 +00:00
Charles Schlosser
76a669fb45
add fixed power unary operation
2022-08-16 21:32:36 +00:00
Rasmus Munk Larsen
97e0784dc6
Vectorize the sign operator in Eigen.
2022-08-09 19:54:57 +00:00
Arthur
be20207d10
Fix vectorized Jacobi Rotation
2022-08-08 19:29:56 +00:00
Rasmus Munk Larsen
7a87ed1b6a
Fix code and unit test for a few corner cases in vectorized pow()
2022-08-08 18:48:36 +00:00
Antonio Sánchez
5a1c7807e6
Fix inner iterator for sparse block.
2022-08-03 17:26:12 +00:00
Antonio Sánchez
39d22ef46b
Fix flaky packetmath_1 test.
2022-08-02 17:42:45 +00:00
sjusju
ef4654bae7
Add true determinant to QR and it's variants
2022-07-29 18:24:14 +00:00
Rohit Santhanam
06a458a13d
Enable subtests which use device side malloc since this has been fixed in ROCm 5.2.
2022-06-29 17:09:43 +00:00
Chip Kerchner
84cf3ff18d
Add pload_partial, pstore_partial (and unaligned versions), pgather_partial, pscatter_partial, loadPacketPartial and storePacketPartial.
2022-06-27 19:18:00 +00:00
Arthur
14aae29470
Provide DiagonalMatrix Product and Initializers
2022-06-06 21:43:22 +00:00
Rasmus Munk Larsen
510f6b9f15
Fix integer shortening warnings in visitor tests.
2022-05-27 18:51:37 +00:00
Arthur
705ae70646
Add R-Bidiagonalization step to BDCSVD
2022-05-27 02:00:24 +00:00
Antonio Sánchez
32348091ba
Avoid signed integer overflow in adjoint test.
2022-05-23 14:46:16 +00:00
Guoqiang QI
00b75375e7
Adding PocketFFT support in FFT module since kissfft has some flaw in accuracy and performance
2022-05-11 17:44:22 +00:00
John Mather
9e026e5e28
Removed need to supply the Symmetric flag to UpLo argument for Accelerate LLT and LDLT
2022-04-21 20:02:10 +00:00
Antonio Sánchez
f845a8bb1a
Fix cwise NaN propagation for scalar input.
2022-04-16 05:07:44 +00:00
Antonio Sánchez
07db964bde
Restrict new AVX512 trsm to AVX512VL, rename files for consistency.
2022-04-14 16:58:32 +00:00
Antonio Sánchez
3342fc7e4d
Allow all tests to pass with EIGEN_TEST_NO_EXPLICIT_VECTORIZATION
2022-04-12 14:48:22 +00:00
Tobias Schlüter
f3ba220c5d
Remove EIGEN_EMPTY_STRUCT_CTOR
2022-04-08 18:27:26 +00:00
Antonio Sánchez
0c859cf35d
Consider inf/nan in scalar test_isApprox.
2022-04-01 17:00:24 +00:00
Antonio Sánchez
73b2c13bf2
Disable f16c scalar conversions for MSVC.
2022-03-30 18:35:32 +00:00
Essex Edwards
cd3c81c3bc
Add a NNLS solver to unsupported - issue #655
2022-03-23 20:20:44 +00:00
Antonio Sánchez
19a6a827c4
Optimize visitor traversal in case of RowMajor.
2022-03-23 15:27:57 +00:00
Antonio Sánchez
9deaa19121
Work around g++-10 docker issue for geo_orthomethods_4.
2022-03-16 21:46:04 +00:00
Antonio Sánchez
01b5bc48cc
Disable schur non-convergence test.
2022-03-16 17:33:53 +00:00
Erik Schultheis
421cbf0866
Replace Eigen type metaprogramming with corresponding std types and make use of alias templates
2022-03-16 16:43:40 +00:00
Antonio Sánchez
baf9a985ec
Fix swap test for size 1 inputs.
2022-03-10 15:05:58 +00:00
Tobias Schlüter
9883108f3a
Remove copy_bool workaround for gcc 4.3
2022-03-08 17:43:11 +00:00
John Mather
3a9d404d76
Add support for Apple's Accelerate sparse matrix solvers
2022-03-08 00:09:18 +00:00
Antonio Sanchez
28c7c1a629
Log position of first difference for easier debugging.
2022-03-07 19:06:27 +00:00
Antonio Sánchez
b2ee235a4b
Split and reduce SVD test sizes.
2022-03-05 00:15:28 +00:00
Antonio Sánchez
27d8f29be3
Update vectorization_logic tests for all platforms.
2022-03-03 19:54:15 +00:00
Antonio Sánchez
711803c427
Skip denormal test if Cond is false.
2022-03-03 04:32:13 +00:00
Antonio Sánchez
9c07e201ff
Modified sqrt/rsqrt for denormal handling.
2022-03-02 17:20:47 +00:00
Antonio Sánchez
f03df0df53
Fix SVD for MSVC.
2022-02-28 19:53:15 +00:00
Antonio Sánchez
2ed4bee78f
Fix frexp packetmath tests for MSVC.
2022-02-24 22:16:37 +00:00
Antonio Sánchez
d58e629130
Disable deprecated warnings for SVD tests on MSVC.
2022-02-24 21:20:49 +00:00
Antonio Sánchez
3d7e2d0e3e
Fix packetmath compilation error.
2022-02-23 23:27:08 +00:00
Antonio Sánchez
8970719771
Fix gcc-5 packetmath_12 bug.
2022-02-23 21:56:25 +00:00
Antonio Sánchez
f0b81fefb7
Disable deprecated warnings in SVD tests.
2022-02-23 18:32:00 +00:00
Rasmus Munk Larsen
8b875dbef1
Changes to fast SQRT/RSQRT
2022-02-23 17:32:21 +00:00
Arthur
cd80e04ab7
Add assert for edge case if Thin U Requested at runtime
2022-02-23 05:35:19 +00:00
Lingzhu Xiang
35727928ad
Fix test macro conflicts with STL headers in C++20
2022-02-23 07:43:30 +08:00
Antonio Sánchez
28e008b99a
Fix sqrt/rsqrt for NEON.
2022-02-15 21:31:51 +00:00
Rasmus Munk Larsen
92d0026b7b
Provide a definition for numeric_limits static data members
2022-02-08 20:34:53 +00:00
Antonio Sánchez
9441d94dcc
Revert "Make fixed-size Matrix and Array trivially copyable after C++20"
...
This reverts commit 47eac21072
2022-02-05 04:40:29 +00:00
Rasmus Munk Larsen
979fdd58a4
Add generic fast psqrt and prsqrt impls and make them correct for 0, +Inf, NaN, and negative arguments.
2022-02-05 00:20:13 +00:00
Arthur
18b50458b6
Update SVD Module with Options template parameter
2022-02-02 00:15:44 +00:00
Rasmus Munk Larsen
7db0ac977a
Remove extraneous ")".
2022-01-27 02:20:03 +00:00
Rasmus Munk Larsen
09c0085a57
Only test pmsub, pnmadd, and pnmsub on signed types.
2022-01-27 02:09:25 +00:00
Rasmus Munk Larsen
8f2c6f0aa6
Make preciprocal IEEE compliant w.r.t. 1/0 and 1/inf.
2022-01-26 20:38:05 +00:00
Erik Schultheis
d271a7d545
reduce float warnings (comparisons and implicit conversions)
2022-01-26 18:16:19 +00:00
Rasmus Munk Larsen
51311ec651
Remove inline assembly for FMA (AVX) and add remaining extensions as packet ops: pmsub, pnmadd, and pnmsub.
2022-01-26 04:25:41 +00:00
Erik Schultheis
4e629b3c1b
make casts explicit and fixed the type
2022-01-24 18:19:21 +00:00
Rasmus Munk Larsen
ea2c02060c
Add reciprocal packet op and fast specializations for float with SSE, AVX, and AVX512.
2022-01-21 23:49:18 +00:00
Arthur Feeney
4b0926f99b
Prevent heap allocation in diagonal product
2022-01-21 21:15:44 +00:00
Erik Schultheis
970640519b
Cleanup
2022-01-21 01:48:59 +00:00
Lingzhu Xiang
47eac21072
Make fixed-size Matrix and Array trivially copyable after C++20
...
Making them trivially copyable allows using std::memcpy() without undefined
behaviors.
Only Matrix and Array with trivially copyable DenseStorage are marked as
trivially copyable with an additional type trait.
As described in http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0848r3.html
it requires extremely verbose SFINAE to make the special member functions of
fixed-size Matrix and Array trivial, unless C++20 concepts are available to
simplify the selection of trivial special member functions given template
parameters. Therefore only make this feature available to compilers that support
C++20 P0848R3.
Fix #1855 .
2022-01-07 19:04:35 +00:00
Rasmus Munk Larsen
96dc37a03b
Some fixes/cleanups for numeric_limits & fix for related bug in psqrt
2022-01-07 01:10:17 +00:00
Rasmus Munk Larsen
7b5a8b6bc5
Improve plog: 20% speedup for float + handle denormals
2022-01-05 23:40:31 +00:00
Andrew Johnson
a491c7f898
Allow specifying inner & outer stride for CWiseUnaryView - fixes #2398
2022-01-05 19:24:46 +00:00
Rohit Santhanam
27a78e4f96
Some serialization API changes were made in commit...
2022-01-05 16:18:45 +00:00
Lingzhu Xiang
7244a74ab0
Add bounds checking to Eigen serializer
2022-01-03 17:00:24 +08:00
David Tellenbach
22a347b9d2
Remove unused EIGEN_HAS_STATIC_ARRAY_TEMPLATE
...
ec2fd0f7 removed the EIGEN_HAS_STATIC_ARRAY_TEMPLATE but forgot to remove this
last occurrence.
This fixes issue #2399 .
2021-12-30 15:26:55 +00:00
David Tellenbach
d705eb5f86
Revert "Select AVX2 even if the data size is not a multiple of 8"
...
Tests are failing for AVX and NEON.
This reverts commit eb85b97339 .
2021-12-28 23:57:06 +01:00
David Tellenbach
6e95c0cd9a
Add missing internal namespace
...
The vectorization logic tests miss some namespace internal qualifiers.
2021-12-27 23:50:32 +00:00
Erik Schultheis
f7a056bf04
Small fixes
...
This MR fixes a bunch of smaller issues, making the following changes:
* Template parameters in the documentation are documented with `\tparam` instead
of `\param`
* Superfluous semicolon warnings fixed
* Fixed the type of literals used to initialize float variables
2021-12-21 16:46:09 +00:00
Erik Schultheis
c20e908ebc
turn some macros intro constexpr functions
2021-12-10 19:27:01 +00:00
Erik Schultheis
495ffff945
removed helper cmake macro and don't use deprecated COMPILE_FLAGS anymore.
2021-12-09 23:09:56 +00:00
Rasmus Munk Larsen
f04fd8b168
Make sure exp(-Inf) is zero for vectorized expressions. This fixes #2385 .
2021-12-08 17:57:23 +00:00
Erik Schultheis
cc11e240ac
Some further cleanup
2021-12-06 18:01:15 +00:00