X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fdesign-matrix.h;h=b1cda5a9068d38be49ed45dd53a5016f78368056;hb=b5c82cc9aabe7e641011130240ae1b2e84348e23;hp=5250b4901ba384cf67a65860ac622844e0f28404;hpb=666b3bc20d87c833bab09901749ab72c82601d4a;p=pspp-builds.git diff --git a/src/math/design-matrix.h b/src/math/design-matrix.h index 5250b490..b1cda5a9 100644 --- a/src/math/design-matrix.h +++ b/src/math/design-matrix.h @@ -92,4 +92,9 @@ void design_matrix_set_case_count (struct design_matrix *, const struct variable size_t design_matrix_get_case_count (const struct design_matrix *, const struct variable *); size_t design_matrix_get_n_cols (const struct design_matrix *); size_t design_matrix_get_n_rows (const struct design_matrix *); +double design_matrix_get_element (const struct design_matrix *, size_t, size_t); +void design_matrix_set_element (const struct design_matrix *, size_t, size_t, double); +size_t dm_get_exact_subscript (const struct design_matrix *, const struct variable *, + const union value *); + #endif