MCPcopy Create free account
hub / github.com/bgrimstad/splinter / compareFunctionValue

Function compareFunctionValue

test/testingutilities.cpp:229–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void compareFunctionValue(std::vector<TestFunction *> funcs,
230 std::function<Function *(const DataTable &table)> approx_gen_func,
231 size_t numSamplePoints, size_t numEvalPoints,
232 double one_eps, double two_eps, double inf_eps)
233{
234 for(auto &exact : funcs)
235 {
236 compareFunctionValue(exact, approx_gen_func, numSamplePoints, numEvalPoints, one_eps, two_eps, inf_eps);
237 }
238}
239void compareFunctionValue(TestFunction *exact,
240 std::function<Function *(const DataTable &table)> approx_gen_func,
241 size_t numSamplePoints, size_t numEvalPoints,

Callers 2

bspline.cppFile · 0.85
pspline.cppFile · 0.85

Calls 10

sampleFunction · 0.85
vecToDenseFunction · 0.85
getErrorFunction · 0.85
getOneNormFunction · 0.85
getTwoNormFunction · 0.85
getInfNormFunction · 0.85
getDescriptionMethod · 0.80
getFunctionStrMethod · 0.80
linspaceFunction · 0.70
evalMethod · 0.45

Tested by

no test coverage detected