#include <iostream>
#include "lin_alg.h"
#include "make_vector.h"
#include "array.h"
Go to the source code of this file.
Functions | |
void | test_lusolve1D (void) |
void | test_lusolve4D (void) |
void | test_matrix_exp4D (void) |
Test for the matrix exponential function (4D matrix). | |
void | test_matrix_exp1D (void) |
Test for the matrix exponential function (3D matrix). | |
void | test_matrix_exp3D (void) |
Test for the matrix exponential function (3D matrix). | |
int | main (void) |
Definition in file test_linalg.cc.
int main | ( | void | ) |
void test_lusolve1D | ( | void | ) |
The function tests the LU-decompusition method for solving a 1D linear equation system. It uses the functions 'ludcmp' and 'lubacksub'.
Definition at line 41 of file test_linalg.cc.
References lubacksub(), and ludcmp().
Referenced by main().
void test_lusolve4D | ( | void | ) |
The function tests the LU-decompusition method for solving a linear equation system. It uses the functions 'ludcmp' and 'lubacksub'.
Definition at line 101 of file test_linalg.cc.
References lubacksub(), ludcmp(), and mult().
void test_matrix_exp1D | ( | void | ) |
Test for the matrix exponential function (3D matrix).
Definition at line 298 of file test_linalg.cc.
References matrix_exp(), and q.
void test_matrix_exp3D | ( | void | ) |
Test for the matrix exponential function (3D matrix).
Definition at line 319 of file test_linalg.cc.
References matrix_exp(), and q.
void test_matrix_exp4D | ( | void | ) |
Test for the matrix exponential function (4D matrix).
Definition at line 255 of file test_linalg.cc.
References matrix_exp(), and q.