1 /* matrix.h -- matrix headers */
16 #define M_NOT_SUPPORTED -2
17 #define M_DIM_FAILURE -3
18 #define M_ALLOC_FAIL -4
20 typedef struct s_matrix {
33 /* function prototypes */
34 int matrix_init(t_matrix *matrix,int outfd);
35 int matrix_alloc_data(t_matrix *matrix);
36 int matrix_calc(t_matrix *matrix);
37 int matrix_shutdown(t_matrix *matrix);