mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-13 16:59:50 +08:00
Merge pull request #907 from kvedala/lu_decompose
[doc] fix documentation in lu_decompose
This commit is contained in:
@@ -61,7 +61,7 @@ void test1() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Test determinant computation using LU decomposition
|
||||
* Test determinant computation using LU decomposition
|
||||
*/
|
||||
void test2() {
|
||||
std::cout << "Determinant test 1...";
|
||||
|
||||
@@ -78,7 +78,7 @@ int lu_decomposition(const matrix<T> &A, matrix<double> *L, matrix<double> *U) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Compute determinant of an NxN square matrix using LU decomposition.
|
||||
* Compute determinant of an NxN square matrix using LU decomposition.
|
||||
* Using LU decomposition, the determinant is given by the product of diagonal
|
||||
* elements of matrices L and U.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user