MCPcopy Create free account
hub / github.com/creatale/node-dv / c

Method c

deps/tesseract/ccstruct/linlsq.cpp:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 **********************************************************************/
116
117double LLSQ::c(double m) const { // get constant
118 if (total_weight > 0.0)
119 return (sigy - m * sigx) / total_weight;
120 else
121 return 0; // too little
122}
123
124
125/**********************************************************************

Callers 4

roiMethod · 0.80
FitBaselineMethod · 0.80
FitLineSpacingModelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected