Return a matrix whose j-th column is f(m.col(j), args...).
Additional arguments are shared across calls. If m has zero columns, or if the first returned column is empty, returns a 0x0 matrix. All returned columns must have the same number of rows.
- Template Parameters
-
| F | type of functor |
| T | type of Eigen matrix |
| Args | types of shared arguments |
- Parameters
-
| [in] | f | functor applied to each column |
| [in] | m | input matrix |
| [in] | args | shared arguments passed to each call |
- Returns
- matrix of results
- Exceptions
-
| std::invalid_argument | if returned columns have inconsistent sizes |
Definition at line 152 of file map.hpp.