Benoit Jacob
9afd1324fd
constant Diagonal ---> DiagonalBits
...
introduce ei_is_diagonal to check for it
DiagonalCoeffs ---> Diagonal and allow Index to by Dynamic
-> add MatrixBase::diagonal(int) with unittest and doc
2009-05-10 16:24:39 +00:00
Benoit Jacob
eac79b6d2e
CREDIT Hauke Heibel, fix MSVC warnings
2009-05-09 03:41:17 +00:00
Benoit Jacob
3b79d99f71
*make coeff() return a const reference (required with the recent change with CoeffReturnType)
...
*fix a unused variable warning
2009-05-09 03:39:31 +00:00
Benoit Jacob
c500415e18
result of our experiments with LU tuning: implement very simple formula, that
...
turns out to be similar to Higham's formula already in use in LDLt
2009-05-07 20:35:26 +00:00
Gael Guennebaud
b6c76c30cd
apply patch from Hauke Heibel cleaning overloaded operator new/detete
2009-05-07 20:33:48 +00:00
Benoit Jacob
47fc3858b9
oops, didn't want to commit that
2009-05-07 18:40:06 +00:00
Benoit Jacob
c8a22dbc08
CREDIT Hauke Heibel, more std::vector::insert fixes
2009-05-07 18:38:07 +00:00
Benoit Jacob
159ab4a043
CREDIT Hauke Heibel, windows compatibility fixes in MatrixExponential
2009-05-07 18:11:49 +00:00
Gael Guennebaud
7080282a6d
forgot a svn add CMakeLists.txt
2009-05-07 14:49:56 +00:00
Gael Guennebaud
6dffdca123
fix realloc when initial size was 0 (bug reported by Jens Mueller)
2009-05-07 13:13:42 +00:00
Benoit Jacob
4f0af00e51
*add missing overloads of setZero, etc... that were mentioned in the tutorial
...
--->they go into Matrix as they resize.
*add isConstant() alias to isApproxToConstant()
*extend unit-test
*change an assert into a static assert
2009-05-06 21:40:24 +00:00
Benoit Jacob
0c0d38272e
add copyright on two public headers that are not so trivial...
2009-05-06 15:48:28 +00:00
Benoit Jacob
e1abffa513
add missing function, thanks to Hauke Heibel
2009-05-06 13:33:35 +00:00
Gael Guennebaud
3361ad4589
one more gcc 3.3 fix
2009-05-06 10:51:46 +00:00
Gael Guennebaud
db079f3a8c
fix internal error with gcc 3.3 (all tests are now ok with 3.3 !)
2009-05-06 09:37:30 +00:00
Gael Guennebaud
1e286464ab
* compilation fixes for gcc 3.3
...
* test Part::swap
2009-05-06 08:43:38 +00:00
Gael Guennebaud
23f073625d
add -Wextra only if compiler supports it
2009-05-06 08:15:54 +00:00
Benoit Jacob
834eb5bfc8
new unsupported module by Jitse Niesen: matrix exponential
2009-05-05 20:46:55 +00:00
Benoit Jacob
66f059b99d
remove unused member remean that was just initialized
2009-05-05 17:29:44 +00:00
Benoit Jacob
46e1162a39
reimplement linearRegression on top of fitHyperplane which is much better
2009-05-05 17:15:35 +00:00
Benoit Jacob
2b2f0c0220
fix linearRegression, fix doc, add unit test (it was untested since the change
...
making fitHyperplane no longer use it)
2009-05-05 16:50:58 +00:00
Gael Guennebaud
5b364a68cb
oops
2009-05-04 14:53:21 +00:00
Gael Guennebaud
2829314284
new simplified API to fill sparse matrices (the old functions are
...
deprecated). Basically there are now only 2 functions to set a
coefficient:
1) mat.coeffRef(row,col) = value;
2) mat.insert(row,col) = value;
coeffRef has no limitation, insert assumes the coeff has not already
been set, and raises an assert otherwise.
In addition I added a much lower level, but more efficient filling
mechanism for
internal use only.
2009-05-04 14:25:12 +00:00
Thomas Capricelli
ddb6e96d48
fix warnings with recent gcc
2009-05-04 13:55:21 +00:00
Benoit Jacob
dec09a618d
fix warning, unused variable dummy
2009-05-04 13:01:23 +00:00
Benoit Jacob
b60571a193
fix warnings with unused static functions
2009-05-04 12:49:56 +00:00
Benoit Jacob
8aa8854bbf
fix SSE2 detection on win64, reported by 'kajala'
2009-05-04 12:13:37 +00:00
Gael Guennebaud
c25fc50d54
add an AlignedVector3 module suitable for vectorization of 3D vectors
2009-05-03 17:19:19 +00:00
Gael Guennebaud
469b8aa380
"forgot to commit the required changes in stdvector unit test"
2009-05-03 15:39:37 +00:00
Benoit Jacob
95bda5e6ab
let the user disable alignment altogether by #defining EIGEN_DONT_ALIGN.
...
Until now, the user had to edit the source code to do that.
Internally, add EIGEN_ALIGN that takes into account both EIGEN_DONT_ALIGN.and
EIGEN_ARCH_WANTS_ALIGNMENT. From now on, only EIGEN_ALIGN should be used to
test whether we want to align.
2009-05-03 13:50:56 +00:00
Gael Guennebaud
facee57b8d
add auto transposition for vectors
2009-04-30 12:09:45 +00:00
Gael Guennebaud
7029ed6b88
ok, this time cast should really work ; sorry for the noise
2009-04-29 17:39:39 +00:00
Gael Guennebaud
428a12902a
fixed my mistake in cast
2009-04-29 17:05:19 +00:00
Benoit Jacob
746079f75d
gni, forgot to call the new subtest
2009-04-29 17:01:10 +00:00
Gael Guennebaud
9e9e99a42e
casting to the same type no longer generates a CwiseUnaryOp
2009-04-29 14:57:18 +00:00
Benoit Jacob
8b1e7c2792
add cast<>() tests. including a vectorization_logic test that currently fails (casting to same type should not prevent vectorization)
2009-04-29 14:51:19 +00:00
Gael Guennebaud
e722f55382
fix the Matrix(int,int)/vector 2D ctors issue so that we really
...
have a Matrix(Scalar,Scalar) ctor. (useful for std::complex, user
defined types, etc.
2009-04-24 14:38:40 +00:00
Benoit Jacob
32e9801890
CREDIT Ross Smith: fix posix_memalign detection
2009-04-24 13:26:36 +00:00
Gael Guennebaud
e201091d89
remove unsupported/doc from make's "all" target
2009-04-23 12:22:10 +00:00
Gael Guennebaud
acb32c69d4
* update BVH to explicitely use aligned_allocator
...
* fix warning in StdVector
2009-04-23 11:33:36 +00:00
Gael Guennebaud
c7bb7436f9
make the ei_p* math functions overloads instead of template
...
specializations
2009-04-22 21:35:50 +00:00
Gael Guennebaud
e0904a70ce
update STL vector doc
2009-04-22 21:29:42 +00:00
Gael Guennebaud
6f6b5ad016
add a generic version of std::vector::resize for other stl
...
implementations
2009-04-21 21:40:33 +00:00
Gael Guennebaud
2697877fac
std::vector now explicitely requires the use of Eigen::aligned_allocator
...
CREDIT Hauke Heibel
2009-04-21 21:30:38 +00:00
Gael Guennebaud
c5c384cf06
add missing vector ctor reported by Markus Moll on the ML
2009-04-21 11:52:25 +00:00
Gael Guennebaud
5e5bac52d7
this should fix the linking issue with StdVector without any user
...
changes... I cross my fingers...
2009-04-21 11:44:58 +00:00
Gael Guennebaud
4efcc14b91
fix ctor issues with ei_workaround_msvc_std_vector
2009-04-21 08:12:07 +00:00
Christian Ehrlicher
b14d1139df
not compilable with msvc :(
2009-04-15 17:13:23 +00:00
Gael Guennebaud
c744960984
patch from Ilya Baran: This small patch fixes a potential initialization
...
bug in BVAlgorithms and slightly corrects the BVH doc.
2009-04-15 05:54:07 +00:00
Benoit Jacob
6ee4eb94fb
fix the 4x4 inverse -- unit test passes again
2009-04-14 13:42:23 +00:00