Package | Description |
---|---|
JSci.maths | |
JSci.maths.algebras |
Provides classes for algebras and their generalisations (vector spaces, modules).
|
JSci.maths.categories | |
JSci.maths.fields |
Provides classes for fields and their generalisations (rings).
|
JSci.maths.polynomials |
Modifier and Type | Class and Description |
---|---|
class |
Complex
The Complex class encapsulates complex numbers.
|
class |
MathDouble
The MathDouble class encapsulates double numbers.
|
class |
Quaternion
The Quaternion class encapsulates quaternions.
|
Modifier and Type | Method and Description |
---|---|
Field.Member |
MathDouble.divide(Field.Member n)
Returns the division of this number and another.
|
Field.Member |
Complex.divide(Field.Member x)
Returns the division of this number and another.
|
Field.Member |
Quaternion.divide(Field.Member x)
Returns the division of this number and another.
|
Field.Member |
MathDouble.inverse()
Returns the inverse of this number.
|
Field.Member |
Complex.inverse()
Returns the inverse of this complex number.
|
Field.Member |
Quaternion.inverse()
Returns the inverse of this quaternion.
|
Modifier and Type | Method and Description |
---|---|
Field.Member |
MathDouble.divide(Field.Member n)
Returns the division of this number and another.
|
Field.Member |
Complex.divide(Field.Member x)
Returns the division of this number and another.
|
Field.Member |
Quaternion.divide(Field.Member x)
Returns the division of this number and another.
|
VectorSpace.Member |
Complex.scalarDivide(Field.Member x)
Returns the division of this number by a complex scalar.
|
VectorSpace.Member |
DoubleVector.scalarDivide(Field.Member x)
Returns the division of this vector by a scalar.
|
VectorSpace.Member |
ComplexVector.scalarDivide(Field.Member x)
Returns the division of this vector by a scalar.
|
VectorSpace.Member |
ComplexMatrix.scalarDivide(Field.Member x)
Returns the division of this matrix by a scalar.
|
VectorSpace.Member |
RingMatrix.scalarDivide(Field.Member x)
Returns the division of this matrix by a scalar.
|
VectorSpace.Member |
DoubleMatrix.scalarDivide(Field.Member x)
Returns the division of this matrix by a scalar.
|
VectorSpace.Member |
IntegerMatrix.scalarDivide(Field.Member x)
Returns the division of this matrix by a scalar.
|
VectorSpace.Member |
Quaternion.scalarDivide(Field.Member x)
Returns the division of this number by a real scalar.
|
Modifier and Type | Method and Description |
---|---|
VectorSpace.Member |
VectorSpace.Member.scalarDivide(Field.Member f)
The scalar multiplication law with inverse.
|
Modifier and Type | Method and Description |
---|---|
VectorSpace.Member |
Hilb.LinearMap.scalarDivide(Field.Member z) |
Modifier and Type | Method and Description |
---|---|
Field.Member |
Field.Member.divide(Field.Member f)
The multiplication law with inverse.
|
Field.Member |
Field.Member.inverse()
Returns the inverse member.
|
Modifier and Type | Method and Description |
---|---|
Field.Member |
Field.Member.divide(Field.Member f)
The multiplication law with inverse.
|
boolean |
Field.isInverse(Field.Member a,
Field.Member b)
Returns true if one member is the inverse of the other.
|
boolean |
RealField.isInverse(Field.Member a,
Field.Member b)
Returns true if one real number is the inverse of the other.
|
boolean |
ComplexField.isInverse(Field.Member a,
Field.Member b)
Returns true if one complex number is the inverse of the other.
|
Modifier and Type | Method and Description |
---|---|
Field.Member |
ComplexPolynomial.getCoefficient(int n) |
Field.Member |
Polynomial.getCoefficient(int k)
Get the coefficient of degree k, i.e.
|
Field.Member |
RealPolynomial.getCoefficient(int n)
Get the coefficient of degree k, i.e.
|
Field.Member[] |
ComplexPolynomial.getCoefficients() |
Field.Member[] |
Polynomial.getCoefficients()
Get the coefficients as an array
|
Field.Member[] |
RealPolynomial.getCoefficients()
Get the coefficients as an array
|
Field.Member[] |
RealMonomialBasis.getSamplingPoints() |
Field.Member[] |
RealLagrangeBasis.getSamplingPoints()
The sampling points used in constructor
|
Field.Member[] |
PolynomialBasis.getSamplingPoints()
If available, get the one- points for the polynomials
|
Field.Member[] |
ComplexLagrangeBasis.getSamplingPoints() |
Modifier and Type | Method and Description |
---|---|
Polynomial |
ComplexPolynomial.divide(Field.Member f)
Returns the division of this polynomial by a scalar.
|
Polynomial |
Polynomial.divide(Field.Member a)
Return a new Polynomial with coefficients divided by a
|
Polynomial |
RealPolynomial.divide(Field.Member f)
return a new real Polynomial with coefficients divided by f
|
Polynomial |
ComplexPolynomial.multiply(Field.Member f)
Returns the multiplication of this polynomial by a scalar.
|
Polynomial |
Polynomial.multiply(Field.Member a)
Return a new Polynomial with coefficients multiplied by a
|
Polynomial |
RealPolynomial.multiply(Field.Member f)
Returns the multiplication of this polynomial by a scalar
|
Polynomial |
RealMonomialBasis.superposition(Field.Member[] coeff) |
Polynomial |
RealLagrangeBasis.superposition(Field.Member[] coeff)
Make a superposition of basis- vectors for a given set of coefficients.
|
Polynomial |
PolynomialBasis.superposition(Field.Member[] coeff)
Get a superposition of basis vectors
|
Polynomial |
ComplexLagrangeBasis.superposition(Field.Member[] coeff) |
protected static Complex[] |
ComplexPolynomialRing.toComplex(Field.Member[] f)
Internal method for typesafe cast
|
protected static double[] |
RealPolynomialRing.toDouble(Field.Member[] f)
internal method for safe typecast
|
Constructor and Description |
---|
ComplexLagrangeBasis(Field.Member[] samplings)
Creates a new instance of LagrangeBasis
|
ComplexPolynomial(Field.Member[] f)
Creates a new ComplexPolynomial object.
|
RealLagrangeBasis(Field.Member[] samplings)
Creates a new instance of LagrangeBasis for given sampling points
|
RealPolynomial(Field.Member[] f)
Creates a new RealPolynomial object.
|