Gael Guennebaud
ec5c608aa3
Set of fixes and workaround to make sun studio more happy.
...
Still remains the problem of alignment and vectorization.
2009-07-10 16:10:03 +02:00
Gael Guennebaud
627595ad19
* rename PartialRedux to VectorwiseOp
...
* add VectorwiseOp's +, -, +=, -= operators
2009-06-10 11:20:30 +02:00
Benoit Jacob
6347b1db5b
remove sentence "Eigen itself is part of the KDE project."
...
it never made very precise sense. but now does it still make any?
2009-05-22 20:25:33 +02:00
Benoit Jacob
874ff5a0b4
fix msvc warnings (useful ones again) reported by gael on CDash
2009-01-26 17:56:04 +00:00
Gael Guennebaud
56c7e164f0
add partial count redux (adapted patch from Ricard Marxer)
2009-01-24 15:22:44 +00:00
Benoit Jacob
e80099932a
add lpNorm<p>() method to MatrixBase, implemented in Array module, with
...
specializations for cases p=1,2,Eigen::Infinity.
2008-11-03 22:47:00 +00:00
Gael Guennebaud
e14aa8c8aa
Add coeff-wise comparisons to scalar operators. You can now write:
...
mat.cwise() < 2
instead of:
mat.cwise() < MatrixType::Constant(mat.rows(), mat.cols(), 2)
2008-09-03 17:56:06 +00:00
Gael Guennebaud
59dc1da5bf
Add a Select expression in the Array module which mimics a coeff-wise ?: operator.
...
Example:
mat = (mat.cwise().abs().cwise() < Ones()).select(0,mat);
replaces all small values by 0. (the scalar version is "s = abs(s)<1 ? 0 : s")
2008-09-03 17:16:28 +00:00
Benoit Jacob
46fe7a3d9e
if EIGEN_NICE_RANDOM is defined, the random functions will return numbers with
...
few bits left of the comma and for floating-point types will never return zero.
This replaces the custom functions in test/main.h, so one does not anymore need
to think about that when writing tests.
2008-09-01 17:31:21 +00:00
Gael Guennebaud
2120fed849
* bug fixes in: Dot, generalized eigen problem, singular matrix detetection in Cholesky
...
* fix all numerical instabilies in the unit tests, now all tests can be run 2000 times
with almost zero failures.
2008-08-23 15:14:20 +00:00
Gael Guennebaud
c10f069b6b
* Merge Extract and Part to the Part expression.
...
Renamed "MatrixBase::extract() const" to "MatrixBase::part() const"
* Renamed static functions identity, zero, ones, random with an upper case
first letter: Identity, Zero, Ones and Random.
2008-07-21 00:34:46 +00:00
Gael Guennebaud
05ad083467
Added MatrixBase::Unit*() static function to easily create unit/basis vectors.
...
Removed EulerAngles, addes typdefs for Quaternion and AngleAxis,
and added automatic conversions from Quaternion/AngleAxis to Matrix3 such that:
Matrix3f m = AngleAxisf(0.2,Vector3f::UnitX) * AngleAxisf(0.2,Vector3f::UnitY);
just works.
2008-07-19 13:03:23 +00:00
Benoit Jacob
f5791eeb70
the big Array/Cwise rework as discussed on the mailing list. The new API
...
can be seen in Eigen/src/Core/Cwise.h.
2008-07-08 00:49:10 +00:00
Gael Guennebaud
8cef541b5a
forgot to add the unit test array.cpp
2008-06-21 17:28:07 +00:00