Skip to main content

passagemath: Symbolic computation with GIAC

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

About this pip-installable distribution package

Giac/Xcas is a general purpose Computer algebra system by Bernard Parisse released under GPLv3. It has been developed since 2000 and is widely used: Giac/Xcas is the native CAS engine of the HP Prime calculators; the C++ kernel of the system, Giac, provides the CAS view of Geogebra.

This pip-installable source distribution passagemath-giac makes Giac available from Python and provides integration with the Sage Mathematical Software System.

What is included

Examples

A quick way to try it out interactively:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-giac[test]" ipython

In [1]: from sage.all__sagemath_giac import *

In [2]: x = libgiac('x')

In [3]: V = [[x[i]**j for i in range(8)] for j in range(8)]

In [4]: libgiac(V).dim()
Out[4]: [8,8]

In [5]: libgiac.det_minor(V).factor()
Out[5]: (x[6]-(x[7]))*(x[5]-(x[7]))*(x[5]-(x[6]))*(x[4]-(x[7]))*(x[4]-(x[6]))*(x[4]-(x[5]))*(x[3]-(x[7]))*(x[3]-(x[6]))*(x[3]-(x[5]))*(x[3]-(x[4]))*(x[2]-(x[7]))*(x[2]-(x[6]))*(x[2]-(x[5]))*(x[2]-(x[4]))*(x[2]-(x[3]))*(x[1]-(x[7]))*(x[1]-(x[6]))*(x[1]-(x[5]))*(x[1]-(x[4]))*(x[1]-(x[3]))*(x[1]-(x[2]))*(x[0]-(x[7]))*(x[0]-(x[6]))*(x[0]-(x[5]))*(x[0]-(x[4]))*(x[0]-(x[3]))*(x[0]-(x[2]))*(x[0]-(x[1]))

In [6]: (x+5)**(1/3)        # note here 1/3 is done in Python before being sent to Giac
Out[6]: (x+5)^0.333333333333

In [7]: (x+5)**QQ('1/3')    # using Sage rationals
Out[7]: (x+5)^(1/3)

In [8]: from fractions import Fraction  # using Python rationals

In [9]: (x+5)**Fraction(1,3)
Out[9]: (x+5)^(1/3)

The last example again, using the Sage REPL:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-giac[test]" sage
Warning: sage.all is not available; this is a limited REPL.

sage: from sage.all__sagemath_giac import *

sage: x = libgiac('x')

sage: (x+5)^(1/3)           # the Sage preparser translates this to (x+5)**QQ('1/3')
(x+5)^(1/3)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passagemath_giac-10.5.22.tar.gz (182.8 kB view details)

Uploaded Source

Built Distributions

