Flint2 0.1.0.3 → 0.1.0.4
raw patch · 5 files changed
+38/−16 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Flint2.cabal +5/−6
- README.md +1/−1
- csrc/ca_mat.h +15/−0
- csrc/ca_poly.h +13/−0
- package.yaml +4/−9
Flint2.cabal view
@@ -5,14 +5,11 @@ -- see: https://github.com/sol/hpack name: Flint2-version: 0.1.0.3+version: 0.1.0.4 synopsis: Haskell bindings for the flint library for number theory-description: A Haskell Wrapper for Flint- This library provides access to the functionality of the FLINT.- So what is it?- FLINT is a C library for doing number theory, freely available under the GNU LGPL at [https://flintlib.org](https://flintlib.org)+description: This library provides access to the functionality of the FLINT.+ FLINT is a C library for doing number theory, freely available under the GNU LGPL. At its core, FLINT provides arithmetic in standard rings such as the integers, rationals, algebraic, real, complex and p-adic numbers, finite fields, and number fields. It also provides polynomials (univariate and multivariate), power series, and matrices.- At the research frontier FLINT has been used for many large scale research computations (e.g. A Trillion Triangles) and has been cited in hundreds of publications. FLINT's authors themselves have published more than 20 papers describing new algorithms first implemented within or on top of FLINT. category: Math homepage: https://github.com/monien/Flint2#readme@@ -344,6 +341,8 @@ arf.h bool_mat.h ca_ext.h+ ca_mat.h+ ca_poly.h d_mat.h dirichlet.h double_interval.h
README.md view
@@ -1,4 +1,4 @@-+ # Flint2 **Flint2** provides a thin Haskell wrapper for [Flint](https://flintlib.org) C-library.
+ csrc/ca_mat.h view
@@ -0,0 +1,15 @@+#ifndef CA_MAT_H_+#define CA_MAT_H_++#include <stdio.h>+#include <flint/flint.h>+#include <flint/ca.h>+#include <flint/ca_mat.h>++char*+ca_mat_get_str(const ca_mat_t mat, ca_ctx_t ctx);++void+ca_mat_fprint(FILE *file, const ca_mat_t mat, ca_ctx_t ctx);++#endif // CA_MAT_H_
+ csrc/ca_poly.h view
@@ -0,0 +1,13 @@+#ifndef CSRC_CA_POLY_H_+#define CSRC_CA_POLY_H_++#include <stdio.h>+#include <flint/ca_poly.h>++void+ca_poly_fprint(FILE *file, const ca_poly_t poly, ca_ctx_t ctx);++char*+ca_poly_get_str(const ca_poly_t poly, ca_ctx_t ctx);++#endif // CSRC_CA_POLY_H_
package.yaml view
@@ -1,5 +1,5 @@ name: Flint2-version: 0.1.0.3+version: 0.1.0.4 github: "monien/Flint2" license: GPL-2 author: "Hartmut Monien"@@ -18,22 +18,15 @@ extra-doc-files: docs/*.png description:- A Haskell Wrapper for Flint- This library provides access to the functionality of the FLINT. - So what is it?- FLINT is a C library for doing number theory, freely- available under the GNU LGPL at- [https://flintlib.org](https://flintlib.org)+ available under the GNU LGPL. At its core, FLINT provides arithmetic in standard rings such as the integers, rationals, algebraic, real, complex and p-adic numbers, finite fields, and number fields. It also provides polynomials (univariate and multivariate), power series, and matrices.-- At the research frontier FLINT has been used for many large scale research computations (e.g. A Trillion Triangles) and has been cited in hundreds@@ -387,6 +380,8 @@ - arf.h - bool_mat.h - ca_ext.h+ - ca_mat.h+ - ca_poly.h - d_mat.h - dirichlet.h - double_interval.h