|
|
@ -4,19 +4,19 @@ BasicKernel::BasicKernel(): |
|
|
|
myParameters(NULL), vectorNew(NULL), vectorOld(NULL) { |
|
|
|
} |
|
|
|
|
|
|
|
double * & BasicKernel::parameters() { |
|
|
|
inline double * & BasicKernel::parameters() { |
|
|
|
return myParameters; |
|
|
|
} |
|
|
|
|
|
|
|
double & BasicKernel::parameter(const unsigned int index) { |
|
|
|
inline double & BasicKernel::parameter(const unsigned int index) { |
|
|
|
return myParameters[index]; |
|
|
|
} |
|
|
|
|
|
|
|
double * & BasicKernel::vector() { |
|
|
|
inline double * & BasicKernel::vector() { |
|
|
|
return vectorNew; |
|
|
|
} |
|
|
|
|
|
|
|
double * & BasicKernel::previousVector() { |
|
|
|
inline double * & BasicKernel::previousVector() { |
|
|
|
return vectorOld; |
|
|
|
} |
|
|
|
|
|
|
|