Profile

Description

Profile is a discrete approximation of a continuous real function, or may represent output of a measurement. Adaptive Vision Library contains a rich set of ready to use profile manipulating functions, therefore it should be proffered to use instead of plain old real numbers' arrays or std::vector.

class Profile : public Array< real >
{
public:
	Profile();
	Profile(void* data, int count);
	Profile(int count, real value);

	int          Size() const;
	void         Reserve( int capacity );
	void         Resize( int size );
	void         Resize( int capacity, real value );
	real*        Begin();
	real*        End();
	const real*  Begin() const;
	const real*  End() const;
}