forked from JavaTX/JavaCompilerCore
29 lines
608 B
Plaintext
29 lines
608 B
Plaintext
|
class Scalar {
|
||
|
|
||
|
Scalar(){
|
||
|
super(());
|
||
|
}
|
||
|
TPH KOXT mul(TPH KOXU v){
|
||
|
TPH KOXV ret;
|
||
|
ret = 0;
|
||
|
TPH KOXX i;
|
||
|
i = 0;
|
||
|
while(i op this.size Signature: [TPH KOYB]()){
|
||
|
ret = ret op this.elementAt Signature: [TPH KOYF, TPH KOYG](i) op v.elementAt Signature: [TPH KOYJ, TPH KOYK](i);
|
||
|
i = i op 1;
|
||
|
};
|
||
|
return ret;
|
||
|
}
|
||
|
|
||
|
Scalar(TPH KOWX v){
|
||
|
super(());
|
||
|
java.lang.Integer i;
|
||
|
i = 0;
|
||
|
while(i op v.size Signature: [TPH KOXA]()){
|
||
|
this.add Signature: [TPH KOXI, TPH KOXJ](v.elementAt Signature: [TPH KOXE, TPH KOXF](i));
|
||
|
i = i op 1;
|
||
|
};
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
}
|