| 74 | } |
| 75 | |
| 76 | double convolve1D(double t, const Eigen::Vector4d &functionValues) |
| 77 | { |
| 78 | const Eigen::Vector4d tVector(1.0, t, t * t, t * t * t); |
| 79 | const Eigen::Vector4d temp = cubicInterpolationConvolutionMatrix |
| 80 | * functionValues; |
| 81 | const double retVal = 0.5 * tVector.transpose() * temp; |
| 82 | return retVal; |
| 83 | } |
| 84 | |
| 85 | bool assembleFunctionValueMatrix(const GridMap &gridMap, const std::string &layer, |
| 86 | const Position &queriedPosition, FunctionValueMatrix *data) |
no outgoing calls
no test coverage detected