vkostyukov/la4j

Better name for `pipeTo`

vkostyukov opened this issue · 2 comments

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 with update
  • perform - don't really like it, but it will work.

Upvote for apply.

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);