Skip to content

Commit 6459c9b

Browse files
authored
Update Readme
1 parent 8bc68d3 commit 6459c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ dimensions = [2; 3; 0; 1] # The dimension of row/column
2020

2121
system = System{Float64}(graph_matrix, dimensions; symmetric=false) # The resulting linear system. Set symmetric=true for symmetric systems
2222

23-
initialize!(system) # initialize! all system entries
23+
initialize!(system, randn) # initialize all system entries randomly
2424
system.matrix_entries[1,2].value = rand(2,3) # Directly set the value of a matrix entry
2525
system.vector_entries[4].value = rand(1) # Directly set the value of a vector entry
2626

2727
A = full_matrix(system) # Inspect the matrix
2828
b = full_vector(system) # Inspect the vector
2929

30-
lu_solve!(system) # Solve the system inplace
30+
ldu_solve!(system) # Solve the system inplace
3131

3232
x = full_vector(system) # Inspect the result
3333
x - A\b # Compare to classical implementation

0 commit comments

Comments
 (0)