Skip to content

Commit 6fa620d

Browse files
committed
added text of Golub & Van Loan
1 parent ed8e8eb commit 6fa620d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

doc/Lectures/golubvanloan.pdf

11.6 MB
Binary file not shown.

doc/Projects/2018/Project1/CodeExamples/TridiagonalGaussSeidel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ int main(int argc, char *argv[]){
5757
A(n-2,n-1) = -1.0; A(n-1,n-2) = -1.0;
5858
// solve Ax = b by iteration with a random starting vector
5959
int maxiter = 10; double diff = 1.0;
60-
double epsilon = 1.0e-5; int iter = 0;
60+
double epsilon = 1.0e-; int iter = 0;
6161
vec SolutionOld = randu<vec>(n);
6262
vec SolutionNew = zeros<vec>(n);
6363
while (iter <= maxiter || diff > epsilon){

0 commit comments

Comments
 (0)