Lines Matching full:matrix1
15 struct C_MatrixXd *matrix1, *matrix2, *result;
18 matrix1 = MatrixXd_new(3, 3);
19 MatrixXd_set_zero(matrix1);
20 MatrixXd_set_coeff(matrix1, 0, 1, 2.5);
21 MatrixXd_set_coeff(matrix1, 1, 0, 1.4);
22 printf("Here is matrix1:\n");
23 MatrixXd_print(matrix1);
26 MatrixXd_multiply(matrix1, matrix1, matrix2);
27 printf("Here is matrix1*matrix1:\n");
30 MatrixXd_delete(matrix1);