00001 #ifndef __LPCINT_HPP__ 00002 #define __LPCINT_HPP__ 00003 /**********************************************************/ 00004 00005 #include "tdef.h" 00006 #include "vecint.hpp" 00007 00008 /**********************************************************/ 00009 00010 typedef enum { 00011 LPCINT_CONST = 0, 00012 LPCINT_LIN_KI, 00013 LPCINT_LIN_LSF 00014 }; 00015 00016 /**********************************************************/ 00017 00018 class LPCInt : public VecInt { 00019 public: 00020 LPCInt( INT order, INT method=LPCINT_CONST, DOUBLE tend=1. ); 00021 ~LPCInt(); 00022 00023 VOID set( DOUBLE *vai, DOUBLE tend=-1 ); 00024 DOUBLE *get( DOUBLE pos ); 00025 00026 private: 00027 INT method; 00028 00029 DOUBLE *vtmp, *vwrk2; 00030 }; 00031 00032 /**********************************************************/ 00033 00034 #endif