passagemath_giac-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl (91.1 MB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

passagemath_giac-10.5.22-cp313-cp313-musllinux_1_2_i686.whl (87.2 MB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ i686

passagemath_giac-10.5.22-cp313-cp313-manylinux_2_28_x86_64.whl (90.8 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.28+ x86-64

passagemath_giac-10.5.22-cp313-cp313-macosx_14_0_arm64.whl (24.6 MB view details)

Uploaded CPython 3.13 macOS 14.0+ ARM64

passagemath_giac-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl (26.9 MB view details)

Uploaded CPython 3.13 macOS 13.0+ x86-64

passagemath_giac-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl (91.2 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

passagemath_giac-10.5.22-cp312-cp312-musllinux_1_2_i686.whl (87.2 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

passagemath_giac-10.5.22-cp312-cp312-manylinux_2_28_x86_64.whl (90.8 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

passagemath_giac-10.5.22-cp312-cp312-macosx_14_0_arm64.whl (24.6 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

passagemath_giac-10.5.22-cp312-cp312-macosx_13_0_x86_64.whl (26.9 MB view details)

Uploaded CPython 3.12 macOS 13.0+ x86-64

passagemath_giac-10.5.22-cp311-cp311-musllinux_1_2_x86_64.whl (91.5 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

passagemath_giac-10.5.22-cp311-cp311-musllinux_1_2_i686.whl (87.3 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

passagemath_giac-10.5.22-cp311-cp311-manylinux_2_28_x86_64.whl (91.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

passagemath_giac-10.5.22-cp311-cp311-macosx_14_0_arm64.whl (24.6 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

passagemath_giac-10.5.22-cp311-cp311-macosx_13_0_x86_64.whl (27.0 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

passagemath_giac-10.5.22-cp310-cp310-musllinux_1_2_x86_64.whl (91.1 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

passagemath_giac-10.5.22-cp310-cp310-musllinux_1_2_i686.whl (87.0 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

passagemath_giac-10.5.22-cp310-cp310-manylinux_2_28_x86_64.whl (91.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

passagemath_giac-10.5.22-cp310-cp310-macosx_14_0_arm64.whl (24.6 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

passagemath_giac-10.5.22-cp310-cp310-macosx_13_0_x86_64.whl (27.0 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

passagemath_giac-10.5.22-cp39-cp39-musllinux_1_2_x86_64.whl (91.1 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

passagemath_giac-10.5.22-cp39-cp39-musllinux_1_2_i686.whl (87.0 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ i686

passagemath_giac-10.5.22-cp39-cp39-manylinux_2_28_x86_64.whl (91.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

passagemath_giac-10.5.22-cp39-cp39-macosx_14_0_arm64.whl (24.6 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

passagemath_giac-10.5.22-cp39-cp39-macosx_13_0_x86_64.whl (27.0 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

File details

Details for the file passagemath_giac-10.5.22.tar.gz.

File metadata

  • Download URL: passagemath_giac-10.5.22.tar.gz
  • Upload date:
  • Size: 182.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for passagemath_giac-10.5.22.tar.gz
Algorithm Hash digest
SHA256 6d07af1ab9f89f16dbe1eb56173f7406781377b5ddd16c1f8aae980b1bc1e039
MD5 41f680a328a8b4f3a49f247a69878702
BLAKE2b-256 bc05d2976a714a3122d1bdc3def4f1d66d798aa7c7f3e001ee50bcfe317157c9

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8cd53e133e35b2db3d86617353f163b1bd671e6bf1103132ea9f6c412d5a3526
MD5 aa04db833e8f63ed72fc7fe8646f11ff
BLAKE2b-256 488b1f8eb4311f6478ad72ea72c44765f134a6d66c70914a48bec1cba21f3364

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 cbe5380c6297da41d4152d526a77fd9a88bbfb01491951dd8a17e7da07f98ad0
MD5 e2782e4234d7c60224ae179c99351967
BLAKE2b-256 c3a89cb74227e8bc2aaeee4f57444477b42c84f7d69268b9cee27df343b8fcbe

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eadd6f54804c57c59c8d4a6b63b489a34e4874fbbc15b036484cc22120b0c6de
MD5 8cac9f48553439ea2d2333c769af6224
BLAKE2b-256 d97efffcbafdc8597ab06e0b3528e69a564add541b5c80b53b5090d5e0086560

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e994157700d36fd2be4c55e5c520374a7ea9503df26ef758b46f94c11adc0bab
MD5 5f512f14fcfaca5f0d8297cbc9f64a34
BLAKE2b-256 af6e277e49cac841fc6e74fe2058cb60cb7e126432274f6f4926d3de9f2aa277

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cc4fbc2aaa57f8579ca0e01a7995543e546709f3fbe65daa51d8f7ec52b50d91
MD5 7c9871f5ee3d23bd6f52d38c1454d46a
BLAKE2b-256 6d4cfc947d8a2bc46d4e71401488c6d6f016ae286cd835d396eda66d62c3383e

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 21c13ad59251d4a60feb7edb0c8a1942fc1689ea3e6787fc252e59773e8beaab
MD5 2bea11839c2186b447806f39ac67cf9c
BLAKE2b-256 ce0fad00909d7f2e3d510fe4e41f8756ab31b1e6a08433d8fc8bfb83d119a04d

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 edd9d0d075a5c5adde03ab3445bb5add5e82b1bf7871b310f59c1ecbbe10e508
MD5 ad135bce44ac81a30c1742c7e2cb885c
BLAKE2b-256 60619fdf89bb399ab7fe2e86202bfd5dc18620ff362cf94168ed7ccd333a803f

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4c4805a128d4a4222e0883f6040511d145ee63b330582cb055e045b64eeadd2
MD5 8ced2fd1e89b0aa9ba34e162cee3bed7
BLAKE2b-256 e37f4ca18644f4fae24e25d3ba0534a3ac786c80e9f8d01d959b48b34c20a830

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 621083e74d7c6da4f7cad32908f24c669e27cd80a6ff2ff1cf38055b157c4b8d
MD5 5ee810ffbda87c1253f2c89ce5abb731
BLAKE2b-256 c3b452ca42a377ccc243fd5515a819cff6926752845f43d587b8300809e57b6f

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 920cb98be368d637ca34568f91e821567e2c0d34acc53bc8f0561e91f99cc7ff
MD5 e66020499b0c61c44ae39454259916e3
BLAKE2b-256 ab3011fefcc1cc31df21f9b0f5085b5a0e6f1e43be073bc0bd3ce18d690962d0

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d92707a622d8a1ddc9ba6574d3b001f0b9940d0e3f65e4bf09d2dba7a8f5f1f1
MD5 04499413500e55878f98b93c5de68d08
BLAKE2b-256 a06fa03a9c8f738cd1761a4f13a61be655d48f392ccfc5ef526a22723ac11c23

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 bbf5104538144b573a605a9977446253c02af4efaf486cfdc919d513c8a32970
MD5 b6ed642b0597b09045ba50db74e3545b
BLAKE2b-256 c3cb99b07c8da27ee7cc5a8e19acd21153e70194e7027178cfbfc5ce70d929f5

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 512300b3fd13ced9640075f07d5004908c95ab16653a347ae2541a6a7bd6ed96
MD5 23e1df1caee9f6e14acfa9551f9181e1
BLAKE2b-256 28ccb1cfe1352e48ca2e9853ca2b09558bb30c13a0ae505bdf0fa2c0d3d74362

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 362986b0a60206d5a4ae321e82184c0a9b83392d52c950de93753c3a5d3e664b
MD5 99f20ea7d730310dc5d0ed84d049a001
BLAKE2b-256 e451846b6e60a1974b1624b061670f91dbce2eb776aa1bb3a0f68d383c5dea32

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cdf88f139dd52100ed21c0789e4188f17362f33b3af9e19804be6c0108c718f1
MD5 96397b051651949ba6cd10fd405b2458
BLAKE2b-256 191a828d9ae0c54616261cb4f1e0eb044b5ba79cd9bd780d3a41060e74e3477c

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9f227cb80097f01f4bad473c8084e47adf59a0d1e001cc075ac291a6cc6f7e9a
MD5 28169b3c1cd647ede2966c44228a5a0b
BLAKE2b-256 bb3024f305ec549af1d63972b73546ea86ed33c348464a444236de05596022ba

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 80e7e33a88c83b2bb8011134a188c2172470a39e8ece6cb229aa93dba4d7a2d0
MD5 8566492fb92bec9dddb76e19042734ab
BLAKE2b-256 be3ba509aa0bdbc41dfc40098ba73db3f49a8a33d7104453729e76856dea80a1

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 447cf86725e46a7d09676158e63edda6a81863bdb77cbfe76771b264bb87753c
MD5 5d6e3e21f3185acf68755424dfa01dc8
BLAKE2b-256 a41959440274c3de045cca6ad17e9832a096311995bdacfa34c02a54eb294508

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c0cad71ffb7b56678f9dc9bb9b1274d79a5ddf95377d5e53ffa9795e31b052dc
MD5 7a55fdea0bcd04cd5cc1f4dcae7f247f
BLAKE2b-256 5b8f253518cccec2d5b7d132277c2d3c4bf80033da2c903e562f9afa1bd12d18

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e71ebf68c3f4716a10170e0f3cb86c1b99ff46156874052b448f9c0f32d114d3
MD5 1a3c1a91f2ffcb82e93cfdb39603c343
BLAKE2b-256 394c539291434edc55bea19530ceb7848d1db268ab13b88bf2c42ced7e3a1b11

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 49e355ac49027372add28eee988ca33098ed7c4068a471cb831bab5827a2e5df
MD5 1a7d4ffc50d7e0c7c97466b4dec7092f
BLAKE2b-256 f870f5099850cb133adf05141ae89a0836b7d2cbdef445d92404d83014a76663

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 526b0ed3aefdfdc627c6229181bb775eda091c59ca6b2b9301d424f762c8c7db
MD5 472fbcf997a68f3b46bfbe6d5a27c1eb
BLAKE2b-256 336015adc6c98dd27f90622cd638070d1c0b78ba2f911aed3f222dba980f9760

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61e896f3ab24e471addbf6ab14572fed3382a8cbcdc39657d36c9710320c50dc
MD5 e590011203e474c61be2d430de02ea55
BLAKE2b-256 040e999af4f57f79512e2bd6c8f15f8ed57fa2dcfe96a6ef340ce50b8c4da84a

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5c70fb0a830db5db63965d35512e37763d375809dab032a5ed3516138679fdc1
MD5 8342f30e0ed3bcb4e84dc411b1868d90
BLAKE2b-256 2d7fdd30c63ecc6f79076ac54bae6ee0468c8050e1a01af8c7d9c0a4dad9dff7

See more details on using hashes here.

File details

Details for the file passagemath_giac-10.5.22-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_giac-10.5.22-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 584e2d64030013cde3bf2d046397c549513d76a262b3c34f2f955581ebcad03d
MD5 2a949d7fe4e5e409e2bd9ee84dd3b852
BLAKE2b-256 f0610f127e4e8c42af73bdc8a747381dab903c7f09e0bc3e9da29cd2622881b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page