/* Matrix_and_PointProcess.h */
/* Paul Boersma, October 11, 1995 */

#ifndef _Matrix_h_
	#include "Matrix.h"
#endif
#ifndef _PointProcess_h_
	#include "PointProcess.h"
#endif

Matrix PointProcess_to_Matrix (PointProcess me);
/*
	Function:
		create a Matrix from a PointProcess; return NULL if out of memory.
	Postconditions:
		thy xmin == 1;
		thy xmax == my numberOfEvents;
		thy nx == my numberOfEvents;
		thy dx == 1;
		thy x1 == 1;
		thy ymin ymax ny dy y1 == 1;
		for (ievent in 1..my numberOfEvents) thy z [1] [ievent] == my event [ievent];
*/

PointProcess Matrix_to_PointProcess (Matrix me);
/*
	Function:
		create a PointProcess from a Matrix; return NULL if out of memory.
	Postconditions:
		thy maximumNumberOfEvents == my nx;
		thy numberOfEvents == my nx;
		for (ix in 1..my nx) thy event [ix] == my z [1] [ix];
*/

/* End of file Matrix_and_PointProcess.h */
