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