[Fwd: covariance matrix in jama]
- Subject: [Fwd: covariance matrix in jama]
- From: Ron Boisvert <boisvert@nist.gov>
- Date: Tue, 26 May 2009 09:22:40 -0400
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-8859-1; format=flowed
- User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
-------- Original Message --------
Subject: covariance matrix in jama
Date: Tue, 26 May 2009 05:31:26 -0400
From: Alexandros Altis <alexandros.altis@googlemail.com>
Reply-To: alexandros.altis@googlemail.com
To: boisvert@nist.gov
Dear discussion group,
I am new to Java/Jama. Simple task: I would like to calculate the
covariance by "B.covar()" of a given matrix B in JAMA.
How can I extend the Matrix class by my own method "covar()"?
I tried inheritance. I created the class myMatrix as an extension of
Matrix. There I wanted to add the method covar(). But A,m,n of Matrix
are not visible. Is it because A,m,n in the Matrix class are private?
Why are they private? Do I always have to use getArray(),
getColumnsDimension(), etc. for access?
Thanks for your help,
Alex
Date Index |
Thread Index |
Problems or questions? Contact list-master@nist.gov