commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <mdigg...@latte.harvard.edu>
Subject Re: [MATH] Matrix indices
Date Fri, 27 Aug 2004 14:24:41 GMT
I would recommend submitting a patch to the java files into bugzilla 
with the changes in it.

Review the contributing documentation on the developers page:
http://jakarta.apache.org/commons/math/developers.html

Post any questions you may have about contributing a patch.

Cheers,
-Mark

Kim van der Linde wrote:

>
>
> Mark R. Diggory wrote:
>
>> I agree entirely with your argument. I would feel more comfortable 
>> with 0 to n-1.
>
>
> Ok, how do I update the inproved class, as I did that already 
> yesterday evening. I would also like to add several new methods:
>
> RealMatrix getSubMatrix (int startRow, int endRow, int startColumn, 
> int endColumn)  throws MatrixIndexException;
>
> RealMatrix getSubMatrix (int[] rows, int[] columns)  throws 
> MatrixIndexException;
>
> RealMatrix getSubMatrix (int startRow, int endRow, int[] columns) 
> throws MatrixIndexException;
>
> RealMatrix getSubMatrix (int[] rows, int startColumn, int endColumn) 
> throws MatrixIndexException;
>
> RealMatrix getRowMatrix(int row) throws MatrixIndexException;
>
> RealMatrix getColumnMatrix(int col) throws MatrixIndexException;
>
> double[] columnMeans();
>
> double[] rowMeans();
>
> getRowMatrix and getColumnMatrix could be excluded as they are special 
> cases of the getSubMatrix methods.
>
> Objections against these?
>
> Cheers,
>
> Kim
>


-- 
Mark R. Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message