first commit

This commit is contained in:
Jeena Paradies 2011-04-19 11:37:05 +02:00
commit 063194f8be
349 changed files with 36508 additions and 0 deletions

View file

@ -0,0 +1,35 @@
int main() {
double[] vector = new double[4];
double[][] matrix = new double[3][4];
int i=0;
while (i<matrix.length) {
int j=0;
while (j<matrix[0].length) {
matrix[i][j] = 5.0;
j++;
}
i++;
}
i=0;
while (i<vector.length-1) {
vector[i] = 3.0;
i++;
}
matrix[0] = vector;
int j = 0;
while (j<vector.length) {
matrix[1][j] = vector[j]+1.0;
j++;
}
for (double[] x : matrix)
for (double y : x)
printDouble(y);
return 0 ;
}