[Fwd: Re: Array index out of bounds in svd.times()]
- Subject: [Fwd: Re: Array index out of bounds in svd.times()]
- From: Ron Boisvert <boisvert@nist.gov>
- Date: Fri, 29 Jun 2007 13:02:32 -0400
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=ISO-8859-1; format=flowed
- User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
-------- Original Message --------
Subject: Re: Array index out of bounds in svd.times()
Date: Fri, 29 Jun 2007 11:27:12 -0400 (EDT)
From: Alexander Frey <alexanderfrey@gmail.com>
Reply-To: alexanderfrey@gmail.com
To: boisvert@nist.gov
References: <a9628f570706290723g5387d8e2m3f9fae472001edc3@mail.gmail.com>
I have tracked the problem down to the point where I find that
svd.getS() throws the arrayoutofbounds exception.
I builded the matrix from which I compute the SVD by passing the Matrix
constructor a double[][] array. The array has 2 rows and 16 columns.
Many of the entries are zeros and 1's .
Where could be the problem ?
Thank you, Alexander
2007/6/29, Alexander Frey <alexanderfrey@gmail.com
<mailto:alexanderfrey@gmail.com>>:
Hello,
I get an array index out of bounds after trying to multiply 2
matrices from svd.
Matrix us = svd.getU().times(svd.getS());
This should give me the multiplied matrix m = U * S
What do I do wrong ?
Thank you, Alexander
Date Index |
Thread Index |
Problems or questions? Contact list-master@nist.gov