|
1 | 1 | # FillArrays.jl |
2 | 2 |
|
3 | | - |
| 3 | +[](https://JuliaArrays.github.io/FillArrays.jl/stable) |
| 4 | +[](https://JuliaArrays.github.io/FillArrays.jl/dev) |
4 | 5 | [](https://github.com/JuliaArrays/FillArrays.jl/actions) |
5 | 6 | [](https://codecov.io/gh/JuliaArrays/FillArrays.jl) |
| 7 | +[](https://juliahub.com/ui/Packages/FillArrays/2Dg1l?t=2) |
| 8 | +[](https://juliahub.com/ui/Packages/FillArrays/2Dg1l) |
| 9 | +[](https://juliahub.com/ui/Packages/FillArrays/2Dg1l) |
6 | 10 |
|
7 | 11 | Julia package to lazily represent matrices filled with a single entry, |
8 | 12 | as well as identity matrices. This package exports the following types: |
9 | 13 | `Eye`, `Fill`, `Ones`, `Zeros`, `Trues` and `Falses`. |
10 | 14 |
|
11 | 15 |
|
12 | 16 | The primary purpose of this package is to present a unified way of constructing |
13 | | -matrices. For example, to construct a 5-by-5 `CLArray` of all zeros, one would use |
14 | | -```julia |
15 | | -julia> CLArray(Zeros(5,5)) |
16 | | -``` |
17 | | -Because `Zeros` is lazy, this can be accomplished on the GPU with no memory transfer. |
18 | | -Similarly, to construct a 5-by-5 `BandedMatrix` of all zeros with bandwidths `(1,2)`, one would use |
| 17 | +matrices. |
| 18 | +For example, to construct a 5-by-5 `BandedMatrix` of all zeros with bandwidths `(1,2)`, one would use |
19 | 19 | ```julia |
20 | 20 | julia> BandedMatrix(Zeros(5,5), (1, 2)) |
21 | 21 | ``` |
|
0 commit comments