You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
672 B
36 lines
672 B
15 years ago
|
/*
|
||
|
* KernelBasicVector.hpp
|
||
|
* AwesomeAttractor
|
||
|
*
|
||
|
* Created by Joshua Moerman on 18-07-10.
|
||
|
* Copyright 2010 Rodo. All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef KERNELBASICVECTOR_HPP
|
||
|
#define KERNELBASICVECTOR_HPP
|
||
|
|
||
|
#include "../AttractorKernel.hpp"
|
||
|
|
||
|
class KernelBasicVector : virtual public AttractorKernel {
|
||
|
|
||
|
protected:
|
||
|
|
||
|
unsigned int myDimension;
|
||
|
|
||
|
double * vectorNew;
|
||
|
double * vectorOld;
|
||
|
|
||
|
KernelBasicVector(const unsigned int dimension);
|
||
|
|
||
|
public:
|
||
|
|
||
|
// getter functions for teh resulta (can be used as setters, and it may be used as such)
|
||
|
virtual double * & vector();
|
||
|
virtual double * & previousVector();
|
||
|
|
||
|
virtual unsigned int dimension() const;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|