modified: ../../test/bytecode/javFiles/Matrix.jav

Konstruktoren eingefuegt
This commit is contained in:
Martin Plümicke 2018-07-06 10:37:59 +02:00
parent bd0bfed2cb
commit 72a4c64c5c

View File

@ -2,8 +2,23 @@ import java.util.Vector;
import java.lang.Integer;
import java.lang.Boolean;
public class Matrix extends Vector<Vector<Integer>> {
mul(m) {
public class Matrix extends Vector<Vector<Integer>> {
Matrix () {
}
Matrix(vv) {
Integer i;
i = 0;
while(i < vv.size()) {
this.add(vv.elementAt(i));
i=i+1;
}
}
Matrix mul(m) {
var ret = new Matrix();
var i = 0;
while(i < size()) {