#include "secant.hpp" using namespace std; template secant::secant() { x_last=0; x_now=0; x_next=0; f_last=0; f_now=0; OK=false; } template void secant::set(E* tmp, double x1, double x2) { unit=tmp; x_last=x1; x_now=x2; OK=false; } template bool secant::run() { // if(DEBUG) cout<f(x_last); for (i=1; if(x_now); // if(DEBUG) cout<