So `VirtualMatrix` basically generates values on-d...
# science
t
So
VirtualMatrix
basically generates values on-demand using that supplier function? Interesting...
a
Yes, it is useful in cases, when only a few of elements are non-zero. If you need fixed matrix, then you can produce it with
Matrix.real()
factory function. Another way is to use
MatrixContext.auto().produce
. It is not limited to `Double`s.
t
Okay, that's good to know.
a
I plan to add other matrix types like diagonal ones, but I need a feedback on that.