int LT_Getch (void) { char c; if((c=getchar())=='d'){ void break_point_data (char * c); static char stop_here_byte=0; static unsigned short int * stop_here_check=0; break_point_data(&stop_here_byte); stop_here_byte++; break_point_data(0); } return ((int)c); }
MGVector MGPPRep::eval( //Evaluate right continuous n'th derivative(BPVAL) double t, //Parameter value to evaluate. size_t n //Dgree of derivative. ) const{ //When n=0, compute positional data. MGVector v(m_sdim); for(size_t i=0; i<m_sdim; i++){ v(i)=bpval_(break_point_data(), &m_coef[m_order*m_nbreak*i] , m_nbreak, m_order, t, n); } return v; }