Skip to content

sakchhams/pari-android

Repository files navigation

pari-android

Port of Pari to android, PARI/GP is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves...), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers etc., and a lot of transcendental functions. PARI is also available as a C library to allow for faster computations. see more

Build Instructions

SDK

Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

NDK

if you're not using the bundled NDK with the SDK
Define location with ndk.dir in the local.properties file or with an ANDROID_NDK_HOME environment variable.

to build -
./gradlew assembleDebug

for installation -
./gradlew installDebug

CMake pulls pari sources automatically from git.:sunglasses:

Application

The demo app is very simple, performs very basic operations and displays their results.

Requirements

  • android-ndk-r14 and up (tested for 15c)
  • andorid-sdk (compiled against 26)
  • flex and bison
  • git