Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions src/neogb/data.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,79 +28,79 @@
void (*normalize_initial_basis)(
bs_t *bs,
const uint32_t fc
);
) = dispatch_normalize_initial_basis;

int (*initial_input_cmp)(
const void *a,
const void *b,
void *ht
);
) = dispatch_initial_input_cmp;

int (*initial_gens_cmp)(
const void *a,
const void *b,
void *ht
);
) = dispatch_initial_gens_cmp;

int (*monomial_cmp)(
const hi_t a,
const hi_t b,
const ht_t *ht
);
) = dispatch_monomial_cmp;

int (*spair_cmp)(
const void *a,
const void *b,
void *htp
);
) = dispatch_spair_cmp;

int (*hcm_cmp)(
const void *a,
const void *b,
void *htp
);
) = dispatch_hcm_cmp;

/* linear algebra routines */
void (*sba_linear_algebra)(
smat_t *smat,
crit_t *syz,
md_t *st,
const ht_t * const ht
);
) = dispatch_sba_linear_algebra;

void (*exact_linear_algebra)(
mat_t *mat,
const bs_t * const tbr,
const bs_t * const bs,
md_t *st
);
) = dispatch_exact_linear_algebra;

void (*linear_algebra)(
mat_t *mat,
const bs_t * const tbr,
const bs_t * const bs,
md_t *st
);
) = dispatch_linear_algebra;

int (*application_linear_algebra)(
mat_t *mat,
const bs_t * const bs,
md_t *st
);
) = dispatch_application_linear_algebra;

void (*trace_linear_algebra)(
trace_t *trace,
mat_t *mat,
const bs_t * const bs,
md_t *st
);
) = dispatch_trace_linear_algebra;

void (* interreduce_matrix_rows)(
mat_t *mat,
bs_t *bs,
md_t *st,
int free_basis
);
) = dispatch_interreduce_matrix_rows;

cf32_t *(*reduce_dense_row_by_old_pivots_ff_32)(
int64_t *dr,
Expand All @@ -109,7 +109,7 @@ cf32_t *(*reduce_dense_row_by_old_pivots_ff_32)(
hm_t * const * const pivs,
const hi_t dpiv,
const uint32_t fc
);
) = dispatch_reduce_dense_row_by_old_pivots_ff_32;

hm_t *(*sba_reduce_dense_row_by_known_pivots_sparse_ff_32)(
int64_t *dr,
Expand All @@ -120,7 +120,7 @@ hm_t *(*sba_reduce_dense_row_by_known_pivots_sparse_ff_32)(
const len_t si, /* signature index of row reduced */
const len_t ri, /* index of row in matrix */
md_t *st
);
) = dispatch_sba_reduce_dense_row_by_known_pivots_sparse_ff_32;

hm_t *(*reduce_dense_row_by_known_pivots_sparse_ff_32)(
int64_t *dr,
Expand All @@ -133,7 +133,7 @@ hm_t *(*reduce_dense_row_by_known_pivots_sparse_ff_32)(
const len_t bi, /* basis index of generating element */
const len_t tr, /* trace data? */
md_t *st
);
) = dispatch_reduce_dense_row_by_known_pivots_sparse_ff_32;

hm_t *(*trace_reduce_dense_row_by_known_pivots_sparse_ff_32)(
rba_t *rba,
Expand All @@ -146,7 +146,7 @@ hm_t *(*trace_reduce_dense_row_by_known_pivots_sparse_ff_32)(
const len_t mh,
const len_t bi,
md_t *st
);
) = dispatch_trace_reduce_dense_row_by_known_pivots_sparse_ff_32;

cf32_t *(*reduce_dense_row_by_all_pivots_ff_32)(
int64_t *dr,
Expand All @@ -156,7 +156,7 @@ cf32_t *(*reduce_dense_row_by_all_pivots_ff_32)(
hm_t *const *pivs,
cf32_t *const *dpivs,
const uint32_t fc
);
) = dispatch_reduce_dense_row_by_all_pivots_ff_32;


cf32_t *(*reduce_dense_row_by_dense_new_pivots_ff_32)(
Expand All @@ -165,4 +165,4 @@ cf32_t *(*reduce_dense_row_by_dense_new_pivots_ff_32)(
cf32_t * const * const pivs,
const len_t ncr,
const uint32_t fc
);
) = dispatch_reduce_dense_row_by_dense_new_pivots_ff_32;
Loading
Loading