format
This commit is contained in:
parent
add2520e49
commit
0ce79392c3
BIN
lib/lizfcm.a
BIN
lib/lizfcm.a
Binary file not shown.
@ -62,15 +62,13 @@ int main() {
|
||||
printf("least_squares_lin_reg(v, w): (%f)x + %f\n", line->m, line->a);
|
||||
printf("========\n");
|
||||
|
||||
|
||||
printf("LU Decomp\n");
|
||||
char m_s[2048];
|
||||
Matrix_double *m = InitMatrixWithSize(double, 8, 8, 0.0);
|
||||
for (int i = 0; i < 8; i++) {
|
||||
for (int j = 0; j < 8; j++) {
|
||||
for (int j = 0; j < 8; j++)
|
||||
m->data[i]->data[j] = (i + 1.0) + j * 3 + (rand() % 12);
|
||||
}
|
||||
}
|
||||
format_matrix_into(m, m_s);
|
||||
printf("m = %s", m_s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user