bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reporting mistake in the GSL reference, release 2.7


From: 顾加银
Subject: Reporting mistake in the GSL reference, release 2.7
Date: Sun, 1 May 2022 03:14:07 +0800 (GMT+08:00)

Dear GSL developers

     I am Jiayin Gu, a GSL user from China. I recently found maybe a mistake in 
the GSL reference, 2.7.  In the description of LU decomposition (Section 14.1). 
It states that

"The j-th column of the matrix P is given by the k-th column of the identity 
matrix, where k = p_j the j-th element of the permutation vector."

However, I tested this LU decomposition routine and found that the statement 
should be replaced by

"The j-th column of the identity matrix is placed as the k-th column of the 
matrix P, where k=p_j the j-th element of the permutation vector."




I tested this on Ubuntu 20.04 with g++ compiler. The GSL library is installed 
with the command "sudo apt install gsl-bin". Executing the command "sudo apt 
install --upgrade gsl-bin" gives  "gsl-bin is already the newest version 
(2.5+dfsg-6build1)." in the print. The attachment is the test code.




I hope the developers can fix this issue.

Best regards




Jiayin Gu

Attachment: Main.cpp
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]