Loading Documentation/Examples/Matrices/LambdaMatrix/LambdaMatrixExample_Laplace.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -37,23 +37,23 @@ void laplaceOperatorMatrix() { // and the others to -1 case 0: columnIdx = rowIdx - gridSize; value = -1; value = 1; break; case 1: columnIdx = rowIdx - 1; value = -1; value = 1; break; case 2: columnIdx = rowIdx; value = 4; value = -4; break; case 3: columnIdx = rowIdx + 1; value = -1; value = 1; break; case 4: columnIdx = rowIdx + gridSize; value = -1; value = 1; break; } } Loading Documentation/Tutorials/Matrices/tutorial_Matrices.md +570 −464 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
Documentation/Examples/Matrices/LambdaMatrix/LambdaMatrixExample_Laplace.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -37,23 +37,23 @@ void laplaceOperatorMatrix() { // and the others to -1 case 0: columnIdx = rowIdx - gridSize; value = -1; value = 1; break; case 1: columnIdx = rowIdx - 1; value = -1; value = 1; break; case 2: columnIdx = rowIdx; value = 4; value = -4; break; case 3: columnIdx = rowIdx + 1; value = -1; value = 1; break; case 4: columnIdx = rowIdx + gridSize; value = -1; value = 1; break; } } Loading
Documentation/Tutorials/Matrices/tutorial_Matrices.md +570 −464 File changed.Preview size limit exceeded, changes collapsed. Show changes