Module jas
[hide private]
[frames] | no frames]

Module jas

source code

jython interface to JAS.

Classes [hide private]
  Ring
Represents a JAS polynomial ring: GenPolynomialRing.
  Ideal
Represents a JAS polynomial ideal: PolynomialList and Ideal.
  ParamIdeal
Represents a JAS polynomial ideal with polynomial coefficients.
  SolvableRing
Represents a JAS solvable polynomial ring: GenSolvablePolynomialRing.
  SolvableIdeal
Represents a JAS solvable polynomial ideal.
  Module
Represents a JAS module over a polynomial ring.
  SubModule
Represents a JAS sub-module over a polynomial ring.
  SolvableModule
Represents a JAS module over a solvable polynomial ring.
  SolvableSubModule
Represents a JAS sub-module over a solvable polynomial ring.
  SeriesRing
Represents a JAS power series ring: UnivPowerSeriesRing.
  MultiSeriesRing
Represents a JAS power series ring: MultiVarPowerSeriesRing.
  PSIdeal
Represents a JAS power series ideal.
  RingElem
Proxy for JAS ring elements.
  PolyRing
Represents a JAS polynomial ring: GenPolynomialRing.
  SolvPolyRing
Represents a JAS solvable polynomial ring: GenSolvablePolynomialRing.
  EF
Extension field builder.
Functions [hide private]
 
startLog()
Configure the log4j system and start logging.
source code
 
terminate()
Terminate the running thread pools.
source code
 
noThreads()
Turn off automatic parallel threads usage.
source code
 
pylist2arraylist(list, fac=None, rec=1)
Convert a Python list to a Java ArrayList.
source code
 
makeJasArith(item)
Construct a jas.arith object.
source code
 
ZZ(z=0)
Create JAS BigInteger as ring element.
source code
 
ZM(m, z=0, field=False)
Create JAS ModInteger as ring element.
source code
 
QQ(d=0, n=1)
Create JAS BigRational as ring element.
source code
 
CC(re=BigRational(), im=BigRational())
Create JAS BigComplex as ring element.
source code
 
CR(re=BigRational(), im=BigRational(), ring=None)
Create JAS generic Complex as ring element.
source code
 
DD(d=0)
Create JAS BigDecimal as ring element.
source code
 
Quat(re=BigRational(), im=BigRational(), jm=BigRational(), km=BigRational())
Create JAS BigQuaternion as ring element.
source code
 
Oct(ro=BigQuaternion(), io=BigQuaternion())
Create JAS BigOctonion as ring element.
source code
 
AN(m, z=0, field=False, pr=None)
Create JAS AlgebraicNumber as ring element.
source code
 
RealN(m, i, r=0)
Create JAS RealAlgebraicNumber as ring element.
source code
 
RF(pr, d=0, n=1)
Create JAS rational function Quotient as ring element.
source code
 
RC(ideal, r=0)
Create JAS polynomial Residue as ring element.
source code
 
LC(ideal, d=0, n=1)
Create JAS polynomial Local as ring element.
source code
 
RR(flist, n=1, r=0)
Create JAS regular ring Product as ring element.
source code
 
PS(cofac, name, f=None, truncate=None)
Create JAS UnivPowerSeries as ring element.
source code
 
MPS(cofac, names, f=None, truncate=None)
Create JAS MultiVarPowerSeries as ring element.
source code
 
Vec(cofac, n, v=None)
Create JAS GenVector ring element.
source code
 
Mat(cofac, n, m, v=None)
Create JAS GenMatrix ring element.
source code
 
coercePair(a, b)
Coerce type a to type b or type b to type a.
source code
Function Details [hide private]

pylist2arraylist(list, fac=None, rec=1)

source code 

Convert a Python list to a Java ArrayList.

If list is a Python list, it is converted, else list is left unchanged.

makeJasArith(item)

source code 

Construct a jas.arith object. If item is a python tuple or list then a BigRational, BigComplex is constructed. If item is a python float then a BigDecimal is constructed.