Better name for `pipeTo`
vkostyukov opened this issue · 2 comments
vkostyukov commented
The pipeTo
is kinda code name for a new concept. We should come up within a better name this release.
Here is the candidates I have:
apply
- common OO name for Visitor pattern (which is similar to what we have in operations)map
- FP alternative; not really clear name; may correlate withupdate
perform
- don't really like it, but it will work.
SamoylovMD commented
Upvote for apply
.
vkostyukov commented
The examples of apply
usage would be look like:
Matrix a = ???
Vector b = ???
Matrix[] lu = a.apply(LinearAlgebra.LU);
Vector x = a.apply(LinearAlgebra.GAUSSIAN, b);