00001 #ifndef nonlinz_h 00002 #define nonlinz_h 00003 00004 class NonLinImpRep; 00005 00006 class NonLinImp { 00007 public: 00008 NonLinImp(); 00009 virtual ~NonLinImp(); 00010 void compute(double omega, double deltafac); 00011 double transfer_amp(int, int); // v_node[arg] is the node 00012 double input_amp(int); 00013 double transfer_phase(int, int); 00014 double input_phase(int); 00015 double ratio_amp(int clmploc, int vloc); 00016 00017 private: 00018 void solve(int curloc); 00019 NonLinImpRep* rep_; 00020 }; 00021 00022 #endif