Commit Graph

18 Commits

Author SHA1 Message Date
Luc Maisonobe 2f335ac471 replaced Object[] parameters by variable arguments in exceptions constructors
this allows simpler error declaration and removes the need for the strange
null argument with fixed messages

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@746578 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 20:01:14 +00:00
Luc Maisonobe e01294b158 Failed attempt to implement Strassen matrix multiplication on recursive layout as
described in Siddhartha Chatterjee, Alvin R. Lebeck, Praveen K. Patnala and Mithuna
Thottehodi paper "Recursive Array Layout and Fast Matrix Multiplication".

As of 2009-02-13, this implementation does not work! The padding at left and bottom
sides of the matrix should be cleared after some operations like scalerAdd and is not.
Also there is a limitation in the multiplication that can only process matrices with
sizes similar enough to have the same power of two number of tiles in all three
matrices A, B and C such that C = A*B. These parts have not been fixed since the
performance gain with respect to DenseRealMatrix are not very important, and the
numerical stability is poor.

This may well be due to a bad implementation.

This code has been put in the experimental directory for the record, putting it into
production would require solving all these issues.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@744126 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 14:38:48 +00:00
Luc Maisonobe d056eaadab replaced inefficient use of constructors for Integer, Long, Float and Double
by the recommended static valueOf methods that cache results

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@666292 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 19:32:52 +00:00
Phil Steitz 836476d201 Added missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@543073 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 07:37:24 +00:00
Henri Yandell 47f3a2fd9e Fixed copyright header (committing in parts as the full commit timed out)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480437 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:08:19 +00:00
Dirk Verbeeck 9cdfd53d3b svn:keywords correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@155427 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:11:52 +00:00
Phil Steitz ab2028cdfc Moved BeanTransformer classes to experimental directory.
Partially addresses PR# 32538 (JDK 1.4 dependencies).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141512 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 05:40:48 +00:00
Mark R. Diggory a40de0d92f Now that we have BeanUtils "free" versions of these they do not need to be maintained in experimental.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141264 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:45:11 +00:00
Mark R. Diggory f8e77d4ff1 Moving BeanTransformer to Experimental
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141260 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 22:10:17 +00:00
Mark R. Diggory 82b4bc1943 Removing BeanListUnivariate example from test cases. Improving ListUnivariate Serialization Example.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141257 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 21:28:06 +00:00
Phil Steitz a3c8daf76c Restored original copyright date.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141099 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 03:24:20 +00:00
Mark R. Diggory 9698abfb3b Removing default generated @author Administrator tags from Eclipse
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141080 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 16:54:05 +00:00
Mark R. Diggory de37f31a2a Actually, we should really be switching to Apache license 2.0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141079 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 16:52:41 +00:00
Mark R. Diggory 19080d7f09 Happy New Year, updating all license years to 2004
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141074 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 00:49:03 +00:00
Mark R. Diggory 4fc6b5e54e New additions of CholeskySolver contributed by Stefan Koeberle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141044 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 19:53:40 +00:00
Brent Worden 04094833d5 Here's my idea for approximating derivatives. It follows the decorator layout of commons-collections. The main interface point is the UnivariateRealFunctionUtils type which is responisble for creating decorated UnivariateRealFunction objects. To demostrate the how the decorators could be used, I added the UnivariateRealFunctionUtilsTest class which computes a local maximum of a function using derivative decorators and the default solver.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141043 13f79535-47bb-0310-9956-ffa450edef68
2003-11-22 05:59:31 +00:00
Mark R. Diggory 8406e7ae61 extends MathException....
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141042 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 04:26:38 +00:00
Mark R. Diggory 4683ebbf93 I've thought about this and I like the idea of getting some of this code available in the cvs for experimentation, I'm going ahead and adding it for others to look at and consider.
This directory will not get compiled into the regular build process or future distributions. We can work on an ant script to provide easy build of this if others think it neccessary.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141041 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 04:22:17 +00:00