You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Massimiliano Dongiovanni (JIRA)" <ji...@apache.org> on 2012/09/08 11:58:07 UTC
[jira] [Updated] (MATH-858) BlockRealMatrix
java.beans.IntrospectionException
[ https://issues.apache.org/jira/browse/MATH-858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Massimiliano Dongiovanni updated MATH-858:
------------------------------------------
Description:
When I try to read properties (like getColumnDimension) to an instance of class BlockRealMatrix (org.apache.commons.math3.linear.BlockRealMatrix) system raise this exception:
Class - java.beans.IntrospectionException
Message - type mismatch between indexed read and indexed write methods: columnMatrix
=================
Code
import org.apache.commons.math3.stat.correlation.PearsonsCorrelation
import strategoianalysis.util.math.matrix.MatrixStatutils
import org.apache.commons.math3.linear.*
class JohnsonRWAController {
private double[] computeRWA(double[][] data) {
BlockRealMatrix correlationMatrix = new PearsonsCorrelation().computeCorrelationMatrix(data)
int rowDim = correlationMatrix.getRowDimension()
//EXCEPTION HERE
.... etc.
was:
When I try to read properties (like getColumnSize) to an instance of class BlockRealMatrix (org.apache.commons.math3.linear.BlockRealMatrix) system raise this exception:
Class - java.beans.IntrospectionException
Message - type mismatch between indexed read and indexed write methods: columnMatrix
=================
Code
import org.apache.commons.math3.stat.correlation.PearsonsCorrelation
import strategoianalysis.util.math.matrix.MatrixStatutils
import org.apache.commons.math3.linear.*
class JohnsonRWAController {
private double[] computeRWA(double[][] data) {
BlockRealMatrix correlationMatrix = new PearsonsCorrelation().computeCorrelationMatrix(data)
int rowDim = correlationMatrix.getRowDimension()
//EXCEPTION HERE
.... etc.
> BlockRealMatrix java.beans.IntrospectionException
> -------------------------------------------------
>
> Key: MATH-858
> URL: https://issues.apache.org/jira/browse/MATH-858
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Environment: MacOSX 10.8.1 (Macbook Air 4Gb RAM)- IntelliJ IDEA 11 - Grails 2.10
> Reporter: Massimiliano Dongiovanni
> Labels: BlockRealMatrix
>
> When I try to read properties (like getColumnDimension) to an instance of class BlockRealMatrix (org.apache.commons.math3.linear.BlockRealMatrix) system raise this exception:
> Class - java.beans.IntrospectionException
> Message - type mismatch between indexed read and indexed write methods: columnMatrix
> =================
> Code
> import org.apache.commons.math3.stat.correlation.PearsonsCorrelation
> import strategoianalysis.util.math.matrix.MatrixStatutils
> import org.apache.commons.math3.linear.*
> class JohnsonRWAController {
> private double[] computeRWA(double[][] data) {
> BlockRealMatrix correlationMatrix = new PearsonsCorrelation().computeCorrelationMatrix(data)
> int rowDim = correlationMatrix.getRowDimension()
>
> //EXCEPTION HERE
> .... etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira