| 115 | **********************************************************************/ |
| 116 | |
| 117 | double 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 | /********************************************************************** |
no outgoing calls
no test coverage detected