Hi,
I am looking into the use of lazy evaluation and lazy arrays in Julia. For example the package LazyArrays.jl.
However i am not quite sure if i understand the benefits of lazy evaluation correctly. In my understanding it is primarily usefull for delaying evaluations until they are absolutely necessary.
Can LazyArrays also be usefull when i am certain every calculation i make has to be calculated at some point?
Specifically i am interested in using it for a SparseMatrix*DenseVector multiplication and DenseVector addition.
Can Lazy evaluation be usefull for this?
I’m not absolutely sure, it depends on your problem (for example do you mean SparseMatrixCSC or do you have sparse matrices with special formal properties). Also LazyAlgebra looks like a package which makes use of fusion rules.