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