DIMALUNGU
Biography
Language: English/**
- Construct a singleton matrice.
*/
public Matrice() {
this(1, 1);
}
- Construct a matrice with the given number of columns and rows.
*
- @param m The number of columns.
- @param n The number of rows.
*/
public Matrice(int m, int n) {
cols = m;
rows = n;
data = new double[m][n];
}
- Compute the sum of this matrice and the given matrice.
- This matrice and the given matrice must have the same
- dimension, otherwise an exception is thrown.
*
- @param arg The given matrice.
- @return The sum.
*/


