Skip to content

Commit

Permalink
Merge pull request #5 from jalvesz/dev
Browse files Browse the repository at this point in the history
merge from dev
  • Loading branch information
jalvesz committed May 11, 2024
2 parents bf71378 + d05b1dc commit cea1950
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 209 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ call dense2coo( dense , coo )
### Sparse Matrix-Vector product
(available) Matrix vector products are interfaced by the procedure
```fortran
call matvec( Mat , vec_x, vec_y ) ! vec_y = Mat * vec_x
call matvec( Mat , vec_x, vec_y ) ! vec_y = vec_y + Mat * vec_x
```
**NOTE**: The matvec in this lib do not initialize `vec_y=0`. Why? enable easy recycling of data to do `vec_y=vec_y+Mat*vec_x`. If a clean vector is needed make sure to put a `vec_y=0` just before calling matvec.

| Matrix | full | symmetric |
|--------|-------|------------------|
Expand Down
Loading

0 comments on commit cea1950

Please sign in to comment.