mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-31 10:34:41 +01:00
31 lines
923 B
C
31 lines
923 B
C
#include <isl/mat.h>
|
|
|
|
struct isl_mat {
|
|
int ref;
|
|
|
|
struct isl_ctx *ctx;
|
|
|
|
#define ISL_MAT_BORROWED (1 << 0)
|
|
unsigned flags;
|
|
|
|
unsigned n_row;
|
|
unsigned n_col;
|
|
|
|
isl_int **row;
|
|
|
|
/* actual size of the rows in memory; n_col <= max_col */
|
|
unsigned max_col;
|
|
|
|
struct isl_blk block;
|
|
};
|
|
|
|
__isl_give isl_mat *isl_mat_sub_alloc(__isl_keep isl_mat *mat,
|
|
unsigned first_row, unsigned n_row, unsigned first_col, unsigned n_col);
|
|
__isl_give isl_mat *isl_mat_sub_alloc6(isl_ctx *ctx, isl_int **row,
|
|
unsigned first_row, unsigned n_row, unsigned first_col, unsigned n_col);
|
|
void isl_mat_sub_copy(struct isl_ctx *ctx, isl_int **dst, isl_int **src,
|
|
unsigned n_row, unsigned dst_col, unsigned src_col, unsigned n_col);
|
|
void isl_mat_sub_neg(struct isl_ctx *ctx, isl_int **dst, isl_int **src,
|
|
unsigned n_row, unsigned dst_col, unsigned src_col, unsigned n_col);
|
|
__isl_give isl_mat *isl_mat_diag(isl_ctx *ctx, unsigned n_row, isl_int d);
|