Higher-order function factory that creates get_ functions with automatic dispatch to handle single matrices, lists of matrices, and tibbles.
Details
The returned function automatically:
Applies impl_fn to single matrices and returns the result (as numeric if scalar)
Applies impl_fn to each element of a list and returns a list (simplified to numeric vector if all results are scalars)
Applies impl_fn to tibble coo columns and EXTRACTS results (simplified to numeric vector if all results are scalars)
For tibbles, get_* functions extract values for further processing by the user. They do NOT create new columns or modify the tibble.
Simplification to numeric: If all results are length-1 scalars, the output is converted from a list to a numeric vector for convenience.
Additional arguments are passed through via ...
