forked from JavaTX/JavaCompilerCore
modified: ../../test/bytecode/javFiles/Matrix.jav
Konstruktoren eingefuegt
This commit is contained in:
parent
bd0bfed2cb
commit
72a4c64c5c
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user