aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/array.cpp
Commit message (Collapse)AuthorAge
* Added support for expm1 in Eigen.Gravatar Srinivas Vasudevan2016-12-02
|
* Add missing Eigen::rsqrt global functionGravatar Gael Guennebaud2016-07-20
|
* bug #1232: refactor special functions as a new SpecialFunctions module, ↵Gravatar Gael Guennebaud2016-07-08
| | | | currently in unsupported/.
* Fix compilation of some unit tests with msvcGravatar Gael Guennebaud2016-07-04
|
* bug #1247: fix regression in compilation of pow(integer,integer), and add ↵Gravatar Gael Guennebaud2016-06-25
| | | | respective unit tests.
* Implement scalar multiples and division by a scalar as a binary-expression ↵Gravatar Gael Guennebaud2016-06-14
| | | | | | | | | | | | with a constant expression. This slightly complexifies the type of the expressions and implies that we now have to distinguish between scalar*expr and expr*scalar to catch scalar-multiple expression (e.g., see BlasUtil.h), but this brings several advantages: - it makes it clear on each side the scalar is applied, - it clearly reflects that we are dealing with a binary-expression, - the complexity of the type is hidden through macros defined at the end of Macros.h, - distinguishing between "scalar op expr" and "expr op scalar" is important to support non commutative fields (like quaternions) - "scalar op expr" is now fully equivalent to "ConstantExpr(scalar) op expr" - scalar_multiple_op, scalar_quotient1_op and scalar_quotient2_op are not used anymore in officially supported modules (still used in Tensor)
* Relax mixing-type constraints for binary coefficient-wise operators:Gravatar Gael Guennebaud2016-06-06
| | | | | | | | | | - Replace internal::scalar_product_traits<A,B> by Eigen::ScalarBinaryOpTraits<A,B,OP> - Remove the "functor_is_product_like" helper (was pretty ugly) - Currently, OP is not used, but it is available to the user for fine grained tuning - Currently, only the following operators have been generalized: *,/,+,-,=,*=,/=,+=,-= - TODO: generalize all other binray operators (comparisons,pow,etc.) - TODO: handle "scalar op array" operators (currently only * is handled) - TODO: move the handling of the "void" scalar type to ScalarBinaryOpTraits
* Add randomized properties tests for betainc special function.Gravatar Eugene Brevdo2016-06-05
|
* Add TernaryFunctors and the betainc SpecialFunction.Gravatar Eugene Brevdo2016-06-02
| | | | | | | | | | | | | | | | | | | TernaryFunctors and their executors allow operations on 3-tuples of inputs. API fully implemented for Arrays and Tensors based on binary functors. Ported the cephes betainc function (regularized incomplete beta integral) to Eigen, with support for CPU and GPU, floats, doubles, and half types. Added unit tests in array.cpp and cxx11_tensor_cuda.cu Collapsed revision * Merged helper methods for betainc across floats and doubles. * Added TensorGlobalFunctions with betainc(). Removed betainc() from TensorBase. * Clean up CwiseTernaryOp checks, change igamma_helper to cephes_helper. * betainc: merge incbcf and incbd into incbeta_cfe. and more cleanup. * Update TernaryOp and SpecialFunctions (betainc) based on review comments.
* Expose log1p to Array.Gravatar Gael Guennebaud2016-06-01
|
* Fixed a typo in the array.cpp testGravatar Benoit Steiner2016-05-23
|
* Make EIGEN_HAS_C99_MATH user configurableGravatar Gael Guennebaud2016-05-20
|
* polygamma is C99/C++11 onlyGravatar Gael Guennebaud2016-05-20
|
* Improve unit tests of zeta, polygamma, and digammaGravatar Gael Guennebaud2016-05-19
|
* Avoid float to double conversionGravatar Benoit Steiner2016-05-17
|
* Proper handling of domain errors.Gravatar Till Hoffmann2016-04-10
|
* Fixed suggestions by Eugene Brevdo.Gravatar Till Hoffmann2016-04-01
|
* Added polygamma function.Gravatar Till Hoffmann2016-04-01
|
* Added zeta function.Gravatar Till Hoffmann2016-04-01
|
* Add tests in array.cpp that check igamma/igammac properties.Gravatar Eugene Brevdo2016-03-13
| | | | | This adds to the set of existing tests, which compare a specific set of values to third party calculated ground truth.
* Make igamma and igammac work correctly.Gravatar Eugene Brevdo2016-03-04
| | | | | This required replacing ::abs with std::abs. Modified some unit tests.
* Initial implementation of igamma and igammac.Gravatar Eugene Brevdo2016-03-03
|
* Protect digamma tests behind a EIGEN_HAS_C99_MATH check.Gravatar Eugene Brevdo2015-12-24
|
* Add digamma for CPU + CUDA. Includes tests.Gravatar Eugene Brevdo2015-12-24
|
* Only test the lgamma, erf and erfc function when using a C99 compliant compilerGravatar Benoit Steiner2015-12-10
|
* Add special functions to Eigen: lgamma, erf, erfc.Gravatar Eugene Brevdo2015-12-07
| | | | Includes CUDA support and unit tests.
* Added rsqrt() method to the Array class: this method computes the ↵Gravatar Benoit Steiner2015-12-03
| | | | coefficient-wise inverse square root much more efficiently than calling sqrt().inverse().
* ArrayBase::sign: add unit test and fix docGravatar Gael Guennebaud2015-11-27
|
* Workaround msvc broken complex/complex division in unit testGravatar Gael Guennebaud2015-11-20
|
* Fix wrong casting syntaxGravatar Gael Guennebaud2015-10-06
|
* Protect all calls to isnan, isinf and isfinite with parentheses.Gravatar Christoph Hertzberg2015-08-14
|
* Generalize pow(x,e) such that x and e can be a different expression type or ↵Gravatar Gael Guennebaud2015-07-20
| | | | a scalar for either x or e. Add x.pow(e) with e an array expression.
* More msvc 2013/2015 workaroundsGravatar Gael Guennebaud2015-06-26
|
* Avoid division by a zero complexGravatar Gael Guennebaud2015-06-25
|
* workaround msvc 2013/2015 wrong instanciation of isnan, isfinite, isinfGravatar Gael Guennebaud2015-06-25
|
* Fix isinf unit testsGravatar Gael Guennebaud2015-06-22
|
* workaround clang's broken complex divisionGravatar Gael Guennebaud2015-06-17
|
* Rename free functions isFinite, isInf, isNaN to be compatible with c++11Gravatar Gael Guennebaud2015-06-10
|
* bug #80: merge with d_hood branch on adding more coefficient-wise unary ↵Gravatar Gael Guennebaud2015-06-10
|\ | | | | | | array functors
* | bug #872: Avoid deprecated binder1st/binder2nd usage by providing custom ↵Gravatar Christoph Hertzberg2015-05-07
| | | | | | | | functors for comparison operators
* | Constructing a Matrix/Array with implicit transpose could lead to memory leaks.Gravatar Christoph Hertzberg2015-04-16
| | | | | | | | Also reduced code duplication for Matrix/Array constructors
| * Don't use M_PI since it's only guaranteed to be defined in Eigen/GeometryGravatar Deanna Hood2015-04-08
| |
| * Use M_PI instead of acos(-1) for piGravatar Deanna Hood2015-03-22
| |
| * More extensive unit tests for recent array-wise functorsGravatar Deanna Hood2015-03-18
| |
| * Add boolean not operator (!) array supportGravatar Deanna Hood2015-03-17
| |
| * Remove test of now-missing floor, ceil, round complex implementationsGravatar Deanna Hood2015-03-17
| |
| * Make cube, inverse and abs2 free-functionsGravatar Deanna Hood2015-03-17
| |
| * Rename isinf to isInfGravatar Deanna Hood2015-03-17
| |
| * Add isfinite array support as isFiniteGravatar Deanna Hood2015-03-17
| |
| * Rename isnan to isNaNGravatar Deanna Hood2015-03-17
| |