MCPcopy Create free account
hub / github.com/VladyslavUsenko/basalt / interp

Method interp

test/src/test_patch.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11struct SmoothFunction {
12 template <typename Scalar>
13 Scalar interp(const Eigen::Matrix<Scalar, 2, 1>& p) const {
14 return sin(p[0] / 100.0 + p[1] / 20.0);
15 }
16
17 template <typename Scalar>
18 Eigen::Matrix<Scalar, 3, 1> interpGrad(

Callers 1

computeVignMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected