Return a matrix whose i-th row is f(get<0>(ms).row(i), get<1>(ms).row(i), ..., args...).
The tuple ms must contain at least two Eigen matrices with identical dimensions. Additional trailing arguments are shared across calls. If the inputs have 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 |
| Tuple | type of tuple of Eigen matrix inputs |
| Args | types of shared arguments |
- Parameters
-
| [in] | f | functor applied to each tuple of rows |
| [in] | ms | tuple of Eigen matrix inputs |
| [in] | args | shared arguments passed to each call |
- Returns
- matrix of results
- Exceptions
-
| std::invalid_argument | if the inputs have different dimensions or returned rows have inconsistent sizes |
Definition at line 201 of file map.hpp.