| 61 | } |
| 62 | |
| 63 | double gradient ( |
| 64 | ) const |
| 65 | { |
| 66 | // make sure requires clause is not broken |
| 67 | DLIB_ASSERT(current_n() > 1, |
| 68 | "\t double running_gradient::gradient()" |
| 69 | << "\n\t You must add more values into this object before calling this function." |
| 70 | << "\n\t this: " << this |
| 71 | ); |
| 72 | |
| 73 | return w(0); |
| 74 | } |
| 75 | |
| 76 | double intercept ( |
| 77 | ) const |
nothing calls this directly
no outgoing calls
no test coverage detected