MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / runEigenFunction

Function runEigenFunction

grid_map_demos/src/iterator_benchmark.cpp:65–68  ·  view source on GitHub ↗

! * Whenever possible, make use of the Eigen methods for maximum efficiency * and readability. */

Source from the content-addressed store, hash-verified

63 * and readability.
64 */
65void runEigenFunction(GridMap& map, const string& layer_from, const string& layer_to)
66{
67 map[layer_to] = map[layer_to].cwiseMax(map[layer_from]);
68}
69
70/*!
71 * For comparison.

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected