commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Werpachowski (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-391) Inconsistent behaviour of constructors in ArrayRealVector class
Date Wed, 21 Jul 2010 08:58:50 GMT
Inconsistent behaviour of constructors in ArrayRealVector class
---------------------------------------------------------------

                 Key: MATH-391
                 URL: https://issues.apache.org/jira/browse/MATH-391
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Roman Werpachowski


ArrayRealVector(double[] d) allows to construct a zero-length vector, but ArrayRealVector(double[]
d, boolean copyArray) doesn't. Both should allow this as zero-length vectors are mathematically
well-defined objects and they are useful boundary cases in many algorithms.

Zero-length vectors worked in version 2.0, they should be working in 2.1 as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message