Skip to content

Commit 48a8807

Browse files
committed
Version bump, license year update
1 parent 49df6b0 commit 48a8807

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ LICENSE
22

33
ExtendableSparse.jl is open-source code licensed under the BSD license.
44

5-
Copyright (c) 2018 Jürgen Fuhrmann <[email protected]>
5+
Copyright (c) 2019-2020 Jürgen Fuhrmann <[email protected]>
66

77
All rights reserved.
88

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ExtendableSparse"
22
uuid = "95c220a8-a1cf-11e9-0c77-dbfce5f500b3"
33
authors = ["Juergen Fuhrmann <[email protected]>"]
4-
version = "0.2.5"
4+
version = "0.2.6"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88

9-
Sparse matrix class with efficient successive insertion of entries.
9+
Sparse matrix class with efficient successive insertion of entries and entry update.
1010

1111
Without an intermediate data structure, efficient successive insertion/update of possibly duplicate entries in random order into a standard compressed colume storage structure appears to be not possible. The package introduces `ExtendableSparseMatrix`, a delegating wrapper containing a Julia standard `SparseMatrixCSC` struct for performing linear algebra operations and a `SparseMatrixLNK` struct realising a linked list based (but realised in vectors) format collecting new entries.
1212

@@ -16,7 +16,13 @@ Any linear algebra method on `ExtendableSparseMatrix` starts with a `flush!` met
1616

1717
`ExtendableSparseMatrix` is aimed to work as a drop-in replacement to `SparseMatrixCSC` in finite element and finite volume codes especally in those cases where the sparsity structure is hard to detect a priori and where working with an intermediadte COO representation appears to be not convenient.
1818

19-
In addition, the packages provides a method `updateindex!(A,op,v,i,j)' for both `SparseMatrixCSC` and for `ExtendableSparse` which allows to update a matrix element with one index search instead of two. It allows to replace e.g. `A[i,j]+=v` by `updateindex!(A,+,i,j,v)`. The former operation is lowered to `%1 = Base.getindex(A, 1, 2); %2 = %1 + 3; Base.setindex!(A, %2, 1, 2)` triggering two index searches, one for `getindex!` and another one for `setindex!`.
19+
In addition, the packages provides a method `updateindex!(A,op,v,i,j)` for both `SparseMatrixCSC` and for `ExtendableSparse` which allows to update a matrix element with one index search instead of two. It allows to replace e.g. `A[i,j]+=v` by `updateindex!(A,+,i,j,v)`. The former operation is lowered to
20+
````
21+
%1 = Base.getindex(A, 1, 2)
22+
%2 = %1 + 3
23+
Base.setindex!(A, %2, 1, 2)
24+
````
25+
triggering two index searches, one for `getindex!` and another one for `setindex!`.
2026

2127

2228

0 commit comments

Comments
 (0)