-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuildMatrix.java
More file actions
49 lines (31 loc) · 1.14 KB
/
BuildMatrix.java
File metadata and controls
49 lines (31 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
public class BuildMatrix{
/*
* Raggruppamento delle approssimazioni in colonne
* di matrice:
*
* __ 1 2 3 4 5 _
* | |
* | X y_fe y_be y_lf y_analt |
* |_ _|
*
*/
int metodi = 5;
// --------------- istanza per costruzione X ---------------//
Vettore x = new Vettore();
//----------------- array multidim -------------------------//
double risultati [][] = new double [x.n][metodi];
//-------------- istanze per usare metodi ------------------//
BE be = new BE();
FE fe = new FE();
LF lf = new LF();
Analitic analitic = new Analitic();
//-------------- assegnazione colonne ----------------------//
// e restituzione dell'output
//----------------------------------------------------------//
public double[][] raggruppa(){
System.out.println("\n\t Prima colonna di matrice:");
risultati[][1]={ be.buildArray(be.coeff_y_i_uno,be.coeff_y_i_due,be.i_iniziale,be.o.grande)};
System.out.println(risultati[][1]);
return risultati;
} // metodo raggruppa
} // class