Gael Guennebaud
ebfed5a512
Enable incomplete BLAS/Lapack builds when no fortran compiler has been found.
...
Works here with gcc. Hopefully this will work for MSVC too.
2011-09-21 10:27:38 +02:00
Gael Guennebaud
1d796acb05
fix status after initialization
2011-09-20 18:45:50 +02:00
Chen-Pang He
16b13596a6
mainly enhance MatrixLogarithm's performance for RealScalar != double
2011-09-17 21:00:55 +08:00
Gael Guennebaud
9053729d68
add a bi conjugate gradient stabilized solver
2011-09-17 10:54:14 +02:00
Gael Guennebaud
f4122e9f94
add tan, acos, asin
2011-09-14 08:35:54 +02:00
Jitse Niesen
7898281b2b
Put docs for unsupported modules in right place.
...
Doxygen was confused by the unsupported modules being partly in the doc/
directly, instead of completely in unsupported/doc/ . Thus, the link to
the unsupported modules on the server did not work (I think this manifested
itself after doxygen was upgraded on the server).
2011-09-07 04:19:12 +01:00
Jitse Niesen
b38d3b360e
Define log2() on FreeBSD (fixes bug #343 ).
2011-09-06 06:52:04 +01:00
Gael Guennebaud
f1d98aad1b
add atan2 support in AutoDiff and remove superfluous std:: specializations
2011-09-05 17:47:58 +02:00
Jitse Niesen
a2feb6f3c7
Add defensive assert to MatrixExponential,
2011-09-03 04:58:06 +01:00
Chen-Pang He
dd598ef8ce
enhance efficacy via avoiding exception handling
2011-09-02 00:15:02 +08:00
Jitse Niesen
7ee084f82f
Leverage triangular square root in matrix log.
2011-08-25 07:42:32 +01:00
Jitse Niesen
c01ed935dd
Split code for (quasi)triangular matrices from MatrixSquareRoot.
...
This way, (quasi)triangular matrices can avoid the costly Schur decomposition.
2011-08-25 07:42:21 +01:00
Chen-Pang He
8ddd1e390b
fix: <ctime> is necessary for srand(time(NULL))
2011-08-24 18:26:38 +08:00
Jitse Niesen
9e667e28f5
Add coverage for long double to matrix_exponential test.
2011-08-21 00:20:29 +01:00
Chen-Pang He
6d7a32231d
add compatibility with long double
2011-08-20 12:33:51 +08:00
Gael Guennebaud
ea4a1960f0
mv the mpreal copy in its own folder
2011-08-19 15:08:29 +02:00
Gael Guennebaud
79ad55a901
update to latest mpreal and fix a min/max issue in mprel.h
2011-08-19 15:03:45 +02:00
Gael Guennebaud
42e2578ef9
the min/max macros to detect unprotected min/max were undefined by some std header,
...
so let's declare them after and do the respective fixes ;)
2011-08-19 14:18:05 +02:00
Gael Guennebaud
ca7d3dca79
fix linking issue
2011-08-12 22:38:53 +02:00
Thomas Capricelli
a660e6425c
fix a bug where some rotations were not initialized
...
They actually were in the original minpack code, this is a bug introduced
by our migration.
Reported on #322 and
http://forum.kde.org/viewtopic.php?f=74&t=96197#p201158
2011-08-04 05:02:04 +02:00
Thomas Capricelli
5748d3c96f
wa2 was computed twice because of a confustion between changesets
...
746c787a76
and ee0e39284c
.
Reported on forum:
http://forum.kde.org/viewtopic.php?f=74&t=96197#p201158
2011-08-04 03:27:01 +02:00
Jitse Niesen
b12522f696
Remove unnecessary template keywords (breaks compilation under MSVC).
...
Thanks to Hauke for finding this.
2011-07-28 13:55:56 +01:00
Gael Guennebaud
3a2cabc275
compilation fix with conjugate_gradient_solve_retval_with_guess
2011-07-26 14:43:20 +02:00
Gael Guennebaud
51f706b916
add the possibility to configure the preconditioner
2011-07-26 09:22:18 +02:00
Gael Guennebaud
66fa6f39a2
add a naive IdentityPreconditioner
2011-07-26 09:17:18 +02:00
Gael Guennebaud
80b1d1371d
add a conjugate gradient solver
2011-07-26 09:04:10 +02:00
Gael Guennebaud
22bff949c8
protect calls to min and max with parentheses to make Eigen compatible with default windows.h
...
(transplanted from 49b6e9143e
)
2011-07-21 11:19:36 +02:00
Thomas Capricelli
08074843ac
fix few warnings reported by clang
2011-07-07 22:20:04 +02:00
Gael Guennebaud
c52268c649
suppress polluting EMPTY macro defined by SuperLU
2011-07-07 16:42:51 +02:00
Gael Guennebaud
2489c81562
add new interface to SuperLU
2011-07-07 14:19:42 +02:00
Gael Guennebaud
3ecf7e8f6e
add a KroneckerProduct module (unsupported) from Kolja Brix and Andreas Platen materials.
2011-06-22 14:39:11 +02:00
Thomas Capricelli
cf04a7c682
fix typo in constant name
2011-06-12 23:54:28 +02:00
Jitse Niesen
8c8ab9ae10
Implement matrix logarithm + test + docs.
...
Currently, test matrix_function_1 fails due to bug #288 .
2011-06-07 14:44:43 +01:00
Jitse Niesen
a6d42e28fe
Decouple MatrixFunction and MatrixFunctionAtomic
...
in preparation for implementation of matrix log.
2011-06-07 14:40:27 +01:00
Jitse Niesen
86ca35ccff
Fix and test MatrixSquareRoot for 1-by-1 matrices.
2011-06-07 14:32:16 +01:00
Gael Guennebaud
421ece38e1
Sparse: fix long int as index type in simplicial cholesky and other decompositions
2011-06-06 10:17:28 +02:00
Gael Guennebaud
b495203310
update URL
2011-05-31 19:07:15 +02:00
Gael Guennebaud
5830f90983
add read/write routines for sparse matrices in the Market format
2011-05-31 18:58:04 +02:00
Jitse Niesen
d23845c4cc
Fix typo ('using namespace' instead of 'using').
2011-05-26 09:52:36 +01:00
Gael Guennebaud
87ac09daa8
Simplify the use of custom scalar types, the rule is to never directly call a standard math function using std:: but rather put a using std::foo before and simply call foo:
...
using std::max;
max(a,b);
2011-05-25 08:41:45 +02:00
Gael Guennebaud
d4fd298fbb
Autodiff: fix scalr - active_scalar
2011-05-14 22:38:41 +02:00
Gael Guennebaud
a34a216e82
AutoDiff: add one missing operator- version
2011-05-12 23:40:19 +02:00
Gael Guennebaud
3de2f4b75a
AutoDiff: fix most of bug #234 (missing operators, used old internal math function interface, etc)
2011-05-12 23:36:33 +02:00
Gael Guennebaud
ae3b6cc324
AutoDiff: fix unary operator-
2011-05-12 22:27:51 +02:00
Jitse Niesen
0c463a21c4
Forgot to 'hg add' example file in last commit.
2011-05-10 09:59:58 +01:00
Jitse Niesen
d7e3c949be
Implement and document MatrixBase::sqrt().
2011-05-09 22:20:20 +01:00
Jitse Niesen
dac4bb640a
Fix compilation error under GCC 4.5.
...
That version is stricter in forcing function prototype and definition
to match.
2011-05-09 13:57:06 +01:00
Jitse Niesen
6e1573f66a
Implement square root for real matrices via Schur.
2011-05-08 22:18:37 +01:00
Jitse Niesen
6b4e215710
Implement matrix square root for complex matrices.
...
I hope to implement the real case soon, but it's a bit more
complicated due to the 2-by-2 blocks in the real Schur decomposition.
2011-05-07 22:57:46 +01:00
Thomas Capricelli
883219041f
better fix for gcc 4.6.0 / ptrdiff_t, as suggested by Benoit
2011-05-05 18:48:18 +02:00