Skip to content
Snippets Groups Projects
Commit e25e417c authored by zkasmi's avatar zkasmi
Browse files

Outputs added for better readability.

parent aa477c03
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
void givens_test(void) void givens_test(void)
{ {
puts("############ Test the Givens algorithm ###############");
matrix_t xj, xij; matrix_t xj, xij;
xj = 100; xj = 100;
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
void householder_test(void) void householder_test(void)
{ {
puts("############ Test the Householder algorithm ###############");
matrix_t A[10][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 }, matrix_t A[10][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 },
{ 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 }, { 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 },
{ 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 }, { 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 },
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
void lu_decomp_test(void) void lu_decomp_test(void)
{ {
puts("############ Test the LU decomposition algorithm ###############");
matrix_t A[5][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 }, matrix_t A[5][5] = { { 0.8147, 0.1576, 0.6557, 0.7060, 0.4387 },
{ 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 }, { 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 },
{ 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 }, { 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 },
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
void svd_test(void) void svd_test(void)
{ {
puts("############ Test the SVD algorithm ###############");
uint8_t m, n; uint8_t m, n;
uint8_t i = 0; uint8_t i = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment