![]() |
TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
LU decomposition of a square matrix More...
#include <cassert>#include <ctime>#include <iomanip>#include <iostream>#include "./lu_decomposition.h"Go to the source code of this file.
Functions | |
| template<typename T> | |
| std::ostream & | operator<< (std::ostream &out, matrix< T > const &v) |
| void | test1 () |
| void | test2 () |
| int | main () |
LU decomposition of a square matrix
Definition in file lu_decompose.cpp.
| int main | ( | void | ) |
Main function
Definition at line 84 of file lu_decompose.cpp.
| std::ostream & operator<< | ( | std::ostream & | out, |
| matrix< T > const & | v ) |
operator to print a matrix
Definition at line 18 of file lu_decompose.cpp.
| void test1 | ( | ) |
Test LU decomposition
Definition at line 36 of file lu_decompose.cpp.
| void test2 | ( | ) |
Test determinant computation using LU decomposition
Definition at line 66 of file lu_decompose.cpp.