diff options
Diffstat (limited to 'src/math/point.h')
| -rw-r--r-- | src/math/point.h | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/src/math/point.h b/src/math/point.h index 3b69144..064dadc 100644 --- a/src/math/point.h +++ b/src/math/point.h @@ -7,7 +7,47 @@ #include <pari/pari.h> #include "types.h" +/** + * + * @return + */ +point_t *point_new(); + +/** + * + * @param num + * @return + */ +point_t **points_new(size_t num); + +/** + * + * @param point + */ +void point_free(point_t **point); -point_t *gerepile_point(pari_sp ltop, point_t *point); +/** + * + * @param point + */ +void points_free(point_t ***point); + +/** + * + * @param curve + * @param config + * @param ... + * @return + */ +int point_random(curve_t *curve, config_t *config, ...); + +/** + * + * @param curve + * @param config + * @param ... + * @return + */ +int points_random(curve_t *curve, config_t *config, ...); #endif // ECGEN_POINT_H |
