Skip to content

Commit 9436feb

Browse files
committed
Regenerate README
1 parent 9fbeaf5 commit 9436feb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ AbstractArray interface:
5252

5353
````julia
5454
a[1, 2] = 12
55+
@test a == [0 12; 0 0]
5556
@test a[1, 1] == 0
5657
@test a[2, 1] == 0
5758
@test a[1, 2] == 12
@@ -76,6 +77,17 @@ SparseArraysBase interface:
7677
@test issetequal(storedvalues(a), [12])
7778
````
7879

80+
AbstractArray functionality:
81+
82+
````julia
83+
b = a .+ 2 .* a'
84+
@test b == [0 12; 24 0]
85+
@test storedlength(b) == 2
86+
@test b isa SparseArrayDOK{Float64}
87+
88+
a * a'
89+
````
90+
7991
---
8092

8193
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*

0 commit comments

Comments
 (0)