From e25e417c2fe3d220eb8ad5553f84b7b21e686237 Mon Sep 17 00:00:00 2001 From: zkasmi <zkasmi@inf.fu-berlin.de> Date: Sun, 22 Mar 2020 16:35:29 +0100 Subject: [PATCH] Outputs added for better readability. --- examples/linear_algebra/matrix_decompositions/givens_test.c | 1 + .../linear_algebra/matrix_decompositions/householder_test.c | 2 +- examples/linear_algebra/matrix_decompositions/lu_decomp_test.c | 1 + examples/linear_algebra/matrix_decompositions/svd_test.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/linear_algebra/matrix_decompositions/givens_test.c b/examples/linear_algebra/matrix_decompositions/givens_test.c index 4845ffa..d738295 100644 --- a/examples/linear_algebra/matrix_decompositions/givens_test.c +++ b/examples/linear_algebra/matrix_decompositions/givens_test.c @@ -27,6 +27,7 @@ void givens_test(void) { + puts("############ Test the Givens algorithm ###############"); matrix_t xj, xij; xj = 100; diff --git a/examples/linear_algebra/matrix_decompositions/householder_test.c b/examples/linear_algebra/matrix_decompositions/householder_test.c index c515313..da557e3 100644 --- a/examples/linear_algebra/matrix_decompositions/householder_test.c +++ b/examples/linear_algebra/matrix_decompositions/householder_test.c @@ -30,7 +30,7 @@ void householder_test(void) { - + puts("############ Test the Householder algorithm ###############"); 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.1270, 0.9572, 0.8491, 0.2769, 0.7655 }, diff --git a/examples/linear_algebra/matrix_decompositions/lu_decomp_test.c b/examples/linear_algebra/matrix_decompositions/lu_decomp_test.c index 985304f..0edef7a 100644 --- a/examples/linear_algebra/matrix_decompositions/lu_decomp_test.c +++ b/examples/linear_algebra/matrix_decompositions/lu_decomp_test.c @@ -28,6 +28,7 @@ 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 }, { 0.9058, 0.9706, 0.0357, 0.0318, 0.3816 }, { 0.1270, 0.9572, 0.8491, 0.2769, 0.7655 }, diff --git a/examples/linear_algebra/matrix_decompositions/svd_test.c b/examples/linear_algebra/matrix_decompositions/svd_test.c index 9bb5079..4b3c9bc 100644 --- a/examples/linear_algebra/matrix_decompositions/svd_test.c +++ b/examples/linear_algebra/matrix_decompositions/svd_test.c @@ -31,6 +31,7 @@ void svd_test(void) { + puts("############ Test the SVD algorithm ###############"); uint8_t m, n; uint8_t i = 0; -- GitLab