Return a matrix whose j-th column is f(get<0>(ms).col(j), get<1>(ms).col(j), ..., 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 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 |
| Tuple | type of tuple of Eigen matrix inputs |
| Args | types of shared arguments |
- Parameters
-
| [in] | f | functor applied to each tuple of columns |
| [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 columns have inconsistent sizes |
Definition at line 266 of file map.hpp.