Skip to content
Symi Docs
WASM / JavaScript

Signatures in the WASM / JavaScript view are TypeScript. Where the JavaScript facade wraps an operation its form is listed first; the other calling forms are the raw wasm-bindgen exports.

On this page

Complete placement index

AssumptionProposition#

Type

class AssumptionProposition

Public type placement for AssumptionProposition.

AssumptionProposition.and#

AssumptionProposition method

and(other: AssumptionProposition): AssumptionProposition

Conjoin two propositions.

Calling forms

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.and

and(other: AssumptionProposition): AssumptionProposition

AssumptionProposition.free#

AssumptionProposition method

free(): void

Public method placement for free.

AssumptionProposition.not#

AssumptionProposition method

not(): AssumptionProposition

Negate a proposition in canonical negation-normal form.

Calling forms

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.not

not(): AssumptionProposition

AssumptionProposition.or#

AssumptionProposition method

or(other: AssumptionProposition): AssumptionProposition

Disjoin two propositions.

Calling forms

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.or

or(other: AssumptionProposition): AssumptionProposition

AssumptionProposition.toString#

AssumptionProposition method

toString(): string

Return the canonical formula spelling.

Calling forms

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.toString

toString(): string

AssumptionScope#

Type

class AssumptionScope

Public type placement for AssumptionScope.

AssumptionScope.free#

AssumptionScope method

free(): void

Public method placement for free.

Context#

SymiFacade property

Context: ContextConstructor

Public property placement for Context.

ContextConstructor.new#

new constructor

new Context(): Context

Construct the CAD of the polynomials in the given variable order x1,…,xnx_1,\ldots,x_n; projection eliminates xnx_n first).

CylindricalAlgebraicDecomposition#

Raw WebAssembly: CylindricalAlgebraicDecomposition constructor

new CylindricalAlgebraicDecomposition(
    expressions: Expression[],
    variables: string[],
    equational_constraints?: Uint32Array | null,
)

Construct the CAD of the polynomials in the given variable order x1,…,xnx_1,\ldots,x_n; projection eliminates xnx_n first).

CylindricalAlgebraicDecomposition.cellCount#

Raw WebAssembly: CylindricalAlgebraicDecomposition method

cellCount(): number

The number of full-dimensional cells partitioning Rn\mathbb{R}^n.

CylindricalAlgebraicDecomposition.cellDimension#

Raw WebAssembly: CylindricalAlgebraicDecomposition method

cellDimension(index: number): number

The geometric dimension of the full cell as a subset of Rn\mathbb{R}^n (the number of sector coordinates along its cylindrical stack).

CylindricalAlgebraicDecomposition.cellKind#

Raw WebAssembly: CylindricalAlgebraicDecomposition method

cellKind(index: number): string

"section" or "sector" — whether the cell is a root section or an open interval in its top variable.

CylindricalAlgebraicDecomposition.cellSamplePoint#

Raw WebAssembly: CylindricalAlgebraicDecomposition method

cellSamplePoint(index: number): Float64Array

The coordinates of the full cell's sample point as floats — a numeric view via the multi-precision evaluator, not a decision.

CylindricalAlgebraicDecomposition.cellSignVector#

Raw WebAssembly: CylindricalAlgebraicDecomposition method

cellSignVector(index: number): Int32Array

The exact sign (−1-1, 00, or +1+1) of each input polynomial on the full cell, in input order.

CylindricalAlgebraicDecomposition.projectionOperatorUsed#

Raw WebAssembly: CylindricalAlgebraicDecomposition method

projectionOperatorUsed(): string

The projection operator the decomposition was built with: "brown" for the well-oriented fast path, "lazard" when the well-orientedness guard forced the complete fallback, "equational_constraint" for an equational-constraint CAD.

Eigenpair.eigenvalue#

Raw WebAssembly: Eigenpair property

readonly eigenvalue: Expression

The eigenvalue of the pair.

Eigenpair.vectors#

Raw WebAssembly: Eigenpair property

readonly vectors: Matrix[]

A basis of the eigenspace, as column matrices.

Expression#

SymiFacade property

Expression: unknown

Public property placement for Expression.

HermiteNormalFormDecomposition.hermite#

Raw WebAssembly: HermiteNormalFormDecomposition property

readonly hermite: Matrix

The Hermite normal form H.

HermiteNormalFormDecomposition.pivotColumns#

Raw WebAssembly: HermiteNormalFormDecomposition property

readonly pivotColumns: Uint32Array

The rank getter reuses the matrix rank heading above.

HermiteNormalFormDecomposition.rank#

Raw WebAssembly: HermiteNormalFormDecomposition property

readonly rank: number

Rank via Bareiss fraction-free elimination.

HermiteNormalFormDecomposition.transformation#

Raw WebAssembly: HermiteNormalFormDecomposition property

readonly transformation: Matrix

The unimodular transformation U satisfying U * matrix == H.

IntegerCokernelData.freeRank#

Raw WebAssembly: IntegerCokernelData property

readonly freeRank: number

Rank of the free part of the cokernel.

IntegerCokernelData.torsionInvariantFactors#

Raw WebAssembly: IntegerCokernelData property

readonly torsionInvariantFactors: Expression[]

The invariant factors of the torsion part of the cokernel.

IsolatingInterval.lower#

Raw WebAssembly: IsolatingInterval property

readonly lower: Expression

Lower endpoint of the isolating interval.

IsolatingInterval.upper#

Raw WebAssembly: IsolatingInterval property

readonly upper: Expression

Upper endpoint of the isolating interval.

JordanBlock.eigenvalue#

Raw WebAssembly: JordanBlock property

readonly eigenvalue: Expression

The eigenvalue this Jordan block belongs to.

JordanBlock.size#

Raw WebAssembly: JordanBlock property

readonly size: number

The size of this Jordan block.

JordanDecomposition.blocks#

Raw WebAssembly: JordanDecomposition property

readonly blocks: JordanBlock[]

The Jordan blocks, in the order they appear on the diagonal.

JordanDecomposition.jordanForm#

Raw WebAssembly: JordanDecomposition property

readonly jordanForm: Matrix

The Jordan form J of the decomposed matrix.

JordanDecomposition.similarity#

Raw WebAssembly: JordanDecomposition property

readonly similarity: Matrix

The change of basis S, satisfying matrix * S == S * jordan_form.

Matrix#

SymiFacade property

Matrix: unknown

Public property placement for Matrix.

Matrix#

Type

interface Matrix

Construct a matrix of the given shape from entries in row-major order.

Calling forms

Raw WebAssembly: Matrix constructor: Matrix

new Matrix(rows: number, columns: number, entries: Expression[])

Matrix.add#

Matrix method

add(other: Matrix): Matrix

Entrywise sum of two matrices of the same shape.

Calling forms

Raw WebAssembly: Matrix method: Matrix.add

add(other: Matrix): Matrix

Matrix.adjugate#

Raw WebAssembly: Matrix method

adjugate(): Matrix

The classical adjoint (transpose of the cofactor Matrix); satisfies Madj⁡(M)=det⁡(M)IM\operatorname{adj}(M) = \det(M) I.

Matrix.characteristicPolynomial#

Raw WebAssembly: Matrix method

characteristicPolynomial(variable: string): Expression

det⁡(λI−M)\det(\lambda I - M) as a polynomial in the named variable.

Matrix.cofactorMatrix#

Raw WebAssembly: Matrix method

cofactorMatrix(): Matrix

The matrix of cofactors, whose transpose is the adjugate.

Matrix.columnHermiteNormalForm#

Raw WebAssembly: Matrix method

columnHermiteNormalForm(): HermiteNormalFormDecomposition

The transpose-dual column form, returning H, a unimodular V satisfying MV=HM V = H, the rank, and pivot metadata. Notes: WASM returns a hermite_normal_form_decomposition object.

Matrix.columns#

Matrix property

readonly columns: number

Number of columns.

Calling forms

Raw WebAssembly: Matrix property: Matrix.columns

readonly columns: number

Matrix.cosine#

Raw WebAssembly: Matrix method

cosine(): Matrix

The primary matrix cosine cos(M), evaluated exactly through the certified Jordan decomposition and the trigonometric identity certificate.

Matrix.determinant#

Matrix method

determinant(): Expression

Fraction-free (Berkowitz/Bareiss) determinant of a square matrix.

Calling forms

Raw WebAssembly: Matrix method: Matrix.determinant

determinant(): Expression

Matrix.eigenvalues#

Raw WebAssembly: Matrix method

eigenvalues(): Expression[]

Eigenvalues with multiplicity, via the characteristic polynomial and the root finder; eigenvalues the root finder cannot close remain as exact first-class polynomial_root values.

Matrix.eigenvectors#

Raw WebAssembly: Matrix method

eigenvectors(): Eigenpair[]

For each eigenvalue, a basis of its eigenspace as column matrices. Notes: WASM returns eigenpair objects with eigenvalue/vectors getters.

Matrix.entry#

Matrix method

entry(row: number, column: number): Expression

Element access. Notes: Python uses indexing m[row, column] instead.

Calling forms

Raw WebAssembly: Matrix method: Matrix.entry

entry(row: number, column: number): Expression

Matrix.execute#

Matrix method

execute(): Matrix

Re-dispatch every unevaluated node (integral, derivative, summation, transform, ODE/recurrence placeholder) in the expression; useful after substitution has changed the inputs.

Calling forms

Raw WebAssembly: Matrix method: Matrix.execute

execute(): Matrix

Matrix.exponential#

Raw WebAssembly: Matrix method

exponential(): Matrix

The matrix exponential exp(M), evaluated through the certified Jordan decomposition. Declines on inputs whose eigenvalues cannot be certified exactly.

Matrix.free#

Matrix method

free(): void

Public method placement for free.

Matrix.hasComplexEntries#

Matrix method

hasComplexEntries(): boolean | null

Query whether every entry is finite complex.

Calling forms

Raw WebAssembly: Matrix method: Matrix.hasComplexEntries

hasComplexEntries(): boolean | undefined

Matrix.hasIntegerEntries#

Matrix method

hasIntegerEntries(): boolean | null

Query whether every entry is an integer.

Calling forms

Raw WebAssembly: Matrix method: Matrix.hasIntegerEntries

hasIntegerEntries(): boolean | undefined

Matrix.hasRealEntries#

Matrix method

hasRealEntries(): boolean | null

Query whether every entry is real.

Calling forms

Raw WebAssembly: Matrix method: Matrix.hasRealEntries

hasRealEntries(): boolean | undefined

Matrix.hermiteNormalForm#

Raw WebAssembly: Matrix method

hermiteNormalForm(): HermiteNormalFormDecomposition

Returns the canonical row-oriented Hermite normal form H, a unimodular transformation U satisfying UM=HU M = H, the rank, and the strictly increasing pivot-column indices. Entries must be exact integers. Every result is verified for Hermite shape, the certificate identity, and unimodularity before return. Notes: WASM returns a hermite_normal_form_decomposition object carrying the same four results as getters.

Matrix.hyperbolicCosine#

Raw WebAssembly: Matrix method

hyperbolicCosine(): Matrix

The primary hyperbolic matrix cosine cosh(M), evaluated exactly through the certified Jordan decomposition and the hyperbolic identity certificate.

Matrix.hyperbolicSine#

Raw WebAssembly: Matrix method

hyperbolicSine(): Matrix

The primary hyperbolic matrix sine sinh(M), evaluated exactly through the certified Jordan decomposition. The result is certified together with the hyperbolic matrix cosine by cosh(M)^2 - sinh(M)^2 = I.

Matrix.integerCokernelStructure#

Raw WebAssembly: Matrix method

integerCokernelStructure(): IntegerCokernelData

Returns the free rank and nontrivial torsion invariant factors of Z^m / M Z^n.

Matrix.integerImageLatticeBasis#

Raw WebAssembly: Matrix method

integerImageLatticeBasis(): Matrix[]

The nonzero columns of the column Hermite form, returned as column matrices; these form the canonical basis of M Z^n.

Matrix.integerKernelBasis#

Raw WebAssembly: Matrix method

integerKernelBasis(): Matrix[]

A canonical basis of the integer kernel {x∈Zn:Mx=0}\{x \in \mathbb{Z}^n : M x = 0\}, returned as column matrices.

Matrix.integerRowLatticeBasis#

Raw WebAssembly: Matrix method

integerRowLatticeBasis(): Matrix[]

The nonzero rows of the row Hermite form, returned as row matrices; these form the canonical basis of the integer row lattice.

Matrix.inverse#

Raw WebAssembly: Matrix method

inverse(): Matrix

Inverse via the adjugate; raises on singular input.

Matrix.isDiagonalMatrix#

Matrix method

isDiagonalMatrix(): boolean | null

Query whether this matrix is diagonal.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isDiagonalMatrix

isDiagonalMatrix(): boolean | undefined

Matrix.isEquality#

Raw WebAssembly: Matrix method

isEquality(): boolean

Always false: a matrix is never an equal relation node.

Matrix.isFiniteSet#

Raw WebAssembly: Matrix method

isFiniteSet(): boolean

Always false: a matrix is never a finite set.

Matrix.isFullRankMatrix#

Matrix method

isFullRankMatrix(): boolean | null

Query whether this matrix has full rank.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isFullRankMatrix

isFullRankMatrix(): boolean | undefined

Matrix.isHermitianMatrix#

Matrix method

isHermitianMatrix(): boolean | null

Query whether this matrix is Hermitian.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isHermitianMatrix

isHermitianMatrix(): boolean | undefined

Matrix.isIdentityMatrix#

Matrix method

isIdentityMatrix(): boolean | null

Query whether this matrix is the identity matrix.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isIdentityMatrix

isIdentityMatrix(): boolean | undefined

Matrix.isImageSet#

Raw WebAssembly: Matrix method

isImageSet(): boolean

Always false: a matrix is never an image set.

Matrix.isIntegral#

Raw WebAssembly: Matrix method

isIntegral(): boolean

Always false: a matrix is never an unevaluated integral node.

Matrix.isInvertibleMatrix#

Matrix method

isInvertibleMatrix(): boolean | null

Query whether this matrix is invertible.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isInvertibleMatrix

isInvertibleMatrix(): boolean | undefined

Matrix.isMatrix#

Raw WebAssembly: Matrix property

readonly isMatrix: boolean

Always False on expressions and True on matrix objects, so mixed result streams can be discriminated.

Matrix.isNormalMatrix#

Matrix method

isNormalMatrix(): boolean | null

Query whether this matrix is normal.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isNormalMatrix

isNormalMatrix(): boolean | undefined

Matrix.isOrthogonalMatrix#

Matrix method

isOrthogonalMatrix(): boolean | null

Query whether this matrix is orthogonal.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isOrthogonalMatrix

isOrthogonalMatrix(): boolean | undefined

Matrix.isPositive#

Raw WebAssembly: Matrix method

isPositive(): boolean | undefined

Always None: positivity is a property of the entries, not of the matrix.

Matrix.isPositiveDefiniteMatrix#

Matrix method

isPositiveDefiniteMatrix(): boolean | null

Query whether this matrix is positive definite.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isPositiveDefiniteMatrix

isPositiveDefiniteMatrix(): boolean | undefined

Matrix.isPositiveSemidefiniteMatrix#

Matrix method

isPositiveSemidefiniteMatrix(): boolean | null

Query whether this matrix is positive semidefinite.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isPositiveSemidefiniteMatrix

isPositiveSemidefiniteMatrix(): boolean | undefined

Matrix.isReal#

Raw WebAssembly: Matrix method

isReal(): boolean | undefined

Always None: realness is a property of the entries, not of the matrix.

Matrix.isSingularMatrix#

Matrix method

isSingularMatrix(): boolean | null

Query whether this matrix is singular.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isSingularMatrix

isSingularMatrix(): boolean | undefined

Matrix.isSquare#

Matrix method

isSquare(): boolean | null

Query whether this matrix is square.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isSquare

isSquare(): boolean | undefined

Matrix.isSymmetricMatrix#

Matrix method

isSymmetricMatrix(): boolean | null

Query whether this matrix is symmetric.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isSymmetricMatrix

isSymmetricMatrix(): boolean | undefined

Matrix.isUnion#

Raw WebAssembly: Matrix method

isUnion(): boolean

Always false: a matrix is never a union of sets.

Matrix.isUnitaryMatrix#

Matrix method

isUnitaryMatrix(): boolean | null

Query whether this matrix is unitary.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isUnitaryMatrix

isUnitaryMatrix(): boolean | undefined

Matrix.isZeroMatrix#

Matrix method

isZeroMatrix(): boolean | null

Query whether this matrix is the zero matrix.

Calling forms

Raw WebAssembly: Matrix method: Matrix.isZeroMatrix

isZeroMatrix(): boolean | undefined

Matrix.jordanDecomposition#

Raw WebAssembly: Matrix method

jordanDecomposition(): JordanDecomposition

The Jordan decomposition returned as (similarity, jordan_form, blocks) with similarity⁡jordan_form⁡similarity⁡−1=M\operatorname{similarity} \operatorname{jordan\_form} \operatorname{similarity}^{-1} = M, where blocks lists each Jordan block as an (eigenvalue, size) pair. Every root is certified over an exact algebraic field. Notes: WASM returns a jordan_decomposition result class with similarity/jordan_form/blocks getters, each block a jordan_block with eigenvalue/size getters.

Matrix.logarithm#

Raw WebAssembly: Matrix method

logarithm(): Matrix

The principal matrix logarithm log(M).

Matrix.lowerUpperDecomposition#

Raw WebAssembly: Matrix method

lowerUpperDecomposition(): Matrix[]

Partial-pivoting LU decomposition returned as (permutation, lower, upper) with permutation⁡M=lower⁡ upper⁡\operatorname{permutation} M = \operatorname{lower}\,\operatorname{upper}.

Matrix.minimalPolynomial#

Raw WebAssembly: Matrix method

minimalPolynomial(variable: string): Expression

The monic minimal polynomial over the rationals. The matrix must have rational entries.

Matrix.multiply#

Matrix method

multiply(other: Matrix): Matrix

Matrix product; inner dimensions must agree.

Calling forms

Raw WebAssembly: Matrix method: Matrix.multiply

multiply(other: Matrix): Matrix

Matrix.nullspaceBasis#

Raw WebAssembly: Matrix method

nullspaceBasis(): Matrix[]

A basis of the kernel, as column matrices; empty list for full column rank.

Matrix.rank#

Raw WebAssembly: Matrix method

rank(): number

Rank via Bareiss fraction-free elimination.

Matrix.rationalCanonicalForm#

Raw WebAssembly: Matrix method

rationalCanonicalForm(variable: string): RationalCanonicalForm

Returns the certified Frobenius canonical form over the rationals. Its invariant factors are monic and ordered by divisibility, and similarity satisfies matrix⁡ similarity⁡=similarity⁡ canonical_form⁡\operatorname{matrix}\,\operatorname{similarity} = \operatorname{similarity}\,\operatorname{canonical\_form} exactly.

Matrix.rowReduce#

Raw WebAssembly: Matrix method

rowReduce(): Matrix

Bareiss row-reduced form (fraction-free; pivots remain on the diagonal).

Matrix.rows#

Matrix property

readonly rows: number

Number of rows.

Calling forms

Raw WebAssembly: Matrix property: Matrix.rows

readonly rows: number

Matrix.scalarMultiply#

Raw WebAssembly: Matrix method

scalarMultiply(scalar: Expression): Matrix

Scale every entry by scalar.

Matrix.sine#

Raw WebAssembly: Matrix method

sine(): Matrix

The primary matrix sine sin(M), evaluated exactly through the certified Jordan decomposition. The result is certified together with the matrix cosine by sin(M)^2 + cos(M)^2 = I.

Matrix.smithNormalForm#

Raw WebAssembly: Matrix method

smithNormalForm(): SmithNormalFormDecomposition

Returns the canonical integer Smith normal form D, unimodular transformations U and V satisfying UMV=DU M V = D, the rank, and the invariant factors including trailing zeros. The nonnegative positive prefix is divisibility-ordered. Every result is verified for diagonal shape, divisibility, the exact certificate, and unimodularity of both transformations before return. Notes: WASM returns a smith_normal_form_decomposition object carrying the same results as getters.

Matrix.squareRoot#

Raw WebAssembly: Matrix method

squareRoot(): Matrix

The principal matrix square root sqrt(M); the result is verified to square back to M.

Matrix.subtract#

Raw WebAssembly: Matrix method

subtract(other: Matrix): Matrix

Entrywise difference of two matrices of the same shape.

Matrix.summary#

Raw WebAssembly: Matrix method

summary(): string

A one-line summary listing the entries row by row, Matrix([[a, b], [c, d]]). A matrix with more than eight rows or columns lists its leading eight of each, marks every elided run with ..., and states its full shape first.

Matrix.toString#

Matrix method

toString(): string

The entries row by row, as Matrix([[a, b], [c, d]]), eliding beyond eight rows or columns: the matrix's one-line summary as a JavaScript string.

Calling forms

Raw WebAssembly: Matrix method: Matrix.toString

toString(): string

Matrix.trace#

Matrix method

trace(): Expression

Sum of the diagonal entries of a square matrix.

Calling forms

Raw WebAssembly: Matrix method: Matrix.trace

trace(): Expression

Matrix.transpose#

Raw WebAssembly: Matrix method

transpose(): Matrix

The transpose, with rows and columns exchanged.

PiecewiseBranch#

Type

interface PiecewiseBranch

Public type placement for PiecewiseBranch.

PiecewiseBranch.condition#

PiecewiseBranch property

condition: ExpressionLike

Public property placement for condition.

PiecewiseBranch.value#

PiecewiseBranch property

value: ExpressionLike

Public property placement for value.

RationalCanonicalForm.canonicalForm#

Raw WebAssembly: RationalCanonicalForm property

readonly canonicalForm: Matrix

The Frobenius canonical form of the decomposed matrix.

RationalCanonicalForm.characteristicPolynomial#

Raw WebAssembly: RationalCanonicalForm property

readonly characteristicPolynomial: Expression

det⁡(λI−M)\det(\lambda I - M) as a polynomial in the named variable.

RationalCanonicalForm.invariantFactors#

Raw WebAssembly: RationalCanonicalForm property

readonly invariantFactors: Expression[]

The certified invariant factors, monic and ordered by divisibility.

RationalCanonicalForm.minimalPolynomial#

Raw WebAssembly: RationalCanonicalForm property

readonly minimalPolynomial: Expression

The monic minimal polynomial over the rationals. The matrix must have rational entries.

RationalCanonicalForm.similarity#

Raw WebAssembly: RationalCanonicalForm property

readonly similarity: Matrix

The certified change of basis S, satisfying matrix * S == S * canonical_form.

SmithNormalFormDecomposition.columnTransformation#

Raw WebAssembly: SmithNormalFormDecomposition property

readonly columnTransformation: Matrix

The unimodular column transformation V satisfying U * matrix * V == S.

SmithNormalFormDecomposition.invariantFactors#

Raw WebAssembly: SmithNormalFormDecomposition property

readonly invariantFactors: Expression[]

The certified invariant factors, monic and ordered by divisibility.

SmithNormalFormDecomposition.rank#

Raw WebAssembly: SmithNormalFormDecomposition property

readonly rank: number

Rank via Bareiss fraction-free elimination.

SmithNormalFormDecomposition.rowTransformation#

Raw WebAssembly: SmithNormalFormDecomposition property

readonly rowTransformation: Matrix

The unimodular row transformation U satisfying U * matrix * V == S.

SmithNormalFormDecomposition.smith#

Raw WebAssembly: SmithNormalFormDecomposition property

readonly smith: Matrix

The Smith normal form S.

SymiContextError#

Type

class SymiContextError extends SymiError {}

Public type placement for SymiContextError.

SymiDomainError#

Type

class SymiDomainError extends SymiError {}

Public type placement for SymiDomainError.

SymiError#

Type

class SymiError extends Error

Public type placement for SymiError.

SymiFacade#

Type

interface SymiFacade

Public type placement for SymiFacade.

SymiInternalError#

Type

class SymiInternalError extends SymiError {}

Public type placement for SymiInternalError.

SymiResourceError#

Type

class SymiResourceError extends SymiError {}

Public type placement for SymiResourceError.

SymiTypeError#

Type

class SymiTypeError extends SymiError {}

Public type placement for SymiTypeError.

changeMonomialOrder#

Raw WebAssembly: Default context

changeMonomialOrder(
    basis: Expression[],
    variables: string[],
    source_order: string,
    target_order: string,
): Expression[] | undefined

Convert a Gröbner basis of a zero-dimensional ideal from source_order to target_order by FGLM (Faugère–Gianni–Lazard–Mora) — linear algebra in the finite-dimensional quotient ring Q[variables]/I\mathbb{Q}[\text{variables}]/I, far cheaper than computing the target basis directly (the msolve route to a lexicographic basis is a cheap degrevlex basis followed by this conversion).

Calling forms

Raw WebAssembly: Explicit context: Context.changeMonomialOrder

changeMonomialOrder(
    basis: Expression[],
    variables: string[],
    source_order: string,
    target_order: string,
): Expression[] | undefined

coefficient#

Raw WebAssembly: Default context

coefficient(
    input_expression: Expression,
    variable: string,
    power: number,
): Expression

Coefficient of variable^power; integer 0 when the term is absent. Errors on non-polynomial input.

Calling forms

Raw WebAssembly: Explicit context: Context.coefficient

coefficient(
    input_expression: Expression,
    variable: string,
    power: number,
): Expression

complexEntries#

Raw WebAssembly: Default context

complexEntries(subject: Matrix): AssumptionProposition

Build a finite-complex-entry proposition in the default context.

Calling forms

Explicit context: Context.complexEntries

complexEntries(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.complexEntries

complexEntries(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.complexEntries

complexEntries(value: Matrix): AssumptionProposition

createFacade#

Default context

function createFacade(rawModule: unknown): SymiFacade

Public function placement for createFacade.

degree#

Raw WebAssembly: Default context

degree(
    input_expression: Expression,
    variable: string,
): number | undefined

Degree in variable.

Calling forms

Raw WebAssembly: Explicit context: Context.degree

degree(
    input_expression: Expression,
    variable: string,
): number | undefined

diagonalMatrix#

Raw WebAssembly: Default context

diagonalMatrix(subject: Matrix): AssumptionProposition

Build a diagonal-matrix proposition in the default context.

Calling forms

Explicit context: Context.diagonalMatrix

diagonalMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.diagonalMatrix

diagonalMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.diagonalMatrix

diagonalMatrix(value: Matrix): AssumptionProposition

eliminationIdeal#

Raw WebAssembly: Default context

eliminationIdeal(
    generators: Expression[],
    variables: string[],
    eliminate: string[],
): Expression[] | undefined

A Gröbner basis of the elimination ideal ⟨generators⁡⟩∩Q[surviving variables]\langle\operatorname{generators}\rangle \cap \mathbb{Q}[\text{surviving variables}], projecting away the variables named in eliminate via the Elimination Theorem (a block order ranks the eliminated variables high and the generators free of them are kept).

Calling forms

Raw WebAssembly: Explicit context: Context.eliminationIdeal

eliminationIdeal(
    generators: Expression[],
    variables: string[],
    eliminate: string[],
): Expression[] | undefined

free#

Expression method

free(): void

Public method placement for free.

fullRankMatrix#

Raw WebAssembly: Default context

fullRankMatrix(subject: Matrix): AssumptionProposition

Build a full-rank-matrix proposition in the default context.

Calling forms

Explicit context: Context.fullRankMatrix

fullRankMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.fullRankMatrix

fullRankMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.fullRankMatrix

fullRankMatrix(value: Matrix): AssumptionProposition

groebnerBasis#

Raw WebAssembly: Default context

groebnerBasis(
    generators: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

The canonical reduced Gröbner basis of the ideal <generators> under the named monomial order — monic, autoreduced, and sorted, so it is unique for the (ideal, order) pair. None when any generator is outside Q[variables]\mathbb{Q}[\text{variables}].

Calling forms

Raw WebAssembly: Explicit context: Context.groebnerBasis

groebnerBasis(
    generators: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

hermitianMatrix#

Raw WebAssembly: Default context

hermitianMatrix(subject: Matrix): AssumptionProposition

Build a Hermitian-matrix proposition in the default context.

Calling forms

Explicit context: Context.hermitianMatrix

hermitianMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.hermitianMatrix

hermitianMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.hermitianMatrix

hermitianMatrix(value: Matrix): AssumptionProposition

idealIntersection#

Raw WebAssembly: Default context

idealIntersection(
    generators_left: Expression[],
    generators_right: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

A generating set of the ideal intersection I∩JI \cap J, computed by the standard tag-variable elimination construction tI+(1−t)Jt I + (1-t) J.

Calling forms

Raw WebAssembly: Explicit context: Context.idealIntersection

idealIntersection(
    generators_left: Expression[],
    generators_right: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

idealMembership#

Raw WebAssembly: Default context

idealMembership(
    element: Expression,
    generators: Expression[],
    variables: string[],
    order?: string | null,
): boolean | undefined

Whether element lies in the ideal <generators>, decided by reducing it to its normal form modulo the Gröbner basis (zero exactly when it is a member).

Calling forms

Raw WebAssembly: Explicit context: Context.idealMembership

idealMembership(
    element: Expression,
    generators: Expression[],
    variables: string[],
    order?: string | null,
): boolean | undefined

idealProduct#

Raw WebAssembly: Default context

idealProduct(
    generators_left: Expression[],
    generators_right: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

A Gröbner basis of the ideal product IJI J, generated by all pairwise products of the two generator lists. None on a non-Q[variables]\mathbb{Q}[\text{variables}] generator.

Calling forms

Raw WebAssembly: Explicit context: Context.idealProduct

idealProduct(
    generators_left: Expression[],
    generators_right: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

idealSum#

Raw WebAssembly: Default context

idealSum(
    generators_left: Expression[],
    generators_right: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

A Gröbner basis of the ideal sum I + J, the ideal generated by the two generator lists together. None on a non-Q[variables]\mathbb{Q}[\text{variables}] generator.

Calling forms

Raw WebAssembly: Explicit context: Context.idealSum

idealSum(
    generators_left: Expression[],
    generators_right: Expression[],
    variables: string[],
    order?: string | null,
): Expression[] | undefined

identityMatrix#

Raw WebAssembly: Default context

identityMatrix(subject: Matrix): AssumptionProposition

Build an identity-matrix proposition in the default context.

Calling forms

Explicit context: Context.identityMatrix

identityMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.identityMatrix

identityMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.identityMatrix

identityMatrix(value: Matrix): AssumptionProposition

implicitize#

Raw WebAssembly: Default context

implicitize(
    coordinates: string[],
    parameters: string[],
    parametric_expressions: Expression[],
): Expression[] | undefined

The implicit ideal of a parametric curve or surface xi=fi(parameters⁡)x_i = f_i(\operatorname{parameters}) (the i-th coordinate paired with the i-th parametric Expression), returned as a generator list over Q[coordinates]\mathbb{Q}[\text{coordinates}] — the elimination of the parameters (Cox–Little–O'Shea ch. 3).

Calling forms

Raw WebAssembly: Explicit context: Context.implicitize

implicitize(
    coordinates: string[],
    parameters: string[],
    parametric_expressions: Expression[],
): Expression[] | undefined

integerEntries#

Raw WebAssembly: Default context

integerEntries(subject: Matrix): AssumptionProposition

Build an integer-entry proposition in the default context.

Calling forms

Explicit context: Context.integerEntries

integerEntries(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.integerEntries

integerEntries(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.integerEntries

integerEntries(value: Matrix): AssumptionProposition

invertibleMatrix#

Raw WebAssembly: Default context

invertibleMatrix(subject: Matrix): AssumptionProposition

Build an invertible-matrix proposition in the default context.

Calling forms

Explicit context: Context.invertibleMatrix

invertibleMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.invertibleMatrix

invertibleMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.invertibleMatrix

invertibleMatrix(value: Matrix): AssumptionProposition

isolateRealRoots#

Raw WebAssembly: Default context

isolateRealRoots(
    input_expression: Expression,
    variable: string,
): IsolatingInterval[]

One (lower, upper) rational isolating interval per distinct real root, sorted ascending; a collapsed pair (r, r) marks an exact rational root. Requires a non-zero univariate polynomial with rational coefficients. Notes: WASM returns isolating_interval objects with lower/upper getters.

Calling forms

Raw WebAssembly: Explicit context: Context.isolateRealRoots

isolateRealRoots(
    input_expression: Expression,
    variable: string,
): IsolatingInterval[]

leadingCoefficient#

Raw WebAssembly: Default context

leadingCoefficient(
    input_expression: Expression,
    variable: string,
): Expression

Coefficient of the highest power of variable; may contain the other free variables. Errors on non-polynomial or zero input.

Calling forms

Raw WebAssembly: Explicit context: Context.leadingCoefficient

leadingCoefficient(
    input_expression: Expression,
    variable: string,
): Expression

lowerTriangularMatrix#

Raw WebAssembly: Default context

lowerTriangularMatrix(subject: Matrix): AssumptionProposition

Build a lower-triangular-matrix proposition in the default context.

Calling forms

Explicit context: Context.lowerTriangularMatrix

lowerTriangularMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.lowerTriangularMatrix

lowerTriangularMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.lowerTriangularMatrix

lowerTriangularMatrix(value: Matrix): AssumptionProposition

matrix#

Explicit context

matrix(rows: Iterable<Iterable<ExpressionLike>>): Matrix

Build a matrix from ordered rows. Direct Python construction and the facade module function use the shared default context. The raw wasm-bindgen compatibility layer retains (rows, columns, flat_entries); new JavaScript code should use the nested facade form.

Calling forms

Raw WebAssembly: Explicit context: Context.matrix

matrix(rows: number, columns: number, entries: Expression[]): Matrix

SymiFacade method: SymiFacade.matrix

matrix(rows: Iterable<Iterable<ExpressionLike>>): Matrix

matrixDiagonal#

Raw WebAssembly: Default context

matrixDiagonal(entries: Expression[]): Matrix

Square matrix with the given main diagonal and zeros elsewhere; the empty list raises.

Calling forms

Raw WebAssembly: Explicit context: Context.matrixDiagonal

matrixDiagonal(entries: Expression[]): Matrix

matrixIdentity#

Raw WebAssembly: Default context

matrixIdentity(size: number): Matrix

The size×size\mathit{size}\times\mathit{size} identity; size 0 raises.

Calling forms

Raw WebAssembly: Explicit context: Context.matrixIdentity

matrixIdentity(size: number): Matrix

matrixShape#

Raw WebAssembly: Default context

matrixShape(
    subject: Matrix,
    rows: number,
    columns: number,
): AssumptionProposition

Build a matrix shape proposition in the default context.

Calling forms

Explicit context: Context.matrixShape

matrixShape(value: Matrix, rows: number, columns: number): AssumptionProposition

Raw WebAssembly: Explicit context: Context.matrixShape

matrixShape(
    subject: Matrix,
    rows: number,
    columns: number,
): AssumptionProposition

SymiFacade method: SymiFacade.matrixShape

matrixShape(value: Matrix, rows: number, columns: number): AssumptionProposition

matrixZero#

Raw WebAssembly: Default context

matrixZero(rows: number, columns: number): Matrix

The rows×columns\mathit{rows}\times\mathit{columns} zero matrix.

Calling forms

Raw WebAssembly: Explicit context: Context.matrixZero

matrixZero(rows: number, columns: number): Matrix

normalMatrix#

Raw WebAssembly: Default context

normalMatrix(subject: Matrix): AssumptionProposition

Build a normal-matrix proposition in the default context.

Calling forms

Explicit context: Context.normalMatrix

normalMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.normalMatrix

normalMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.normalMatrix

normalMatrix(value: Matrix): AssumptionProposition

orthogonalMatrix#

Raw WebAssembly: Default context

orthogonalMatrix(subject: Matrix): AssumptionProposition

Build an orthogonal-matrix proposition in the default context.

Calling forms

Explicit context: Context.orthogonalMatrix

orthogonalMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.orthogonalMatrix

orthogonalMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.orthogonalMatrix

orthogonalMatrix(value: Matrix): AssumptionProposition

polynomialGcd#

Raw WebAssembly: Default context

polynomialGcd(
    a: Expression,
    b: Expression,
    variable: string,
): Expression

Greatest common divisor of the two expressions as polynomials in variable (primitive, with the core's sign normalisation).

Calling forms

Raw WebAssembly: Explicit context: Context.polynomialGcd

polynomialGcd(
    a: Expression,
    b: Expression,
    variable: string,
): Expression

positiveDefiniteMatrix#

Raw WebAssembly: Default context

positiveDefiniteMatrix(subject: Matrix): AssumptionProposition

Build a positive-definite-matrix proposition in the default context.

Calling forms

Explicit context: Context.positiveDefiniteMatrix

positiveDefiniteMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.positiveDefiniteMatrix

positiveDefiniteMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.positiveDefiniteMatrix

positiveDefiniteMatrix(value: Matrix): AssumptionProposition

positiveSemidefiniteMatrix#

Raw WebAssembly: Default context

positiveSemidefiniteMatrix(subject: Matrix): AssumptionProposition

Build a positive-semidefinite-matrix proposition in the default context.

Calling forms

Explicit context: Context.positiveSemidefiniteMatrix

positiveSemidefiniteMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.positiveSemidefiniteMatrix

positiveSemidefiniteMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.positiveSemidefiniteMatrix

positiveSemidefiniteMatrix(value: Matrix): AssumptionProposition

raw#

SymiFacade property

readonly raw: unknown

Public property placement for raw.

realEntries#

Raw WebAssembly: Default context

realEntries(subject: Matrix): AssumptionProposition

Build a real-entry proposition in the default context.

Calling forms

Explicit context: Context.realEntries

realEntries(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.realEntries

realEntries(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.realEntries

realEntries(value: Matrix): AssumptionProposition

resultant#

Raw WebAssembly: Default context

resultant(a: Expression, b: Expression, variable: string): Expression

Resultant with respect to variable; zero exactly when the two polynomials share a root (over the algebraic closure).

Calling forms

Raw WebAssembly: Explicit context: Context.resultant

resultant(a: Expression, b: Expression, variable: string): Expression

singularMatrix#

Raw WebAssembly: Default context

singularMatrix(subject: Matrix): AssumptionProposition

Build a singular-matrix proposition in the default context.

Calling forms

Explicit context: Context.singularMatrix

singularMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.singularMatrix

singularMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.singularMatrix

singularMatrix(value: Matrix): AssumptionProposition

squareMatrix#

Raw WebAssembly: Default context

squareMatrix(subject: Matrix): AssumptionProposition

Build a square-matrix proposition in the default context.

Calling forms

Explicit context: Context.squareMatrix

squareMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.squareMatrix

squareMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.squareMatrix

squareMatrix(value: Matrix): AssumptionProposition

symmetricMatrix#

Raw WebAssembly: Default context

symmetricMatrix(subject: Matrix): AssumptionProposition

Build a symmetric-matrix proposition in the default context.

Calling forms

Explicit context: Context.symmetricMatrix

symmetricMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.symmetricMatrix

symmetricMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.symmetricMatrix

symmetricMatrix(value: Matrix): AssumptionProposition

toString#

Expression method

toString(): string

The mathematical text of the expression.

Calling forms

Raw WebAssembly: Expression method: Expression.toString

toString(): string

unitaryMatrix#

Raw WebAssembly: Default context

unitaryMatrix(subject: Matrix): AssumptionProposition

Build a unitary-matrix proposition in the default context.

Calling forms

Explicit context: Context.unitaryMatrix

unitaryMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.unitaryMatrix

unitaryMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.unitaryMatrix

unitaryMatrix(value: Matrix): AssumptionProposition

upperTriangularMatrix#

Raw WebAssembly: Default context

upperTriangularMatrix(subject: Matrix): AssumptionProposition

Build a upper-triangular-matrix proposition in the default context.

Calling forms

Explicit context: Context.upperTriangularMatrix

upperTriangularMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.upperTriangularMatrix

upperTriangularMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.upperTriangularMatrix

upperTriangularMatrix(value: Matrix): AssumptionProposition

zeroMatrix#

Raw WebAssembly: Default context

zeroMatrix(subject: Matrix): AssumptionProposition

Build a zero-matrix proposition in the default context.

Calling forms

Explicit context: Context.zeroMatrix

zeroMatrix(value: Matrix): AssumptionProposition

Raw WebAssembly: Explicit context: Context.zeroMatrix

zeroMatrix(subject: Matrix): AssumptionProposition

SymiFacade method: SymiFacade.zeroMatrix

zeroMatrix(value: Matrix): AssumptionProposition

DefiniteIntegrationResult.declineReason#

Raw WebAssembly: DefiniteIntegrationResult property

readonly declineReason: string | undefined

The reason, present exactly when the verdict is declined.

DefiniteIntegrationResult.divergenceDirection#

Raw WebAssembly: DefiniteIntegrationResult property

readonly divergenceDirection: string | undefined

The signed infinity of a divergent request, when a single direction was established.

DefiniteIntegrationResult.interpretation#

Raw WebAssembly: DefiniteIntegrationResult property

readonly interpretation: string

The interpretation under which the request was answered.

DefiniteIntegrationResult.value#

Raw WebAssembly: DefiniteIntegrationResult property

readonly value: Expression | undefined

The exact value, present exactly when the verdict is evaluated.

DefiniteIntegrationResult.verdict#

Raw WebAssembly: DefiniteIntegrationResult property

readonly verdict: string

Whether the request was evaluated, proved divergent, or declined.

LimitResult.declineReason#

Raw WebAssembly: LimitResult property

readonly declineReason: string | undefined

The reason, present exactly when the status is unknown.

LimitResult.status#

Raw WebAssembly: LimitResult property

readonly status: string

Whether the limit is finite, a signed infinity, proved nonexistent, or undecided.

LimitResult.value#

Raw WebAssembly: LimitResult property

readonly value: Expression | undefined

The exact limit, present exactly when the status is finite.

complexLimit#

Raw WebAssembly: Default context

complexLimit(
    input_expression: Expression,
    variable: string,
    point: Expression,
): Expression

complex_limit(Expression, variable, point) constructs the deferred limit of an expression as the variable tends to a finite point through a punctured complex disk.

Calling forms

Raw WebAssembly: Explicit context: Context.complexLimit

complexLimit(
    input_expression: Expression,
    variable: string,
    point: Expression,
): Expression

complexSectorLimit#

Raw WebAssembly: Default context

complexSectorLimit(
    input_expression: Expression,
    variable: string,
    lower_angle: Expression,
    upper_angle: Expression,
): Expression

complex_sector_limit(Expression, variable, lower_angle, upper_angle) constructs the deferred limit of an expression as the variable tends to infinity inside a closed sector.

Calling forms

Raw WebAssembly: Explicit context: Context.complexSectorLimit

complexSectorLimit(
    input_expression: Expression,
    variable: string,
    lower_angle: Expression,
    upper_angle: Expression,
): Expression

continuousDomain#

Raw WebAssembly: Default context

continuousDomain(
    input_expression: Expression,
    variable: string,
): Expression

The subset of the real line on which the expression is continuous in variable, as a set expression. Compound rational square-root radicands are lowered to an exact univariate semialgebraic condition when supported, so, for example, sqrt(x + 1/x - 2) has continuous real domain (0, infinity).

Calling forms and variants

Raw WebAssembly: Explicit context: Context.continuousDomain

continuousDomain(
    input_expression: Expression,
    variable: string,
): Expression

Raw WebAssembly: Expression method: Expression.continuousDomain

continuousDomain(variable: string): Expression

Variant using local assumptions — AssumptionScope method: AssumptionScope.continuousDomain

continuousDomain(value: ExpressionLike, variable: VariableLike): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.continuousDomain

continuousDomain(
    input_expression: Expression,
    variable: string,
): Expression

differentiate#

Raw WebAssembly: Default context

differentiate(
    input_expression: Expression,
    variable: string,
): Expression

Symbolic derivative with respect to variable.

Calling forms

Explicit context: Context.differentiate

differentiate(value: ExpressionLike, variable: VariableLike): Expression

Raw WebAssembly: Explicit context: Context.differentiate

differentiate(
    input_expression: Expression,
    variable: string,
): Expression

SymiFacade method: SymiFacade.differentiate

differentiate(value: ExpressionLike, variable: VariableLike): Expression

Expression method: Expression.differentiate

differentiate(variable: VariableLike): Expression

Raw WebAssembly: Expression method: Expression.differentiate

differentiate(variable: string): Expression

evaluateComplexLimit#

Raw WebAssembly: Default context

evaluateComplexLimit(
    input_expression: Expression,
    variable: string,
    point: Expression,
): Expression

evaluate_complex_limit(Expression, variable, point) evaluates a limit through a punctured complex disk. It returns the deferred complex_limit when the limit is not decided.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateComplexLimit

evaluateComplexLimit(
    input_expression: Expression,
    variable: string,
    point: Expression,
): Expression

evaluateComplexLimitDetailed#

Raw WebAssembly: Default context

evaluateComplexLimitDetailed(
    input_expression: Expression,
    variable: string,
    point: Expression,
): LimitResult

Classify a limit through a punctured complex disk as finite, proved nonexistent, or undecided, keeping the status apart from the value.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateComplexLimitDetailed

evaluateComplexLimitDetailed(
    input_expression: Expression,
    variable: string,
    point: Expression,
): LimitResult

evaluateComplexSectorLimit#

Raw WebAssembly: Default context

evaluateComplexSectorLimit(
    input_expression: Expression,
    variable: string,
    lower_angle: Expression,
    upper_angle: Expression,
): Expression

evaluate_complex_sector_limit(Expression, variable, lower_angle, upper_angle) evaluates a limit at infinity inside a closed sector, or returns the deferred complex_sector_limit.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateComplexSectorLimit

evaluateComplexSectorLimit(
    input_expression: Expression,
    variable: string,
    lower_angle: Expression,
    upper_angle: Expression,
): Expression

evaluateComplexSectorLimitDetailed#

Raw WebAssembly: Default context

evaluateComplexSectorLimitDetailed(
    input_expression: Expression,
    variable: string,
    lower_angle: Expression,
    upper_angle: Expression,
): LimitResult

Classify a limit at infinity inside a closed sector as finite, proved nonexistent, or undecided, keeping the status apart from the value.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateComplexSectorLimitDetailed

evaluateComplexSectorLimitDetailed(
    input_expression: Expression,
    variable: string,
    lower_angle: Expression,
    upper_angle: Expression,
): LimitResult

evaluateJointLimit#

Raw WebAssembly: Default context

evaluateJointLimit(
    input_expression: Expression,
    variables: string[],
    point: Expression[],
    relative_domain?: Expression | null,
): Expression

evaluate_joint_limit(Expression, variables, point, relative_domain=None) evaluates a joint limit of two or more real variables. It returns the deferred joint_limit when the limit is not decided.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateJointLimit

evaluateJointLimit(
    input_expression: Expression,
    variables: string[],
    point: Expression[],
    relative_domain?: Expression | null,
): Expression

evaluateJointLimitDetailed#

Raw WebAssembly: Default context

evaluateJointLimitDetailed(
    input_expression: Expression,
    variables: string[],
    point: Expression[],
    relative_domain?: Expression | null,
): LimitResult

Classify a joint limit of two or more real variables as finite, nonexistent or undecided, keeping the status apart from the value.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateJointLimitDetailed

evaluateJointLimitDetailed(
    input_expression: Expression,
    variables: string[],
    point: Expression[],
    relative_domain?: Expression | null,
): LimitResult

evaluateLimit#

Raw WebAssembly: Default context

evaluateLimit(
    input_expression: Expression,
    variable: string,
    point: Expression,
    direction?: string | null,
): Expression

evaluate_limit(Expression, variable, point, direction="two_sided") runs the eager limit engine. It returns an unevaluated limit when the engine cannot close the result.

Calling forms and variants

Raw WebAssembly: Explicit context: Context.evaluateLimit

evaluateLimit(
    input_expression: Expression,
    variable: string,
    point: Expression,
    direction?: string | null,
): Expression

Raw WebAssembly: Expression method: Expression.evaluateLimit

evaluateLimit(
    variable: string,
    point: Expression,
    direction?: string | null,
): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.evaluateLimit

evaluateLimit(
    input_expression: Expression,
    variable: string,
    point: Expression,
    direction?: string | null,
): Expression

evaluateLimitDetailed#

Raw WebAssembly: Default context

evaluateLimitDetailed(
    input_expression: Expression,
    variable: string,
    point: Expression,
    direction?: string | null,
): LimitResult

Classify a limit as finite, a signed infinity, proved nonexistent, or undecided, keeping the status apart from the value.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateLimitDetailed

evaluateLimitDetailed(
    input_expression: Expression,
    variable: string,
    point: Expression,
    direction?: string | null,
): LimitResult

evaluateOnGrid#

Raw WebAssembly: Default context

evaluateOnGrid(
    input_expression: Expression,
    variable: string,
    x_values: Float64Array,
): Float64Array

Evaluate at each grid point, substituting variable.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateOnGrid

evaluateOnGrid(
    input_expression: Expression,
    variable: string,
    x_values: Float64Array,
): Float64Array

evaluateOnGridPoints#

Raw WebAssembly: Default context

evaluateOnGridPoints(
    input_expression: Expression,
    variables: string[],
    points: Float64Array,
): Float64Array

Multi-variable companion to evaluate_on_grid: evaluate at each point of a flat row-major coordinate array (one coordinate per variable, so the points length must be a multiple of the variable count), returning one float per point. Positions where evaluation fails hold NaN. Raises when variables is empty or the lengths disagree. Intended for sampling surfaces and implicit curves.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateOnGridPoints

evaluateOnGridPoints(
    input_expression: Expression,
    variables: string[],
    points: Float64Array,
): Float64Array

evaluateSequenceLimit#

Raw WebAssembly: Default context

evaluateSequenceLimit(
    input_expression: Expression,
    index: string,
): Expression

evaluate_sequence_limit(Expression, index) evaluates the limit of a sequence as its positive-integer index tends to infinity. It returns the deferred sequence_limit when the engine cannot decide the limit.

Calling forms and variants

Raw WebAssembly: Explicit context: Context.evaluateSequenceLimit

evaluateSequenceLimit(
    input_expression: Expression,
    index: string,
): Expression

Raw WebAssembly: Expression method: Expression.evaluateSequenceLimit

evaluateSequenceLimit(index: string): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.evaluateSequenceLimit

evaluateSequenceLimit(
    input_expression: Expression,
    index: string,
): Expression

evaluateSequenceLimitDetailed#

Raw WebAssembly: Default context

evaluateSequenceLimitDetailed(
    input_expression: Expression,
    index: string,
): LimitResult

Classify a sequence limit as finite, a signed infinity, proved nonexistent, or undecided, keeping the status apart from the value.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateSequenceLimitDetailed

evaluateSequenceLimitDetailed(
    input_expression: Expression,
    index: string,
): LimitResult

execute#

Raw WebAssembly: Default context

execute(input_expression: Expression): Expression

Re-dispatch every unevaluated node (integral, derivative, summation, transform, ODE/recurrence placeholder) in the expression; useful after substitution has changed the inputs.

Calling forms

Explicit context: Context.execute

execute(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.execute

execute(input_expression: Expression): Expression

SymiFacade method: SymiFacade.execute

execute(value: ExpressionLike): Expression

Expression method: Expression.execute

execute(): Expression

Raw WebAssembly: Expression method: Expression.execute

execute(): Expression

fourierTransform#

Raw WebAssembly: Default context

fourierTransform(
    input_expression: Expression,
    time_variable: string,
    frequency_variable: string,
): Expression

Forward Fourier transform in the angular-frequency convention F(ω)=∫f(t)e−iωt dtF(\omega) = \int f(t)e^{-i\omega t}\,dt.

Calling forms and variants

Raw WebAssembly: Explicit context: Context.fourierTransform

fourierTransform(
    input_expression: Expression,
    time_variable: string,
    frequency_variable: string,
): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.fourierTransform

fourierTransform(
    input_expression: Expression,
    time_variable: string,
    frequency_variable: string,
): Expression

integrate#

Raw WebAssembly: Default context

integrate(input_expression: Expression, variable: string): Expression

Indefinite integration (no constant of integration).

Calling forms and variants

Explicit context: Context.integrate

integrate(value: ExpressionLike, variable: VariableLike): Expression

Raw WebAssembly: Explicit context: Context.integrate

integrate(input_expression: Expression, variable: string): Expression

SymiFacade method: SymiFacade.integrate

integrate(value: ExpressionLike, variable: VariableLike): Expression

Expression method: Expression.integrate

integrate(variable: VariableLike): Expression

Raw WebAssembly: Expression method: Expression.integrate

integrate(variable: string): Expression

Variant using local assumptions — AssumptionScope method: AssumptionScope.integrate

integrate(value: ExpressionLike, variable: VariableLike): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.integrate

integrate(input_expression: Expression, variable: string): Expression

integrateDefinite#

Raw WebAssembly: Default context

integrateDefinite(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
): Expression

Definite integration over [lower, upper] (bounds may be infinite).

Calling forms and variants

Raw WebAssembly: Explicit context: Context.integrateDefinite

integrateDefinite(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
): Expression

Raw WebAssembly: Expression method: Expression.integrateDefinite

integrateDefinite(
    variable: string,
    lower: Expression,
    upper: Expression,
): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.integrateDefinite

integrateDefinite(
    input_expression: Expression,
    variable: string,
    lower_bound: Expression,
    upper_bound: Expression,
): Expression

integrateDefiniteDetailed#

Raw WebAssembly: Default context

integrateDefiniteDetailed(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    interpretation?: string | null,
    constraint?: Expression | null,
): DefiniteIntegrationResult

Evaluate a definite integral under an interpretation and an optional declared region, retaining whether it was evaluated, proved divergent, or declined.

Calling forms

Raw WebAssembly: Explicit context: Context.integrateDefiniteDetailed

integrateDefiniteDetailed(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    interpretation?: string | null,
    constraint?: Expression | null,
): DefiniteIntegrationResult

integrateDefiniteUnderConstraint#

Raw WebAssembly: Default context

integrateDefiniteUnderConstraint(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    constraint: Expression,
): Expression

Definite integration under a local bounded logical constraint.

Calling forms

Raw WebAssembly: Explicit context: Context.integrateDefiniteUnderConstraint

integrateDefiniteUnderConstraint(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    constraint: Expression,
): Expression

Raw WebAssembly: Expression method: Expression.integrateDefiniteUnderConstraint

integrateDefiniteUnderConstraint(
    variable: string,
    lower: Expression,
    upper: Expression,
    constraint: Expression,
): Expression

integrateIterated#

Raw WebAssembly: Default context

integrateIterated(
    input_expression: Expression,
    variables: string[],
): Expression

Iterated indefinite integration, applying the single-variable pipeline once per entry of variables in left-to-right order (innermost binder first).

Calling forms

Raw WebAssembly: Explicit context: Context.integrateIterated

integrateIterated(
    input_expression: Expression,
    variables: string[],
): Expression

Raw WebAssembly: Expression method: Expression.integrateIterated

integrateIterated(variables: string[]): Expression

inverseFourierTransform#

Raw WebAssembly: Default context

inverseFourierTransform(
    input_expression: Expression,
    frequency_variable: string,
    time_variable: string,
): Expression

Inverse Fourier transform of the same convention.

Calling forms

Raw WebAssembly: Explicit context: Context.inverseFourierTransform

inverseFourierTransform(
    input_expression: Expression,
    frequency_variable: string,
    time_variable: string,
): Expression

inverseLaplaceTransform#

Raw WebAssembly: Default context

inverseLaplaceTransform(
    input_expression: Expression,
    frequency_variable: string,
    time_variable: string,
): Expression

Inverse Laplace transform; rational inputs route through a partial-fraction reverse lookup.

Calling forms

Raw WebAssembly: Explicit context: Context.inverseLaplaceTransform

inverseLaplaceTransform(
    input_expression: Expression,
    frequency_variable: string,
    time_variable: string,
): Expression

jointLimit#

Raw WebAssembly: Default context

jointLimit(
    input_expression: Expression,
    variables: string[],
    point: Expression[],
    relative_domain?: Expression | null,
): Expression

joint_limit(Expression, variables, point, relative_domain=None) constructs the deferred joint limit of an expression as the ordered variables tend together to the center, optionally relative to a domain given as a logical expression.

Calling forms

Raw WebAssembly: Explicit context: Context.jointLimit

jointLimit(
    input_expression: Expression,
    variables: string[],
    point: Expression[],
    relative_domain?: Expression | null,
): Expression

laplaceTransform#

Raw WebAssembly: Default context

laplaceTransform(
    input_expression: Expression,
    time_variable: string,
    frequency_variable: string,
): Expression

Forward Laplace transform F(s)=∫0∞f(t)e−st dtF(s) = \int_0^\infty f(t)e^{-st}\,dt.

Calling forms and variants

Raw WebAssembly: Explicit context: Context.laplaceTransform

laplaceTransform(
    input_expression: Expression,
    time_variable: string,
    frequency_variable: string,
): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.laplaceTransform

laplaceTransform(
    input_expression: Expression,
    time_variable: string,
    frequency_variable: string,
): Expression

laurentSeries#

Raw WebAssembly: Default context

laurentSeries(
    input_expression: Expression,
    variable: string,
    center: Expression,
    order: number,
): Expression

Truncated Laurent expansion at center: every (variable⁡−center⁡)k(\operatorname{variable} - \operatorname{center})^k term with −m≤k<order⁡-m \le k < \operatorname{order}, where m is the pole order. Analytic points degrade to the Taylor expansion. At an essential singularity (where pole_order declines) the result is an unevaluated series_unevaluated(...) placeholder, because no finite truncation of the principal part is correct.

Calling forms

Raw WebAssembly: Explicit context: Context.laurentSeries

laurentSeries(
    input_expression: Expression,
    variable: string,
    center: Expression,
    order: number,
): Expression

Raw WebAssembly: Expression method: Expression.laurentSeries

laurentSeries(
    variable: string,
    center: Expression,
    order: number,
): Expression

limit#

Raw WebAssembly: Default context

limit(
    input_expression: Expression,
    variable: string,
    point: Expression,
    direction?: string | null,
): Expression

limit(Expression, variable, point, direction="two_sided") constructs a deferred limit.

Calling forms

Raw WebAssembly: Explicit context: Context.limit

limit(
    input_expression: Expression,
    variable: string,
    point: Expression,
    direction?: string | null,
): Expression

Raw WebAssembly: Expression method: Expression.limit

limit(
    variable: string,
    point: Expression,
    direction?: string | null,
): Expression

maclaurinSeries#

Raw WebAssembly: Default context

maclaurinSeries(
    input_expression: Expression,
    variable: string,
    order: number,
): Expression

taylor_series specialised to expansion point 0.

Calling forms

Raw WebAssembly: Explicit context: Context.maclaurinSeries

maclaurinSeries(
    input_expression: Expression,
    variable: string,
    order: number,
): Expression

Raw WebAssembly: Expression method: Expression.maclaurinSeries

maclaurinSeries(variable: string, order: number): Expression

poleOrder#

Raw WebAssembly: Default context

poleOrder(
    input_expression: Expression,
    variable: string,
    center: Expression,
): bigint | undefined

Order of the singularity at center: 0 for analytic/removable points, m≥1m \ge 1 for a pole of order mm.

Calling forms

Raw WebAssembly: Explicit context: Context.poleOrder

poleOrder(
    input_expression: Expression,
    variable: string,
    center: Expression,
): bigint | undefined

Raw WebAssembly: Expression method: Expression.poleOrder

poleOrder(variable: string, center: Expression): bigint | undefined

residue#

Raw WebAssembly: Default context

residue(
    input_expression: Expression,
    variable: string,
    center: Expression,
): Expression

Coefficient of (variable⁡−center⁡)−1(\operatorname{variable} - \operatorname{center})^{-1} in the Laurent expansion at center.

Calling forms

Raw WebAssembly: Explicit context: Context.residue

residue(
    input_expression: Expression,
    variable: string,
    center: Expression,
): Expression

Raw WebAssembly: Expression method: Expression.residue

residue(variable: string, center: Expression): Expression

sequenceLimit#

Raw WebAssembly: Default context

sequenceLimit(input_expression: Expression, index: string): Expression

sequence_limit(Expression, index) constructs the deferred limit of a sequence as its positive-integer index tends to infinity.

Calling forms

Raw WebAssembly: Explicit context: Context.sequenceLimit

sequenceLimit(input_expression: Expression, index: string): Expression

Raw WebAssembly: Expression method: Expression.sequenceLimit

sequenceLimit(index: string): Expression

singularities#

Raw WebAssembly: Default context

singularities(
    input_expression: Expression,
    variable: string,
): Expression

The singular points of the expression in the complex plane, as a set expression (finite set, union, image set for periodic families, …).

Calling forms and variants

Raw WebAssembly: Explicit context: Context.singularities

singularities(
    input_expression: Expression,
    variable: string,
): Expression

Raw WebAssembly: Expression method: Expression.singularities

singularities(variable: string): Expression

Variant using local assumptions — AssumptionScope method: AssumptionScope.singularities

singularities(value: ExpressionLike, variable: VariableLike): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.singularities

singularities(
    input_expression: Expression,
    variable: string,
): Expression

taylorSeries#

Raw WebAssembly: Default context

taylorSeries(
    input_expression: Expression,
    variable: string,
    expansion_point: Expression,
    order: number,
): Expression

Truncated Taylor expansion about expansion_point, keeping terms of degree strictly less than order (the remainder is O((x−a)order⁡)O((x-a)^{\operatorname{order}}).

Calling forms and variants

Raw WebAssembly: Explicit context: Context.taylorSeries

taylorSeries(
    input_expression: Expression,
    variable: string,
    expansion_point: Expression,
    order: number,
): Expression

Raw WebAssembly: Expression method: Expression.taylorSeries

taylorSeries(
    variable: string,
    expansion_point: Expression,
    order: number,
): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.taylorSeries

taylorSeries(
    input_expression: Expression,
    variable: string,
    expansion_point: Expression,
    truncation_order: number,
): Expression

e#

Raw WebAssembly: Default context

e(): Expression

Euler's number ee, the base of the natural logarithm. exp(1) and this constant are the same expression.

Calling forms

Explicit context: Context.e

readonly e: Expression

Raw WebAssembly: Explicit context: Context.e

readonly e: Expression

SymiFacade property: SymiFacade.e

readonly e: Expression

eulerGamma#

Raw WebAssembly: Default context

eulerGamma(): Expression

The Euler–Mascheroni constant γ\gamma.

Calling forms

Explicit context: Context.eulerGamma

readonly eulerGamma: Expression

Raw WebAssembly: Explicit context: Context.eulerGamma

eulerGamma(): Expression

SymiFacade property: SymiFacade.eulerGamma

readonly eulerGamma: Expression

imaginaryUnit#

Raw WebAssembly: Default context

imaginaryUnit(): Expression

The imaginary unit ii with i2=−1i^2 = -1.

Calling forms

Explicit context: Context.imaginaryUnit

readonly imaginaryUnit: Expression

Raw WebAssembly: Explicit context: Context.imaginaryUnit

readonly imaginaryUnit: Expression

SymiFacade property: SymiFacade.imaginaryUnit

readonly imaginaryUnit: Expression

infinity#

Raw WebAssembly: Default context

infinity(): Expression

Unsigned positive infinity ∞\infty.

Calling forms

Explicit context: Context.infinity

readonly infinity: Expression

Raw WebAssembly: Explicit context: Context.infinity

readonly infinity: Expression

SymiFacade property: SymiFacade.infinity

readonly infinity: Expression

pi#

Raw WebAssembly: Default context

pi(): Expression

The circle constant π\pi.

Calling forms

Explicit context: Context.pi

readonly pi: Expression

Raw WebAssembly: Explicit context: Context.pi

readonly pi: Expression

SymiFacade property: SymiFacade.pi

readonly pi: Expression

derivative#

Raw WebAssembly: Default context

derivative(
    input_expression: Expression,
    variable: string,
    order?: number | null,
): Expression

Constructs a deferred derivative. The variable may be a name or a same-context symbol expression. Use execute to evaluate it.

Calling forms

Raw WebAssembly: Explicit context: Context.derivative

derivative(
    input_expression: Expression,
    variable: string,
    order?: number | null,
): Expression

Expression method: Expression.derivative

derivative(variable: VariableLike, order?: number): Expression

Raw WebAssembly: Expression method: Expression.derivative

derivative(variable: string, order?: number | null): Expression

derivativeUnevaluated#

Raw WebAssembly: Default context

derivativeUnevaluated(
    input_expression: Expression,
    variable: string,
    order?: number | null,
): Expression

Constructs the deferred derivative of the given order without differentiating; execute evaluates it. Use differentiate for the eager derivative.

Calling forms

Raw WebAssembly: Explicit context: Context.derivativeUnevaluated

derivativeUnevaluated(
    input_expression: Expression,
    variable: string,
    order?: number | null,
): Expression

Raw WebAssembly: Expression method: Expression.derivativeUnevaluated

derivativeUnevaluated(
    variable: string,
    order?: number | null,
): Expression

integer#

Raw WebAssembly: Default context

integer(value: bigint): Expression

Build an arbitrary-precision exact integer. Python bool values are rejected. JavaScript's recommended facade accepts bigint and safe integral number values.

Calling forms

Explicit context: Context.integer

integer(value: bigint | number): Expression

Raw WebAssembly: Explicit context: Context.integer

integer(value: bigint): Expression

SymiFacade method: SymiFacade.integer

integer(value: bigint | number): Expression

integerFromString#

Raw WebAssembly: Default context

integerFromString(text: string): Expression

Build an arbitrary-precision integer literal from its decimal string.

Calling forms

Raw WebAssembly: Explicit context: Context.integerFromString

integerFromString(text: string): Expression

integral#

Raw WebAssembly: Default context

integral(
    integrand: Expression,
    variable: string,
    lower?: Expression | null,
    upper?: Expression | null,
): Expression

Build an unevaluated integral node (indefinite when bounds are omitted).

Calling forms

Raw WebAssembly: Explicit context: Context.integral

integral(
    integrand: Expression,
    variable: string,
    lower?: Expression | null,
    upper?: Expression | null,
): Expression

parse#

Raw WebAssembly: Default context

parse(text: string): Expression

Parse Symi textual syntax into an expression. Accepts ^ and ** for powers; knows the builtin function names (sin, log, sqrt, …) and the constants pi, e.

Calling forms

Explicit context: Context.parse

parse(text: string): Expression

Raw WebAssembly: Explicit context: Context.parse

parse(text: string): Expression

SymiFacade method: SymiFacade.parse

parse(text: string): Expression

parseLatex#

Raw WebAssembly: Default context

parseLatex(latex: string): any

Parse a LaTeX string in Symi's canonical input dialect — the inverse of to_latex and the parser the Symi frontend uses. Returns whichever top-level object the input denotes: an ordinary Expression, a \begin{matrix}…\end{matrix}, or a geometry figure ((x, y) point, segment, polygon, or circle), wrapped in the matching exported class exactly as parse_serialized_object does. Coverage spans arithmetic, powers, fractions, roots, the elementary and many special functions, comparisons, integrals (including the bare-d differential), Leibniz derivatives (\frac{d}{dx} — differentiated eagerly), limits, summations, products, determinants, and actuarial annuities. The resolution is context-aware in a way parse is not: a bare i is the imaginary unit and a bare e is Euler's number unless the letter is a bound index (a summation / product / limit index shadows the constant), and \mathrm{d} — or a bare d that closes an integral — is the differential operator while a bare d elsewhere is an ordinary variable. Raises on syntax errors.

Calling forms

Raw WebAssembly: Explicit context: Context.parseLatex

parseLatex(latex: string): any

parseLatexWithEnvironment#

Raw WebAssembly: Default context

parseLatexWithEnvironment(
    latex: string,
    serialized_definitions: any[],
): any

Parse LaTeX after building an ordered definition environment. Each serialized definition is a string with four fields separated by ASCII Unit Separator (U+001F): kind, name, parameters, and body_latex.

Calling forms

Raw WebAssembly: Explicit context: Context.parseLatexWithEnvironment

parseLatexWithEnvironment(
    latex: string,
    serialized_definitions: any[],
): any

parseSerializedObject#

Raw WebAssembly: Default context

parseSerializedObject(text: string): any

Inverse of serialize_object; returns the matching surface class.

Calling forms

Raw WebAssembly: Explicit context: Context.parseSerializedObject

parseSerializedObject(text: string): any

piecewise#

Raw WebAssembly: Default context

piecewise(
    branches: Expression[],
    otherwise?: Expression | null,
): Expression

Build a piecewise expression from (value, condition) pairs with first-match semantics; otherwise appends an always-true final branch. Branches whose condition is provably false are dropped at construction; if every condition fails the result is the undefined sentinel.

Calling forms

Explicit context: Context.piecewise

piecewise(branches: Iterable<PiecewiseBranch>): Expression

Raw WebAssembly: Explicit context: Context.piecewise

piecewise(
    branches: Expression[],
    otherwise?: Expression | null,
): Expression

SymiFacade method: SymiFacade.piecewise

piecewise(branches: Iterable<PiecewiseBranch>): Expression

product#

Raw WebAssembly: Default context

product(
    multiplicand: Expression,
    index: string,
    lower: Expression,
    upper: Expression,
): Expression

Definite indexed product ∏index=loweruppermultiplicand\prod_{\mathit{index}=\mathit{lower}}^{\mathit{upper}} \mathit{multiplicand}, a first-class indexed_product binder (rendered \prod in LaTeX).

Calling forms

Raw WebAssembly: Explicit context: Context.product

product(
    multiplicand: Expression,
    index: string,
    lower: Expression,
    upper: Expression,
): Expression

productIndefinite#

Raw WebAssembly: Default context

productIndefinite(multiplicand: Expression, index: string): Expression

Indefinite (anti-quotient) product: the P(k) satisfying P(k+1)/P(k) = multiplicand(k), the multiplicative analogue of summation_indefinite.

Calling forms

Raw WebAssembly: Explicit context: Context.productIndefinite

productIndefinite(multiplicand: Expression, index: string): Expression

rational#

Raw WebAssembly: Default context

rational(numerator: string, denominator: string): Expression

Constructs an exact reduced rational from arbitrary-size integers. A zero denominator is an argument error. Python also accepts fractions.Fraction wherever an expression-like input is accepted.

Calling forms

Explicit context: Context.rational

rational(numerator: bigint | number, denominator: bigint | number): Expression

Raw WebAssembly: Explicit context: Context.rational

rational(numerator: string, denominator: string): Expression

SymiFacade method: SymiFacade.rational

rational(numerator: bigint | number, denominator: bigint | number): Expression

resetContext#

Explicit context

resetContext(): void

Replace the context's entire symbol table and expression store with fresh empty ones. Warning: existing expression/matrix/geometry objects from this context become stale and must not be used afterwards — their symbol identifiers no longer resolve. Deliberately not available at module level: resetting the shared default context would strand every live object, and the weak expression store already keeps memory bounded by live objects (see the default Context).

Calling forms

Raw WebAssembly: Explicit context: Context.resetContext

resetContext(): void

serializeObject#

Raw WebAssembly: Expression method

serializeObject(): string

Serialize an Expression, Matrix, or geometry object to the stable Symi serialization format, round-trippable via parse_serialized_object.

Calling forms and variants

Variant for this object — Raw WebAssembly: Circle2d method: Circle2d.serializeObject

serializeObject(): string

Variant for this object — Raw WebAssembly: Matrix method: Matrix.serializeObject

serializeObject(): string

Variant for this object — Raw WebAssembly: Point2d method: Point2d.serializeObject

serializeObject(): string

Variant for this object — Raw WebAssembly: Polygon2d method: Polygon2d.serializeObject

serializeObject(): string

Variant for this object — Raw WebAssembly: Segment2d method: Segment2d.serializeObject

serializeObject(): string

Variant for this object — Raw WebAssembly: Triangle2d method: Triangle2d.serializeObject

serializeObject(): string

summation#

Raw WebAssembly: Default context

summation(
    summand: Expression,
    index: string,
    lower: Expression,
    upper: Expression,
): Expression

Build a summation node ∑\sum.

Calling forms

Raw WebAssembly: Explicit context: Context.summation

summation(
    summand: Expression,
    index: string,
    lower: Expression,
    upper: Expression,
): Expression

summationIndefinite#

Raw WebAssembly: Default context

summationIndefinite(summand: Expression, index: string): Expression

Anti-difference: a closed form FF with F(index⁡+1)−F(index⁡)=summand⁡F(\operatorname{index}+1) - F(\operatorname{index}) = \operatorname{summand}.

Calling forms

Raw WebAssembly: Explicit context: Context.summationIndefinite

summationIndefinite(summand: Expression, index: string): Expression

Raw WebAssembly: Expression method: Expression.summationIndefinite

summationIndefinite(index: string): Expression

symbol#

Raw WebAssembly: Default context

symbol(
    name: string,
    real?: boolean | null,
    positive?: boolean | null,
    negative?: boolean | null,
    integer?: boolean | null,
    finite?: boolean | null,
    rational?: boolean | null,
    natural?: boolean | null,
    nonzero?: boolean | null,
): Expression

Intern a symbol and (optionally) attach assumptions used by the assumption engine and the simplifier. Domain flags refine in the order natural →\to integer →\to rational →\to real; positive/negative also set nonzero, and nonzero may be requested independently.

Calling forms

Explicit context: Context.symbol

symbol(name: string): Expression

Raw WebAssembly: Explicit context: Context.symbol

symbol(
    name: string,
    real?: boolean | null,
    positive?: boolean | null,
    negative?: boolean | null,
    integer?: boolean | null,
    finite?: boolean | null,
    rational?: boolean | null,
    natural?: boolean | null,
    nonzero?: boolean | null,
): Expression

SymiFacade method: SymiFacade.symbol

symbol(name: string): Expression

toLatex#

Raw WebAssembly: Default context

toLatex(input_expression: Expression): string

Render an expression as LaTeX. Matrices and geometry objects have their own to_latex methods.

Calling forms and variants

Raw WebAssembly: Explicit context: Context.toLatex

toLatex(input_expression: Expression): string

Raw WebAssembly: Expression method: Expression.toLatex

toLatex(): string

Variant for this object — Raw WebAssembly: Circle2d method: Circle2d.toLatex

toLatex(): string

Variant for this object — Raw WebAssembly: Matrix method: Matrix.toLatex

toLatex(): string

Variant for this object — Raw WebAssembly: Point2d method: Point2d.toLatex

toLatex(): string

Variant for this object — Raw WebAssembly: Polygon2d method: Polygon2d.toLatex

toLatex(): string

Variant for this object — Raw WebAssembly: Segment2d method: Segment2d.toLatex

toLatex(): string

Variant for this object — Raw WebAssembly: Triangle2d method: Triangle2d.toLatex

toLatex(): string

toLatexWithOptions#

Raw WebAssembly: Default context

toLatexWithOptions(
    input_expression: Expression,
    exponential_style: string,
    natural_logarithm_style: string,
    multiletter_symbol_style: string,
): string

Render an expression as LaTeX with presentation flags. Each argument is a string naming the choice for one flag; an unrecognized name falls back to that flag's canonical default (so to_latex_with_options(e, "", "", "") equals to_latex(e)):

Calling forms

Raw WebAssembly: Explicit context: Context.toLatexWithOptions

toLatexWithOptions(
    input_expression: Expression,
    exponential_style: string,
    natural_logarithm_style: string,
    multiletter_symbol_style: string,
): string

Raw WebAssembly: Expression method: Expression.toLatexWithOptions

toLatexWithOptions(
    exponential_style: string,
    natural_logarithm_style: string,
    multiletter_symbol_style: string,
): string

AssumptionProposition.congruenceModulus#

Raw WebAssembly: Default context

congruenceModulus(proposition: AssumptionProposition): Expression | undefined

Return the congruence modulus when present.

Calling forms

AssumptionProposition method: AssumptionProposition.congruenceModulus

congruenceModulus(): Expression | null

SymiFacade method: SymiFacade.congruenceModulus

congruenceModulus(proposition: AssumptionProposition): Expression | null

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.congruenceModulus

congruenceModulus(): Expression | undefined

AssumptionProposition.leftOperand#

Raw WebAssembly: Default context

leftOperand(proposition: AssumptionProposition): Expression | undefined

Return the left relation or congruence operand when present.

Calling forms

AssumptionProposition method: AssumptionProposition.leftOperand

leftOperand(): Expression | null

SymiFacade method: SymiFacade.leftOperand

leftOperand(proposition: AssumptionProposition): Expression | null

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.leftOperand

leftOperand(): Expression | undefined

AssumptionProposition.membershipElement#

Raw WebAssembly: Default context

membershipElement(proposition: AssumptionProposition): Expression | undefined

Return the membership element when present.

Calling forms

AssumptionProposition method: AssumptionProposition.membershipElement

membershipElement(): Expression | null

SymiFacade method: SymiFacade.membershipElement

membershipElement(proposition: AssumptionProposition): Expression | null

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.membershipElement

membershipElement(): Expression | undefined

AssumptionProposition.membershipSet#

Raw WebAssembly: Default context

membershipSet(proposition: AssumptionProposition): Expression | undefined

Return the membership set expression when present.

Calling forms

AssumptionProposition method: AssumptionProposition.membershipSet

membershipSet(): Expression | null

SymiFacade method: SymiFacade.membershipSet

membershipSet(proposition: AssumptionProposition): Expression | null

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.membershipSet

membershipSet(): Expression | undefined

AssumptionProposition.relationKind#

Raw WebAssembly: Default context

relationKind(proposition: AssumptionProposition): string | undefined

Return the canonical relation kind for an assumption proposition.

Calling forms

AssumptionProposition method: AssumptionProposition.relationKind

relationKind(): "equal" | "not_equal" | "less" | "less_or_equal" | null

SymiFacade method: SymiFacade.relationKind

relationKind(proposition: AssumptionProposition): "equal" | "not_equal" | "less" | "less_or_equal" | null

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.relationKind

relationKind(): string | undefined

AssumptionProposition.rightOperand#

Raw WebAssembly: Default context

rightOperand(proposition: AssumptionProposition): Expression | undefined

Return the right relation or congruence operand when present.

Calling forms

AssumptionProposition method: AssumptionProposition.rightOperand

rightOperand(): Expression | null

SymiFacade method: SymiFacade.rightOperand

rightOperand(proposition: AssumptionProposition): Expression | null

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.rightOperand

rightOperand(): Expression | undefined

AssumptionProposition.serialize#

Raw WebAssembly: Default context

serialize(proposition: AssumptionProposition): string

Serialize an assumption proposition in the versioned canonical grammar.

Calling forms

AssumptionProposition method: AssumptionProposition.serialize

serialize(): string

SymiFacade method: SymiFacade.serialize

serialize(proposition: AssumptionProposition): string

Raw WebAssembly: AssumptionProposition method: AssumptionProposition.serialize

serialize(): string

BulkExpressionOutcome.diagnostic#

Raw WebAssembly: BulkExpressionOutcome property

readonly diagnostic: string | undefined

Return the item diagnostic when the operation declined or failed.

BulkExpressionOutcome.index#

Raw WebAssembly: BulkExpressionOutcome property

readonly index: number

Return the original input position of this outcome.

BulkExpressionOutcome.value#

Raw WebAssembly: BulkExpressionOutcome property

readonly value: Expression | undefined

Return the expression value when the item succeeded.

BulkTextOutcome.diagnostic#

Raw WebAssembly: BulkTextOutcome property

readonly diagnostic: string | undefined

Return the item diagnostic when the operation declined or failed.

BulkTextOutcome.index#

Raw WebAssembly: BulkTextOutcome property

readonly index: number

Return the original input position of this outcome.

BulkTextOutcome.value#

Raw WebAssembly: BulkTextOutcome property

readonly value: string | undefined

Return the canonical text when the item succeeded.

Context#

Type

interface Context

Create an isolated context with its own symbol table, interner, and assumptions.

Calling forms

Type: ContextConstructor

interface ContextConstructor

Raw WebAssembly: Context constructor: Context

new Context()

ParallelismCapability.active#

Raw WebAssembly: ParallelismCapability property

readonly active: boolean

Whether the selected backend can currently execute parallel work.

ParallelismCapability.backend#

Raw WebAssembly: ParallelismCapability property

readonly backend: string

Return the backend selected for this target.

ParallelismCapability.compiled#

Raw WebAssembly: ParallelismCapability property

readonly compiled: boolean

Whether this target was compiled with a parallel backend.

ParallelismCapability.initialized#

Raw WebAssembly: ParallelismCapability property

readonly initialized: boolean

Whether the process-wide parallel backend has been initialized.

ParallelismCapability.maximumOperationConcurrency#

Raw WebAssembly: ParallelismCapability property

readonly maximumOperationConcurrency: number

Return the largest task batch one operation may admit.

ParallelismCapability.selectedMode#

Raw WebAssembly: ParallelismCapability property

readonly selectedMode: string

Return the execution mode selected for later operations.

ParallelismCapability.unavailableReason#

Raw WebAssembly: ParallelismCapability property

readonly unavailableReason: string | undefined

Return the stable reason parallel execution is unavailable, if any.

ParallelismCapability.workerCount#

Raw WebAssembly: ParallelismCapability property

readonly workerCount: number

Return the configured worker count.

SymiError.category#

SymiError property

readonly category: DiagnosticCategory

Public property placement for category.

SymiError.code#

SymiError property

readonly code: DiagnosticCategory

Public property placement for code.

SymiError.expected#

SymiError property

readonly expected: string | null

Public property placement for expected.

SymiError.hint#

SymiError property

readonly hint: string | null

Public property placement for hint.

SymiError.operation#

SymiError property

readonly operation: string | null

Public property placement for operation.

SymiError.parameterPath#

SymiError property

readonly parameterPath: string | null

Public property placement for parameterPath.

SymiError.received#

SymiError property

readonly received: string | null

Public property placement for received.

addAssumptions#

Raw WebAssembly: Default context

addAssumptions(proposition: AssumptionProposition): void

Add a proposition to the default context's durable assumption store.

Calling forms

Explicit context: Context.addAssumptions

addAssumptions(proposition: AssumptionProposition): void

Raw WebAssembly: Explicit context: Context.addAssumptions

addAssumptions(proposition: AssumptionProposition): void

SymiFacade method: SymiFacade.addAssumptions

addAssumptions(proposition: AssumptionProposition): void

algebraicAssumption#

Raw WebAssembly: Default context

algebraicAssumption(subject: Expression): AssumptionProposition

Build an algebraicity assumption proposition in the default context.

Calling forms

Explicit context: Context.algebraicAssumption

algebraicAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.algebraicAssumption

algebraicAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.algebraicAssumption

algebraicAssumption(value: ExpressionLike): AssumptionProposition

ask#

Raw WebAssembly: Default context

ask(proposition: AssumptionProposition): boolean | undefined

Ask whether a proposition is entailed by the default context's assumptions.

Calling forms and variants

Explicit context: Context.ask

ask(proposition: AssumptionProposition): boolean | null

Raw WebAssembly: Explicit context: Context.ask

ask(proposition: AssumptionProposition): boolean | undefined

SymiFacade method: SymiFacade.ask

ask(proposition: AssumptionProposition): boolean | null

Variant using local assumptions — AssumptionScope method: AssumptionScope.ask

ask(proposition: AssumptionProposition): boolean | null

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.ask

ask(proposition: AssumptionProposition): boolean | undefined

assuming#

Raw WebAssembly: Default context

assuming(proposition: AssumptionProposition): AssumptionScope

Create an immutable local assumption scope in the default context.

Calling forms and variants

Explicit context: Context.assuming

assuming(proposition: AssumptionProposition): AssumptionScope

Raw WebAssembly: Explicit context: Context.assuming

assuming(proposition: AssumptionProposition): AssumptionScope

SymiFacade method: SymiFacade.assuming

assuming(proposition: AssumptionProposition): AssumptionScope

Variant using local assumptions — AssumptionScope method: AssumptionScope.assuming

assuming(proposition: AssumptionProposition): AssumptionScope

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.assuming

assuming(proposition: AssumptionProposition): AssumptionScope

assumptionPropositionFromLogicalExpression#

Raw WebAssembly: Default context

assumptionPropositionFromLogicalExpression(logical_expression: Expression): AssumptionProposition

Convert a supported logical expression to a typed assumption proposition in the default context.

Calling forms

Explicit context: Context.assumptionPropositionFromLogicalExpression

assumptionPropositionFromLogicalExpression(logicalExpression: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.assumptionPropositionFromLogicalExpression

assumptionPropositionFromLogicalExpression(logical_expression: Expression): AssumptionProposition

SymiFacade method: SymiFacade.assumptionPropositionFromLogicalExpression

assumptionPropositionFromLogicalExpression(logicalExpression: ExpressionLike): AssumptionProposition

assumptionsOf#

Raw WebAssembly: Default context

assumptionsOf(name: string): string

Return every assumption declared about one symbol, as a list of proposition texts such as "real(x)" or "prime(n)". The variable may be a name or same-context symbol. The list is what was declared, not what can be proved; use ask for a three-valued verdict.

Calling forms

Explicit context: Context.assumptionsOf

assumptionsOf(value: VariableLike): Record<string, string>

Raw WebAssembly: Explicit context: Context.assumptionsOf

assumptionsOf(name: string): string

SymiFacade method: SymiFacade.assumptionsOf

assumptionsOf(value: VariableLike): Record<string, string>

clearAllAssumptions#

Raw WebAssembly: Default context

clearAllAssumptions(): void

Clear all assumptions in the default context.

Calling forms

Explicit context: Context.clearAllAssumptions

clearAllAssumptions(): void

Raw WebAssembly: Explicit context: Context.clearAllAssumptions

clearAllAssumptions(): void

SymiFacade method: SymiFacade.clearAllAssumptions

clearAllAssumptions(): void

clearAssumptions#

Raw WebAssembly: Default context

clearAssumptions(name: string): void

Reset one symbol's assumptions to the default (complex domain, every property unknown).

Calling forms

Raw WebAssembly: Explicit context: Context.clearAssumptions

clearAssumptions(name: string): void

complexAssumption#

Raw WebAssembly: Default context

complexAssumption(subject: Expression): AssumptionProposition

Build a finite-complex assumption proposition in the default context.

Calling forms

Explicit context: Context.complexAssumption

complexAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.complexAssumption

complexAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.complexAssumption

complexAssumption(value: ExpressionLike): AssumptionProposition

compositeAssumption#

Raw WebAssembly: Default context

compositeAssumption(subject: Expression): AssumptionProposition

Build a compositeness assumption proposition in the default context.

Calling forms

Explicit context: Context.compositeAssumption

compositeAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.compositeAssumption

compositeAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.compositeAssumption

compositeAssumption(value: ExpressionLike): AssumptionProposition

congruentAssumption#

Raw WebAssembly: Default context

congruentAssumption(
    left: Expression,
    right: Expression,
    modulus: Expression,
): AssumptionProposition

Build an integer-congruence assumption proposition in the default context.

Calling forms

Explicit context: Context.congruentAssumption

congruentAssumption(left: ExpressionLike, right: ExpressionLike, modulus: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.congruentAssumption

congruentAssumption(
    left: Expression,
    right: Expression,
    modulus: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.congruentAssumption

congruentAssumption(left: ExpressionLike, right: ExpressionLike, modulus: ExpressionLike): AssumptionProposition

couldHold#

Raw WebAssembly: Default context

couldHold(proposition: AssumptionProposition): boolean | undefined

Ask whether a proposition is compatible with the default context's assumptions.

Calling forms and variants

Explicit context: Context.couldHold

couldHold(proposition: AssumptionProposition): boolean | null

Raw WebAssembly: Explicit context: Context.couldHold

couldHold(proposition: AssumptionProposition): boolean | undefined

SymiFacade method: SymiFacade.couldHold

couldHold(proposition: AssumptionProposition): boolean | null

Variant using local assumptions — AssumptionScope method: AssumptionScope.couldHold

couldHold(proposition: AssumptionProposition): boolean | null

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.couldHold

couldHold(proposition: AssumptionProposition): boolean | undefined

defaultContext#

Raw WebAssembly: Default context

defaultContext(): Context

Return a handle to the thread's default context — the same context every module-level function and direct structural-class constructor uses. Use it for undefined_function, or to pass to code written against the explicit-context API. Each call returns a new handle to the same underlying context.

Calling forms

SymiFacade property: SymiFacade.defaultContext

defaultContext: Context

definedAssumption#

Raw WebAssembly: Default context

definedAssumption(subject: Expression): AssumptionProposition

Build a pointwise definedness assumption proposition in the default context.

Calling forms

Explicit context: Context.definedAssumption

definedAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.definedAssumption

definedAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.definedAssumption

definedAssumption(value: ExpressionLike): AssumptionProposition

deserializeAssumptionProposition#

Raw WebAssembly: Default context

deserializeAssumptionProposition(text: string): AssumptionProposition

Parse a versioned canonical assumption proposition in the default context.

Calling forms

Explicit context: Context.deserializeAssumptionProposition

deserializeAssumptionProposition(text: string): AssumptionProposition

Raw WebAssembly: Explicit context: Context.deserializeAssumptionProposition

deserializeAssumptionProposition(text: string): AssumptionProposition

SymiFacade method: SymiFacade.deserializeAssumptionProposition

deserializeAssumptionProposition(text: string): AssumptionProposition

differentiateBulk#

Raw WebAssembly: Default context

differentiateBulk(
    targets: Expression[],
    variable: Expression,
): BulkExpressionOutcome[]

Differentiate an ordered collection in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.differentiateBulk

differentiateBulk(
    targets: Expression[],
    variable: Expression,
): BulkExpressionOutcome[]

equalAssumption#

Raw WebAssembly: Default context

equalAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

Build an equality assumption proposition in the default context.

Calling forms

Explicit context: Context.equalAssumption

equalAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.equalAssumption

equalAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.equalAssumption

equalAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

evaluateNumericBulk#

Raw WebAssembly: Default context

evaluateNumericBulk(
    targets: Expression[],
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): BulkNumericOutcome[]

Evaluate an ordered collection numerically in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateNumericBulk

evaluateNumericBulk(
    targets: Expression[],
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): BulkNumericOutcome[]

evenAssumption#

Raw WebAssembly: Default context

evenAssumption(subject: Expression): AssumptionProposition

Build an evenness assumption proposition in the default context.

Calling forms

Explicit context: Context.evenAssumption

evenAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.evenAssumption

evenAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.evenAssumption

evenAssumption(value: ExpressionLike): AssumptionProposition

executionMode#

Raw WebAssembly: Default context

executionMode(): string

Return the execution mode of the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.executionMode

executionMode(): string

expandBulk#

Raw WebAssembly: Default context

expandBulk(targets: Expression[]): BulkExpressionOutcome[]

Expand an ordered collection in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.expandBulk

expandBulk(targets: Expression[]): BulkExpressionOutcome[]

extendedRealAssumption#

Raw WebAssembly: Default context

extendedRealAssumption(subject: Expression): AssumptionProposition

Build an extended-real assumption proposition in the default context.

Calling forms

Explicit context: Context.extendedRealAssumption

extendedRealAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.extendedRealAssumption

extendedRealAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.extendedRealAssumption

extendedRealAssumption(value: ExpressionLike): AssumptionProposition

finiteAssumption#

Raw WebAssembly: Default context

finiteAssumption(subject: Expression): AssumptionProposition

Build a finiteness assumption proposition in the default context.

Calling forms

Explicit context: Context.finiteAssumption

finiteAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.finiteAssumption

finiteAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.finiteAssumption

finiteAssumption(value: ExpressionLike): AssumptionProposition

greaterAssumption#

Raw WebAssembly: Default context

greaterAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

Build a strict scalar-order assumption proposition with reversed operands in the default context.

Calling forms

Explicit context: Context.greaterAssumption

greaterAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.greaterAssumption

greaterAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.greaterAssumption

greaterAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

greaterOrEqualAssumption#

Raw WebAssembly: Default context

greaterOrEqualAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

Build a non-strict scalar-order assumption proposition with reversed operands in the default context.

Calling forms

Explicit context: Context.greaterOrEqualAssumption

greaterOrEqualAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.greaterOrEqualAssumption

greaterOrEqualAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.greaterOrEqualAssumption

greaterOrEqualAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

hostCancellationControlAddress#

Raw WebAssembly: Default context

hostCancellationControlAddress(): number

Return the address in linear memory of the control record an embedder writes to stop a call.

hostCancellationControlByteLength#

Raw WebAssembly: Default context

hostCancellationControlByteLength(): number

Return how many bytes of linear memory the host cancellation control record occupies.

hostCancellationRequested#

Raw WebAssembly: Default context

hostCancellationRequested(slot_index: number, ticket: number): boolean

Return whether a stop request stands against one control-record reservation.

hostCancellationSlotCount#

Raw WebAssembly: Default context

hostCancellationSlotCount(): number

Return how many reservations the host cancellation control record holds.

hostCancellationSlotTicket#

Raw WebAssembly: Default context

hostCancellationSlotTicket(slot_index: number): number

Return the ticket a reserved control-record slot answers to, or zero when it is not reserved.

infiniteAssumption#

Raw WebAssembly: Default context

infiniteAssumption(subject: Expression): AssumptionProposition

Build an infinity assumption proposition in the default context.

Calling forms

Explicit context: Context.infiniteAssumption

infiniteAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.infiniteAssumption

infiniteAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.infiniteAssumption

infiniteAssumption(value: ExpressionLike): AssumptionProposition

initThreadPoolWithCapability#

Raw WebAssembly: Default context

initThreadPoolWithCapability(worker_count: number): Promise

Start the shared WebAssembly Rayon pool and publish its capability after startup succeeds.

initializeParallelism#

Raw WebAssembly: Default context

initializeParallelism(worker_count: number): string

Initialize parallel execution for the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.initializeParallelism

initializeParallelism(worker_count: number): string

integerAssumption#

Raw WebAssembly: Default context

integerAssumption(subject: Expression): AssumptionProposition

Build an integer assumption proposition in the default context.

Calling forms

Explicit context: Context.integerAssumption

integerAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.integerAssumption

integerAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.integerAssumption

integerAssumption(value: ExpressionLike): AssumptionProposition

internerLength#

Raw WebAssembly: Default context

internerLength(): number

Number of live expressions currently interned in the context. Dead entries awaiting the amortized sweep are not counted. Useful for observing memory in long-running sessions and in tests that assert the store stays bounded.

Calling forms

Raw WebAssembly: Explicit context: Context.internerLength

internerLength(): number

irrationalAssumption#

Raw WebAssembly: Default context

irrationalAssumption(subject: Expression): AssumptionProposition

Build an irrationality assumption proposition in the default context.

Calling forms

Explicit context: Context.irrationalAssumption

irrationalAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.irrationalAssumption

irrationalAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.irrationalAssumption

irrationalAssumption(value: ExpressionLike): AssumptionProposition

lessAssumption#

Raw WebAssembly: Default context

lessAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

Build a strict scalar-order assumption proposition in the default context.

Calling forms

Explicit context: Context.lessAssumption

lessAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.lessAssumption

lessAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.lessAssumption

lessAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

lessOrEqualAssumption#

Raw WebAssembly: Default context

lessOrEqualAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

Build a non-strict scalar-order assumption proposition in the default context.

Calling forms

Explicit context: Context.lessOrEqualAssumption

lessOrEqualAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.lessOrEqualAssumption

lessOrEqualAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.lessOrEqualAssumption

lessOrEqualAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

memberAssumption#

Raw WebAssembly: Default context

memberAssumption(
    element: Expression,
    set_expression: Expression,
): AssumptionProposition

Build a scalar-membership assumption proposition in the default context.

Calling forms

Explicit context: Context.memberAssumption

memberAssumption(element: ExpressionLike, setExpression: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.memberAssumption

memberAssumption(
    element: Expression,
    set_expression: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.memberAssumption

memberAssumption(element: ExpressionLike, setExpression: ExpressionLike): AssumptionProposition

naturalAssumption#

Raw WebAssembly: Default context

naturalAssumption(subject: Expression): AssumptionProposition

Build a natural-number assumption proposition in the default context.

Calling forms

Explicit context: Context.naturalAssumption

naturalAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.naturalAssumption

naturalAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.naturalAssumption

naturalAssumption(value: ExpressionLike): AssumptionProposition

negativeAssumption#

Raw WebAssembly: Default context

negativeAssumption(subject: Expression): AssumptionProposition

Build a strict-negativity assumption proposition in the default context.

Calling forms

Explicit context: Context.negativeAssumption

negativeAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.negativeAssumption

negativeAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.negativeAssumption

negativeAssumption(value: ExpressionLike): AssumptionProposition

nonnegativeAssumption#

Raw WebAssembly: Default context

nonnegativeAssumption(subject: Expression): AssumptionProposition

Build a universe-guarded nonnegative assumption proposition in the default context.

Calling forms

Explicit context: Context.nonnegativeAssumption

nonnegativeAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.nonnegativeAssumption

nonnegativeAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.nonnegativeAssumption

nonnegativeAssumption(value: ExpressionLike): AssumptionProposition

nonpositiveAssumption#

Raw WebAssembly: Default context

nonpositiveAssumption(subject: Expression): AssumptionProposition

Build a universe-guarded nonpositive assumption proposition in the default context.

Calling forms

Explicit context: Context.nonpositiveAssumption

nonpositiveAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.nonpositiveAssumption

nonpositiveAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.nonpositiveAssumption

nonpositiveAssumption(value: ExpressionLike): AssumptionProposition

nonzeroAssumption#

Raw WebAssembly: Default context

nonzeroAssumption(subject: Expression): AssumptionProposition

Build a nonzero assumption proposition in the default context.

Calling forms

Explicit context: Context.nonzeroAssumption

nonzeroAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.nonzeroAssumption

nonzeroAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.nonzeroAssumption

nonzeroAssumption(value: ExpressionLike): AssumptionProposition

notEqualAssumption#

Raw WebAssembly: Default context

notEqualAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

Build a disequality assumption proposition in the default context.

Calling forms

Explicit context: Context.notEqualAssumption

notEqualAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.notEqualAssumption

notEqualAssumption(
    left: Expression,
    right: Expression,
): AssumptionProposition

SymiFacade method: SymiFacade.notEqualAssumption

notEqualAssumption(left: ExpressionLike, right: ExpressionLike): AssumptionProposition

oddAssumption#

Raw WebAssembly: Default context

oddAssumption(subject: Expression): AssumptionProposition

Build an oddness assumption proposition in the default context.

Calling forms

Explicit context: Context.oddAssumption

oddAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.oddAssumption

oddAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.oddAssumption

oddAssumption(value: ExpressionLike): AssumptionProposition

parallelismCapability#

Raw WebAssembly: Default context

parallelismCapability(): ParallelismCapability

Return the parallel execution capability of the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.parallelismCapability

parallelismCapability(): ParallelismCapability

positiveAssumption#

Raw WebAssembly: Default context

positiveAssumption(subject: Expression): AssumptionProposition

Build a strict-positivity assumption proposition in the default context.

Calling forms

Explicit context: Context.positiveAssumption

positiveAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.positiveAssumption

positiveAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.positiveAssumption

positiveAssumption(value: ExpressionLike): AssumptionProposition

positiveIntegerAssumption#

Raw WebAssembly: Default context

positiveIntegerAssumption(subject: Expression): AssumptionProposition

Build a positive-integer assumption proposition in the default context.

Calling forms

Explicit context: Context.positiveIntegerAssumption

positiveIntegerAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.positiveIntegerAssumption

positiveIntegerAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.positiveIntegerAssumption

positiveIntegerAssumption(value: ExpressionLike): AssumptionProposition

primeAssumption#

Raw WebAssembly: Default context

primeAssumption(subject: Expression): AssumptionProposition

Build a primality assumption proposition in the default context.

Calling forms

Explicit context: Context.primeAssumption

primeAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.primeAssumption

primeAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.primeAssumption

primeAssumption(value: ExpressionLike): AssumptionProposition

rationalAssumption#

Raw WebAssembly: Default context

rationalAssumption(subject: Expression): AssumptionProposition

Build a rationality assumption proposition in the default context.

Calling forms

Explicit context: Context.rationalAssumption

rationalAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.rationalAssumption

rationalAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.rationalAssumption

rationalAssumption(value: ExpressionLike): AssumptionProposition

realAssumption#

Raw WebAssembly: Default context

realAssumption(subject: Expression): AssumptionProposition

Build a realness assumption proposition in the default context.

Calling forms

Explicit context: Context.realAssumption

realAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.realAssumption

realAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.realAssumption

realAssumption(value: ExpressionLike): AssumptionProposition

refine#

Raw WebAssembly: Default context

refine(
    input_expression: Expression,
    assumptions?: AssumptionProposition | null,
): Expression

Refine an expression using durable assumptions or one checked local proposition.

Calling forms and variants

Explicit context: Context.refine

refine(value: ExpressionLike, assumptions?: AssumptionProposition | null): Expression

Raw WebAssembly: Explicit context: Context.refine

refine(
    input_expression: Expression,
    assumptions?: AssumptionProposition | null,
): Expression

SymiFacade method: SymiFacade.refine

refine(value: ExpressionLike, assumptions?: AssumptionProposition | null): Expression

Expression method: Expression.refine

refine(assumptions?: AssumptionProposition | null): Expression

Raw WebAssembly: Expression method: Expression.refine

refine(assumptions?: AssumptionProposition | null): Expression

Variant using local assumptions — AssumptionScope method: AssumptionScope.refine

refine(value: ExpressionLike): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.refine

refine(input_expression: Expression): Expression

releaseHostCancellationSlot#

Raw WebAssembly: Default context

releaseHostCancellationSlot(slot_index: number, ticket: number): void

Release one control-record reservation and clear any stop request standing against it.

reserveHostCancellationSlot#

Raw WebAssembly: Default context

reserveHostCancellationSlot(): number

Reserve one control-record slot for the calls this thread starts next, or -1 when none is free.

serializeBulk#

Raw WebAssembly: Default context

serializeBulk(targets: Expression[]): BulkTextOutcome[]

Serialize an ordered collection in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.serializeBulk

serializeBulk(targets: Expression[]): BulkTextOutcome[]

setExecutionMode#

Raw WebAssembly: Default context

setExecutionMode(name: string): void

Select the execution mode of the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.setExecutionMode

setExecutionMode(name: string): void

simplifyBulk#

Raw WebAssembly: Default context

simplifyBulk(targets: Expression[]): BulkExpressionOutcome[]

Simplify an ordered collection in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.simplifyBulk

simplifyBulk(targets: Expression[]): BulkExpressionOutcome[]

substituteBulk#

Raw WebAssembly: Default context

substituteBulk(
    targets: Expression[],
    variable: Expression,
    value: Expression,
): BulkExpressionOutcome[]

Substitute throughout an ordered collection in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.substituteBulk

substituteBulk(
    targets: Expression[],
    variable: Expression,
    value: Expression,
): BulkExpressionOutcome[]

transcendentalAssumption#

Raw WebAssembly: Default context

transcendentalAssumption(subject: Expression): AssumptionProposition

Build a transcendence assumption proposition in the default context.

Calling forms

Explicit context: Context.transcendentalAssumption

transcendentalAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.transcendentalAssumption

transcendentalAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.transcendentalAssumption

transcendentalAssumption(value: ExpressionLike): AssumptionProposition

zeroAssumption#

Raw WebAssembly: Default context

zeroAssumption(subject: Expression): AssumptionProposition

Build a zero assumption proposition in the default context.

Calling forms

Explicit context: Context.zeroAssumption

zeroAssumption(value: ExpressionLike): AssumptionProposition

Raw WebAssembly: Explicit context: Context.zeroAssumption

zeroAssumption(subject: Expression): AssumptionProposition

SymiFacade method: SymiFacade.zeroAssumption

zeroAssumption(value: ExpressionLike): AssumptionProposition

zeroEquivalent#

Raw WebAssembly: Default context

zeroEquivalent(
    input_expression: Expression,
    constraint?: Expression | null,
): string

Prove whether an expression is zero wherever it is defined, returning "true", "false", or "unknown".

Calling forms

Explicit context: Context.zeroEquivalent

zeroEquivalent(value: ExpressionLike, constraint?: ExpressionLike | null): "true" | "false" | "unknown"

Raw WebAssembly: Explicit context: Context.zeroEquivalent

zeroEquivalent(
    input_expression: Expression,
    constraint?: Expression | null,
): string

SymiFacade method: SymiFacade.zeroEquivalent

zeroEquivalent(value: ExpressionLike, constraint?: ExpressionLike | null): "true" | "false" | "unknown"

Expression method: Expression.zeroEquivalent

zeroEquivalent(constraint?: ExpressionLike | null): "true" | "false" | "unknown"

Raw WebAssembly: Expression method: Expression.zeroEquivalent

zeroEquivalent(constraint?: Expression | null): string

IntegerSolutionTuple.coordinates#

Raw WebAssembly: IntegerSolutionTuple property

readonly coordinates: Expression[]

The coordinates, in the order of the requested unknowns.

IntegerSolveReport.complete#

Raw WebAssembly: IntegerSolveReport property

readonly complete: boolean

Whether the report states the whole integer solution set; false only when declined.

IntegerSolveReport.declineReason#

Raw WebAssembly: IntegerSolveReport property

readonly declineReason: string | undefined

The reason, present exactly when the verdict is declined.

IntegerSolveReport.latticeBasis#

Raw WebAssembly: IntegerSolveReport property

readonly latticeBasis: IntegerSolutionTuple[]

A Hermite-reduced basis of the direction lattice of a lattice_family report.

IntegerSolveReport.latticeParticular#

Raw WebAssembly: IntegerSolveReport property

readonly latticeParticular: IntegerSolutionTuple | undefined

One point of the solution lattice of a lattice_family report.

IntegerSolveReport.modulus#

Raw WebAssembly: IntegerSolveReport property

readonly modulus: Expression | undefined

The positive modulus of the residue class of a congruence_family report.

IntegerSolveReport.parameters#

Raw WebAssembly: IntegerSolveReport property

readonly parameters: Expression[]

The parameters of the solution tuples, each ranging over every integer.

IntegerSolveReport.pellEquation#

Raw WebAssembly: IntegerSolveReport property

readonly pellEquation: Expression | undefined

The normalized equation x^2 - D*y^2 = N of a pell_orbits report, in the unknowns.

IntegerSolveReport.pellSeeds#

Raw WebAssembly: IntegerSolveReport property

readonly pellSeeds: IntegerSolutionTuple[]

One seed per orbit, the representative in the fundamental interval of the unit, in the order of the requested unknowns.

IntegerSolveReport.pellUnit#

Raw WebAssembly: IntegerSolveReport property

readonly pellUnit: IntegerSolutionTuple | undefined

The fundamental solution (u, v) of u^2 - D*v^2 = 1 generating every orbit.

IntegerSolveReport.proofMethods#

Raw WebAssembly: IntegerSolveReport property

readonly proofMethods: string[]

The kinds of exact evidence the result rests on.

IntegerSolveReport.residue#

Raw WebAssembly: IntegerSolveReport property

readonly residue: Expression | undefined

The least nonnegative member of the residue class of a congruence_family report.

IntegerSolveReport.solutions#

Raw WebAssembly: IntegerSolveReport property

readonly solutions: IntegerSolutionTuple[]

The solution tuples, exact in the integer parameters.

IntegerSolveReport.undefinedPoints#

Raw WebAssembly: IntegerSolveReport property

readonly undefinedPoints: IntegerSolutionTuple[]

The integer points at which some source equation is undefined; no solution is one.

IntegerSolveReport.unknowns#

Raw WebAssembly: IntegerSolveReport property

readonly unknowns: Expression[]

The requested unknowns, in the order every tuple uses.

IntegerSolveReport.verdict#

Raw WebAssembly: IntegerSolveReport property

readonly verdict: string

What the solve established: finite, empty, lattice_family, congruence_family, pell_orbits, or declined.

PrimeFactor.multiplicity#

Raw WebAssembly: PrimeFactor property

readonly multiplicity: number

The exponent the prime carries in the factorization.

Calling forms and variants

Variant for this object — Raw WebAssembly: RootMultiplicity property: RootMultiplicity.multiplicity

readonly multiplicity: number

PrimeFactor.prime#

Raw WebAssembly: PrimeFactor property

readonly prime: Expression

The prime.

QuadraticContinuedFractionExpansion.initialTerms#

Raw WebAssembly: QuadraticContinuedFractionExpansion property

readonly initialTerms: Expression[]

The terms preceding the periodic part of the expansion.

QuadraticContinuedFractionExpansion.periodicTerms#

Raw WebAssembly: QuadraticContinuedFractionExpansion property

readonly periodicTerms: Expression[]

The repeating terms of the expansion.

RootMultiplicity.root#

Raw WebAssembly: RootMultiplicity property

readonly root: Expression

Principal n-th root, stored as x^(1/n).

SetEnumeration.elements#

Raw WebAssembly: SetEnumeration property

readonly elements: Expression[]

The exact elements produced, in increasing order.

SetEnumeration.outcome#

Raw WebAssembly: SetEnumeration property

readonly outcome: string

"complete", "truncated", or "declined".

bellNumber#

Raw WebAssembly: Default context

bellNumber(n: Expression): Expression

The n-th Bell number.

Calling forms

Raw WebAssembly: Explicit context: Context.bellNumber

bellNumber(n: Expression): Expression

catalanNumber#

Raw WebAssembly: Default context

catalanNumber(n: Expression): Expression

The n-th Catalan number.

Calling forms

Raw WebAssembly: Explicit context: Context.catalanNumber

catalanNumber(n: Expression): Expression

chineseRemainder#

Raw WebAssembly: Default context

chineseRemainder(residues_and_moduli: Expression[]): Expression

The smallest non-negative solution of the simultaneous congruences x≡ri(modmi)x \equiv r_i \pmod{m_i}.

Calling forms

Raw WebAssembly: Explicit context: Context.chineseRemainder

chineseRemainder(residues_and_moduli: Expression[]): Expression

complexPlane#

Raw WebAssembly: Default context

complexPlane(): Expression

The set C\mathbb{C} — the ambient universe, and the domain a variable ranges over when it carries no realness assumption.

Calling forms

Explicit context: Context.complexPlane

readonly complexPlane: Expression

Raw WebAssembly: Explicit context: Context.complexPlane

complexPlane(): Expression

SymiFacade property: SymiFacade.complexPlane

readonly complexPlane: Expression

conditionSet#

Raw WebAssembly: Default context

conditionSet(
    variable: string,
    condition: Expression,
    domain: Expression,
): Expression

The set {variable⁡∈domain⁡:condition⁡}\{\operatorname{variable} \in \operatorname{domain} : \operatorname{condition}\}.

Calling forms

Raw WebAssembly: Explicit context: Context.conditionSet

conditionSet(
    variable: string,
    condition: Expression,
    domain: Expression,
): Expression

conjunctiveNormalForm#

Raw WebAssembly: Default context

conjunctiveNormalForm(input_expression: Expression): Expression

The dual of disjunctive_normal_form: a reduced conjunctive normal form (an AND of OR-clauses over literals).

Calling forms

Raw WebAssembly: Explicit context: Context.conjunctiveNormalForm

conjunctiveNormalForm(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.conjunctiveNormalForm

conjunctiveNormalForm(): Expression

continuedFractionQuadraticIrrational#

Raw WebAssembly: Default context

continuedFractionQuadraticIrrational(value: Expression): QuadraticContinuedFractionExpansion

Eventually-periodic expansion of d\sqrt{d} for a non-negative integer d, returned as (initial_terms, periodic_part).

Calling forms

Raw WebAssembly: Explicit context: Context.continuedFractionQuadraticIrrational

continuedFractionQuadraticIrrational(value: Expression): QuadraticContinuedFractionExpansion

continuedFractionRational#

Raw WebAssembly: Default context

continuedFractionRational(value: Expression): Expression[]

Terminating continued-fraction expansion [a0; a1, a2, ...] of an integer or rational expression leaf.

Calling forms

Raw WebAssembly: Explicit context: Context.continuedFractionRational

continuedFractionRational(value: Expression): Expression[]

disjunctiveNormalForm#

Raw WebAssembly: Default context

disjunctiveNormalForm(input_expression: Expression): Expression

Rewrite a propositional formula into a reduced disjunctive normal form (an OR of AND-terms over literals): derived connectives are eliminated, negations are pushed to the atoms, the formula is distributed, and contradictory, duplicate, and subsumed terms are dropped.

Calling forms

Raw WebAssembly: Explicit context: Context.disjunctiveNormalForm

disjunctiveNormalForm(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.disjunctiveNormalForm

disjunctiveNormalForm(): Expression

divisorCount#

Raw WebAssembly: Default context

divisorCount(n: Expression): Expression

Number of positive divisors τ(n)\tau(n).

Calling forms

Raw WebAssembly: Explicit context: Context.divisorCount

divisorCount(n: Expression): Expression

divisorSigma#

Raw WebAssembly: Default context

divisorSigma(n: Expression, power: number): Expression

Sum of the power-th powers of the positive divisors σpower(n)\sigma_{\mathit{power}}(n); power = 0 gives divisor_count, power = 1 the divisor sum.

Calling forms

Raw WebAssembly: Explicit context: Context.divisorSigma

divisorSigma(n: Expression, power: number): Expression

eliminateDerivedLogicalConnectives#

Raw WebAssembly: Default context

eliminateDerivedLogicalConnectives(input_expression: Expression): Expression

Rewrite every implies, equivalent, and exclusive_or occurrence into the logical_and / logical_or / logical_not basis. This is a directed presentation request, not a cost decision, so the result may be larger than the input; a formula already in the basis, and a conversion that would cross the fixed size ceiling, both return the input unchanged.

Calling forms

Explicit context: Context.eliminateDerivedLogicalConnectives

eliminateDerivedLogicalConnectives(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.eliminateDerivedLogicalConnectives

eliminateDerivedLogicalConnectives(input_expression: Expression): Expression

SymiFacade method: SymiFacade.eliminateDerivedLogicalConnectives

eliminateDerivedLogicalConnectives(value: ExpressionLike): Expression

Expression method: Expression.eliminateDerivedLogicalConnectives

eliminateDerivedLogicalConnectives(): Expression

Raw WebAssembly: Expression method: Expression.eliminateDerivedLogicalConnectives

eliminateDerivedLogicalConnectives(): Expression

emptySet#

Raw WebAssembly: Default context

emptySet(): Expression

The empty set ∅\varnothing.

Calling forms

Explicit context: Context.emptySet

readonly emptySet: Expression

Raw WebAssembly: Explicit context: Context.emptySet

emptySet(): Expression

SymiFacade property: SymiFacade.emptySet

readonly emptySet: Expression

enumerateSetInInterval#

Raw WebAssembly: Default context

enumerateSetInInterval(
    set: Expression,
    lower: Expression,
    upper: Expression,
    lower_inclusive?: boolean | null,
    upper_inclusive?: boolean | null,
    limit?: number | null,
): SetEnumeration

Exact elements of a set inside [lower⁡,upper⁡][\operatorname{lower}, \operatorname{upper}], in increasing order, as a set_enumeration. Its outcome is "complete" when those are exactly the elements in the interval, "truncated" when limit cut the list short (the family is still solved), and "declined" when the set's shape is not enumerable — never a licence to approximate.

Calling forms

Raw WebAssembly: Explicit context: Context.enumerateSetInInterval

enumerateSetInInterval(
    set: Expression,
    lower: Expression,
    upper: Expression,
    lower_inclusive?: boolean | null,
    upper_inclusive?: boolean | null,
    limit?: number | null,
): SetEnumeration

eulerTotient#

Raw WebAssembly: Default context

eulerTotient(n: Expression): Expression

Euler's φ(n)\varphi(n); requires a positive integer.

Calling forms

Raw WebAssembly: Explicit context: Context.eulerTotient

eulerTotient(n: Expression): Expression

evaluateTruth#

Raw WebAssembly: Default context

evaluateTruth(input_expression: Expression): boolean | undefined

evaluate_truth(predicate) uses exact three-valued logic. Python returns True, False, or None; JavaScript returns true, false, or null; Rust returns truth_value. The third value means undecided, never false: a host-language if reads it as falsy, so compare against True / False explicitly. Order, equality and sign relations between closed-form real constants — rationals, pi, radicals and real algebraic numbers — are decided exactly by rational arithmetic; transcendental, symbolic and provably non-real operands decline rather than guess.

Calling forms

Explicit context: Context.evaluateTruth

evaluateTruth(predicate: ExpressionLike): boolean | null

Raw WebAssembly: Explicit context: Context.evaluateTruth

evaluateTruth(input_expression: Expression): boolean | undefined

SymiFacade method: SymiFacade.evaluateTruth

evaluateTruth(predicate: ExpressionLike): boolean | null

Expression method: Expression.evaluateTruth

evaluateTruth(): boolean | null

Raw WebAssembly: Expression method: Expression.evaluateTruth

evaluateTruth(): boolean | undefined

extendedEuclidean#

Raw WebAssembly: Default context

extendedEuclidean(a: Expression, b: Expression): Expression[]

(gcd, x, y) with ax+by=gcd⁡a x + b y = \operatorname{gcd}.

Calling forms

Raw WebAssembly: Explicit context: Context.extendedEuclidean

extendedEuclidean(a: Expression, b: Expression): Expression[]

factorInteger#

Raw WebAssembly: Default context

factorInteger(n: Expression): PrimeFactor[]

Prime factorization as (prime, multiplicity) pairs, ascending. Errors on zero. Notes: WASM returns prime_factor objects with prime/multiplicity getters; the sign −1-1 of a negative input is carried as a leading (-1, 1) factor exactly as the core reports it.

Calling forms

Raw WebAssembly: Explicit context: Context.factorInteger

factorInteger(n: Expression): PrimeFactor[]

fallingFactorial#

Raw WebAssembly: Default context

fallingFactorial(base: Expression, length: Expression): Expression

base⁡(base⁡−1)⋯(base⁡−length⁡+1)\operatorname{base}(\operatorname{base}-1)\cdots(\operatorname{base}-\operatorname{length}+1); length must be a non-negative integer, base may be any integer.

Calling forms

Raw WebAssembly: Explicit context: Context.fallingFactorial

fallingFactorial(base: Expression, length: Expression): Expression

fibonacciNumber#

Raw WebAssembly: Default context

fibonacciNumber(n: Expression): Expression

The n-th Fibonacci number (F(0) = 0, F(1) = 1).

Calling forms

Raw WebAssembly: Explicit context: Context.fibonacciNumber

fibonacciNumber(n: Expression): Expression

finiteSet#

Raw WebAssembly: Default context

finiteSet(elements: Expression[]): Expression

Finite set; elements are deduplicated and canonically ordered. An empty list gives the empty set.

Calling forms

Explicit context: Context.finiteSet

finiteSet(values: Iterable<ExpressionLike>): Expression

Raw WebAssembly: Explicit context: Context.finiteSet

finiteSet(elements: Expression[]): Expression

SymiFacade method: SymiFacade.finiteSet

finiteSet(values: Iterable<ExpressionLike>): Expression

imageSet#

Raw WebAssembly: Default context

imageSet(
    lambda_expression: Expression,
    variable: string,
    domain: Expression,
): Expression

The set {lambda_expression⁡:variable⁡∈domain⁡}\{\operatorname{lambda\_expression} : \operatorname{variable} \in \operatorname{domain}\}; variable is a binder over lambda_expression.

Calling forms

Raw WebAssembly: Explicit context: Context.imageSet

imageSet(
    lambda_expression: Expression,
    variable: string,
    domain: Expression,
): Expression

integerGcd#

Raw WebAssembly: Default context

integerGcd(a: Expression, b: Expression): Expression

Greatest common divisor (non-negative).

Calling forms

Raw WebAssembly: Explicit context: Context.integerGcd

integerGcd(a: Expression, b: Expression): Expression

integerLcm#

Raw WebAssembly: Default context

integerLcm(a: Expression, b: Expression): Expression

Least common multiple.

Calling forms

Raw WebAssembly: Explicit context: Context.integerLcm

integerLcm(a: Expression, b: Expression): Expression

integerNthRoot#

Raw WebAssembly: Default context

integerNthRoot(n: Expression, root_index: bigint): Expression

⌊n1/root_index⌋\lfloor n^{1/\mathit{root\_index}}\rfloor; odd indices accept negative n. Errors when no real root exists (even index, negative n).

Calling forms

Raw WebAssembly: Explicit context: Context.integerNthRoot

integerNthRoot(n: Expression, root_index: bigint): Expression

integerSet#

Raw WebAssembly: Default context

integerSet(): Expression

The set Z\mathbb{Z}.

Calling forms

Explicit context: Context.integerSet

readonly integerSet: Expression

Raw WebAssembly: Explicit context: Context.integerSet

integerSet(): Expression

SymiFacade property: SymiFacade.integerSet

readonly integerSet: Expression

integerSquareRoot#

Raw WebAssembly: Default context

integerSquareRoot(n: Expression): Expression

⌊n⌋\lfloor\sqrt{n}\rfloor for non-negative n.

Calling forms

Raw WebAssembly: Explicit context: Context.integerSquareRoot

integerSquareRoot(n: Expression): Expression

interval#

Raw WebAssembly: Default context

interval(
    lower: Expression,
    upper: Expression,
    lower_open?: boolean | null,
    upper_open?: boolean | null,
): Expression

Real-line interval. Closed by default; endpoints at infinity are forced open. Degenerate shapes collapse (empty interval →\to empty set, single point →\to finite set, (−∞,∞)→(-\infty, \infty)\to real line).

Calling forms

Raw WebAssembly: Explicit context: Context.interval

interval(
    lower: Expression,
    upper: Expression,
    lower_open?: boolean | null,
    upper_open?: boolean | null,
): Expression

introduceDerivedLogicalConnectives#

Raw WebAssembly: Default context

introduceDerivedLogicalConnectives(input_expression: Expression): Expression

Recognise the exact canonical definitions of implication, equivalence, and exclusive-or inside an and/or/not formula and replace each match with the derived connective, but only where the replacement is strictly smaller. It is a local structural compressor: a formula merely equivalent to a definition, without matching it, is left unchanged.

Calling forms

Explicit context: Context.introduceDerivedLogicalConnectives

introduceDerivedLogicalConnectives(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.introduceDerivedLogicalConnectives

introduceDerivedLogicalConnectives(input_expression: Expression): Expression

SymiFacade method: SymiFacade.introduceDerivedLogicalConnectives

introduceDerivedLogicalConnectives(value: ExpressionLike): Expression

Expression method: Expression.introduceDerivedLogicalConnectives

introduceDerivedLogicalConnectives(): Expression

Raw WebAssembly: Expression method: Expression.introduceDerivedLogicalConnectives

introduceDerivedLogicalConnectives(): Expression

isMember#

Raw WebAssembly: Default context

isMember(element: Expression, set: Expression): boolean | undefined

Three-valued membership: True only on structural proof, False only on a structural counterexample, None otherwise. Covers ∅\varnothing, R\mathbb{R}, finite sets, intervals, unions, intersections, complements.

Calling forms

Raw WebAssembly: Explicit context: Context.isMember

isMember(element: Expression, set: Expression): boolean | undefined

isPrime#

Raw WebAssembly: Default context

isPrime(n: Expression): boolean | undefined

Deterministic primality verdict; None when the input is outside the classifier's domain (e.g. not a natural number ≥0\geq 0 representation it handles).

Calling forms

Raw WebAssembly: Explicit context: Context.isPrime

isPrime(n: Expression): boolean | undefined

Expression method: Expression.isPrime

isPrime(): boolean | null

Raw WebAssembly: Expression method: Expression.isPrime

isPrime(): boolean | undefined

isSubset#

Raw WebAssembly: Default context

isSubset(set_a: Expression, set_b: Expression): boolean | undefined

Three-valued subset query: ∅⊆\varnothing \subseteq anything, structural equality, finite-set element checks, interval-in-interval endpoint tests; None otherwise.

Calling forms

Raw WebAssembly: Explicit context: Context.isSubset

isSubset(set_a: Expression, set_b: Expression): boolean | undefined

jacobiSymbol#

Raw WebAssembly: Default context

jacobiSymbol(numerator: Expression, denominator: Expression): number

The Jacobi symbol (n/d)∈{−1,0,1}(n/d) \in \{-1, 0, 1\}; the denominator must be a positive odd integer.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiSymbol

jacobiSymbol(numerator: Expression, denominator: Expression): number

kroneckerSymbol#

Raw WebAssembly: Default context

kroneckerSymbol(numerator: Expression, denominator: Expression): number

The Kronecker extension of the Jacobi symbol to all integer denominators.

Calling forms

Raw WebAssembly: Explicit context: Context.kroneckerSymbol

kroneckerSymbol(numerator: Expression, denominator: Expression): number

legendreSymbol#

Raw WebAssembly: Default context

legendreSymbol(numerator: Expression, prime: Expression): number

The Legendre symbol; the second argument must be an odd prime.

Calling forms

Raw WebAssembly: Explicit context: Context.legendreSymbol

legendreSymbol(numerator: Expression, prime: Expression): number

length#

Raw WebAssembly: Expression method

readonly length: number

Number of elements of a finite-set expression.

logicalFalse#

Raw WebAssembly: Default context

logicalFalse(): Expression

The Boolean constant false (⊥\bot).

Calling forms

Explicit context: Context.logicalFalse

readonly logicalFalse: Expression

Raw WebAssembly: Explicit context: Context.logicalFalse

logicalFalse(): Expression

SymiFacade property: SymiFacade.logicalFalse

readonly logicalFalse: Expression

logicalTrue#

Raw WebAssembly: Default context

logicalTrue(): Expression

The Boolean constant true (⊤\top).

Calling forms

Explicit context: Context.logicalTrue

readonly logicalTrue: Expression

Raw WebAssembly: Explicit context: Context.logicalTrue

logicalTrue(): Expression

SymiFacade property: SymiFacade.logicalTrue

readonly logicalTrue: Expression

minimizeLogical#

Raw WebAssembly: Default context

minimizeLogical(input_expression: Expression): Expression

The smaller of the minimum sum-of-products and product-of-sums two-level forms. Within a practical atom bound this is the exact Quine–McCluskey minimum (prime implicants, essential extraction, and Petrick's method on the residual chart); above it, an Espresso-style heuristic returns a good — not provably minimal — cover.

Calling forms

Raw WebAssembly: Explicit context: Context.minimizeLogical

minimizeLogical(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.minimizeLogical

minimizeLogical(): Expression

mobius#

Raw WebAssembly: Default context

mobius(n: Expression): Expression

Möbius μ(n)∈{−1,0,1}\mu(n) \in \{-1, 0, 1\}; requires a positive integer.

Calling forms

Raw WebAssembly: Explicit context: Context.mobius

mobius(n: Expression): Expression

modularInverse#

Raw WebAssembly: Default context

modularInverse(value: Expression, modulus: Expression): Expression

Multiplicative inverse of value modulo modulus; errors when gcd⁡(value⁡,modulus⁡)≠1\operatorname{gcd}(\operatorname{value}, \operatorname{modulus}) \ne 1.

Calling forms

Raw WebAssembly: Explicit context: Context.modularInverse

modularInverse(value: Expression, modulus: Expression): Expression

modularPower#

Raw WebAssembly: Default context

modularPower(
    base: Expression,
    exponent: Expression,
    modulus: Expression,
): Expression

base^exponent mod modulus by square-and-multiply; requires positive modulus and non-negative exponent.

Calling forms

Raw WebAssembly: Explicit context: Context.modularPower

modularPower(
    base: Expression,
    exponent: Expression,
    modulus: Expression,
): Expression

multinomial#

Raw WebAssembly: Default context

multinomial(parts: Expression[]): Expression

Multinomial coefficient (∑parts⁡)!/∏(part⁡i!)(\sum \operatorname{parts})! / \prod (\operatorname{part}_i!); parts must be non-negative integers.

Calling forms

Raw WebAssembly: Explicit context: Context.multinomial

multinomial(parts: Expression[]): Expression

partitionCount#

Raw WebAssembly: Default context

partitionCount(n: Expression): Expression

Number of integer partitions p(n).

Calling forms

Raw WebAssembly: Explicit context: Context.partitionCount

partitionCount(n: Expression): Expression

pellSolutions#

Raw WebAssembly: Default context

pellSolutions(radicand: Expression, count: number): Expression[]

The first count positive solutions of x2−Dy2=1x^2 - D y^2 = 1, materialised from the fundamental solution by the Pell recurrence and returned as a flat list [x1,y1,x2,y2,…][x_1, y_1, x_2, y_2, \ldots].

Calling forms

Raw WebAssembly: Explicit context: Context.pellSolutions

pellSolutions(radicand: Expression, count: number): Expression[]

realLine#

Raw WebAssembly: Default context

realLine(): Expression

The set R\mathbb{R}.

Calling forms

Explicit context: Context.realLine

readonly realLine: Expression

Raw WebAssembly: Explicit context: Context.realLine

realLine(): Expression

SymiFacade property: SymiFacade.realLine

readonly realLine: Expression

risingFactorial#

Raw WebAssembly: Default context

risingFactorial(base: Expression, length: Expression): Expression

base⁡(base⁡+1)⋯(base⁡+length⁡−1)\operatorname{base}(\operatorname{base}+1)\cdots(\operatorname{base}+\operatorname{length}-1) (the Pochhammer symbol on integers).

Calling forms

Raw WebAssembly: Explicit context: Context.risingFactorial

risingFactorial(base: Expression, length: Expression): Expression

setComplement#

Raw WebAssembly: Default context

setComplement(set_a: Expression, set_b: Expression): Expression

The relative complement a∖ba \setminus b.

Calling forms

Raw WebAssembly: Explicit context: Context.setComplement

setComplement(set_a: Expression, set_b: Expression): Expression

setIntersection#

Raw WebAssembly: Default context

setIntersection(set_a: Expression, set_b: Expression): Expression

Intersection, computed eagerly where the structural rules allow (interval pairs, finite-set membership filtering; R\mathbb{R} drops, ∅\varnothing absorbs); otherwise the structural set_intersection node.

Calling forms

Raw WebAssembly: Explicit context: Context.setIntersection

setIntersection(set_a: Expression, set_b: Expression): Expression

setUnion#

Raw WebAssembly: Default context

setUnion(set_a: Expression, set_b: Expression): Expression

Union, computed eagerly where the structural rules allow (overlapping or touching interval pairs merge; nested unions splice, ∅\varnothing drops, R\mathbb{R} absorbs); otherwise the structural set_union node.

Calling forms

Raw WebAssembly: Explicit context: Context.setUnion

setUnion(set_a: Expression, set_b: Expression): Expression

simplifyLogical#

Raw WebAssembly: Default context

simplifyLogical(input_expression: Expression): Expression

Return whichever of the original form, the disjunctive and conjunctive normal forms, and the two minimal two-level forms has the smallest weighted size.

Calling forms

Explicit context: Context.simplifyLogical

simplifyLogical(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.simplifyLogical

simplifyLogical(input_expression: Expression): Expression

SymiFacade method: SymiFacade.simplifyLogical

simplifyLogical(value: ExpressionLike): Expression

Expression method: Expression.simplifyLogical

simplifyLogical(): Expression

Raw WebAssembly: Expression method: Expression.simplifyLogical

simplifyLogical(): Expression

solveIntegers#

Raw WebAssembly: Default context

solveIntegers(
    equations: Expression[],
    unknowns: string[],
    congruences: Expression[],
    moduli: Expression[],
    maximum_seed_candidates: number,
    maximum_integer_bits: number,
): IntegerSolveReport

Solve equations and linear congruences over the integers, returning the complete exact solution set as tuples in integer parameters, or a typed decline.

Calling forms

Raw WebAssembly: Explicit context: Context.solveIntegers

solveIntegers(
    equations: Expression[],
    unknowns: string[],
    congruences: Expression[],
    moduli: Expression[],
    maximum_seed_candidates: number,
    maximum_integer_bits: number,
): IntegerSolveReport

solveLinearDiophantine#

Raw WebAssembly: Default context

solveLinearDiophantine(
    coefficients: Expression[],
    constant: Expression,
): Expression[]

General integer solution of a1x1+…+anxn=ca_1 x_1 + \ldots + a_n x_n = c, returned as the parametric coordinates — one expression per unknown, affine in fresh integer parameter symbols (diophantine_parameter_k) shared across the coordinates so that choosing any integers for the parameters yields a solution tuple. The list is empty when the equation has no integer solution (gcd⁡(ai)∤c\gcd(a_i) \nmid c).

Calling forms

Raw WebAssembly: Explicit context: Context.solveLinearDiophantine

solveLinearDiophantine(
    coefficients: Expression[],
    constant: Expression,
): Expression[]

solveLinearDiophantineSystem#

Raw WebAssembly: Default context

solveLinearDiophantineSystem(
    coefficient_matrix: Matrix,
    constants: Expression[],
): Expression[]

General integer solution of the rectangular system Ax=bA x = b, returned as one parametric coordinate expression per column of A.

Calling forms

Raw WebAssembly: Explicit context: Context.solveLinearDiophantineSystem

solveLinearDiophantineSystem(
    coefficient_matrix: Matrix,
    constants: Expression[],
): Expression[]

solveNegativePell#

Raw WebAssembly: Default context

solveNegativePell(radicand: Expression): Expression[]

Fundamental solution [x, y] of the negative-Pell equation x2−Dy2=−1x^2 - D y^2 = -1 when it is solvable (exactly when the continued fraction of D\sqrt{D} has odd period), and an empty list otherwise.

Calling forms

Raw WebAssembly: Explicit context: Context.solveNegativePell

solveNegativePell(radicand: Expression): Expression[]

solvePell#

Raw WebAssembly: Default context

solvePell(radicand: Expression): Expression[]

Fundamental solution [x, y] of x2−Dy2=1x^2 - D y^2 = 1 for a positive non-square integer D, the smallest positive solution from which all others are generated by the recurrence xk+1=x1xk+Dy1ykx_{k+1} = x_1 x_k + D y_1 y_k, yk+1=x1yk+y1xky_{k+1} = x_1 y_k + y_1 x_k.

Calling forms

Raw WebAssembly: Explicit context: Context.solvePell

solvePell(radicand: Expression): Expression[]

stirlingFirstSigned#

Raw WebAssembly: Default context

stirlingFirstSigned(n: Expression, k: Expression): Expression

Signed Stirling number of the first kind s(n, k).

Calling forms

Raw WebAssembly: Explicit context: Context.stirlingFirstSigned

stirlingFirstSigned(n: Expression, k: Expression): Expression

stirlingSecond#

Raw WebAssembly: Default context

stirlingSecond(n: Expression, k: Expression): Expression

Stirling number of the second kind S(n, k).

Calling forms

Raw WebAssembly: Explicit context: Context.stirlingSecond

stirlingSecond(n: Expression, k: Expression): Expression

EquationTransformation.condition#

Raw WebAssembly: EquationTransformation property

readonly condition: Expression

The Boolean condition on the free symbols under which the relation is claimed.

EquationTransformation.equation#

Raw WebAssembly: EquationTransformation property

readonly equation: Expression

The transformed equation.

EquationTransformation.relation#

Raw WebAssembly: EquationTransformation property

readonly relation: string

Whether the transformed equation is equivalent to its input or only implied by it.

abs#

Raw WebAssembly: Default context

abs(x: Expression): Expression

Absolute value of x.

Calling forms

Raw WebAssembly: Explicit context: Context.abs

abs(x: Expression): Expression

absoluteValue#

Explicit context

absoluteValue(value: ExpressionLike): Expression

Public method placement for absoluteValue.

Calling forms

SymiFacade method: SymiFacade.absoluteValue

absoluteValue(value: ExpressionLike): Expression

Expression method: Expression.absoluteValue

absoluteValue(): Expression

arccos#

Raw WebAssembly: Default context

arccos(x: Expression): Expression

Inverse cosine of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arccos

arccos(x: Expression): Expression

arccosh#

Raw WebAssembly: Default context

arccosh(x: Expression): Expression

Inverse hyperbolic cosine of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arccosh

arccosh(x: Expression): Expression

arccot#

Raw WebAssembly: Default context

arccot(x: Expression): Expression

Inverse cotangent of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arccot

arccot(x: Expression): Expression

arccoth#

Raw WebAssembly: Default context

arccoth(x: Expression): Expression

Inverse hyperbolic cotangent of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arccoth

arccoth(x: Expression): Expression

arccsc#

Raw WebAssembly: Default context

arccsc(x: Expression): Expression

Inverse cosecant of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arccsc

arccsc(x: Expression): Expression

arccsch#

Raw WebAssembly: Default context

arccsch(x: Expression): Expression

Inverse hyperbolic cosecant of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arccsch

arccsch(x: Expression): Expression

arcsec#

Raw WebAssembly: Default context

arcsec(x: Expression): Expression

Inverse secant of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arcsec

arcsec(x: Expression): Expression

arcsech#

Raw WebAssembly: Default context

arcsech(x: Expression): Expression

Inverse hyperbolic secant of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arcsech

arcsech(x: Expression): Expression

arcsin#

Raw WebAssembly: Default context

arcsin(x: Expression): Expression

Inverse sine of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arcsin

arcsin(x: Expression): Expression

arcsinh#

Raw WebAssembly: Default context

arcsinh(x: Expression): Expression

Inverse hyperbolic sine of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arcsinh

arcsinh(x: Expression): Expression

arctan#

Raw WebAssembly: Default context

arctan(x: Expression): Expression

Inverse tangent of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arctan

arctan(x: Expression): Expression

arctanh#

Raw WebAssembly: Default context

arctanh(x: Expression): Expression

Inverse hyperbolic tangent of x.

Calling forms

Raw WebAssembly: Explicit context: Context.arctanh

arctanh(x: Expression): Expression

binomial#

Raw WebAssembly: Default context

binomial(n: Expression, k: Expression): Expression

Binomial coefficient C(n, k).

Calling forms

Raw WebAssembly: Explicit context: Context.binomial

binomial(n: Expression, k: Expression): Expression

ceiling#

Raw WebAssembly: Default context

ceiling(x: Expression): Expression

Least integer greater than or equal to x.

Calling forms

Raw WebAssembly: Explicit context: Context.ceiling

ceiling(x: Expression): Expression

conjugate#

Raw WebAssembly: Default context

conjugate(x: Expression): Expression

Complex conjugate.

Calling forms

Raw WebAssembly: Explicit context: Context.conjugate

conjugate(x: Expression): Expression

cos#

Raw WebAssembly: Default context

cos(x: Expression): Expression

Cosine of x.

Calling forms

Explicit context: Context.cos

cos(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.cos

cos(x: Expression): Expression

SymiFacade method: SymiFacade.cos

cos(value: ExpressionLike): Expression

Expression method: Expression.cos

cos(): Expression

cosh#

Raw WebAssembly: Default context

cosh(x: Expression): Expression

Hyperbolic cosine of x.

Calling forms

Raw WebAssembly: Explicit context: Context.cosh

cosh(x: Expression): Expression

cot#

Raw WebAssembly: Default context

cot(x: Expression): Expression

Cotangent of x, the reciprocal of the tangent.

Calling forms

Raw WebAssembly: Explicit context: Context.cot

cot(x: Expression): Expression

coth#

Raw WebAssembly: Default context

coth(x: Expression): Expression

Hyperbolic cotangent of x, the reciprocal of the hyperbolic tangent.

Calling forms

Raw WebAssembly: Explicit context: Context.coth

coth(x: Expression): Expression

csc#

Raw WebAssembly: Default context

csc(x: Expression): Expression

Cosecant of x, the reciprocal of the sine.

Calling forms

Raw WebAssembly: Explicit context: Context.csc

csc(x: Expression): Expression

csch#

Raw WebAssembly: Default context

csch(x: Expression): Expression

Hyperbolic cosecant of x, the reciprocal of the hyperbolic sine.

Calling forms

Raw WebAssembly: Explicit context: Context.csch

csch(x: Expression): Expression

equal#

Raw WebAssembly: Default context

equal(left: Expression, right: Expression): Expression

Build the relation left = right without deciding its truth.

Calling forms

Raw WebAssembly: Explicit context: Context.equal

equal(left: Expression, right: Expression): Expression

equation#

Raw WebAssembly: Default context

equation(left: Expression, right: Expression): Expression

Build an immutable equation value without deciding its truth.

Calling forms

Raw WebAssembly: Explicit context: Context.equation

equation(left: Expression, right: Expression): Expression

exp#

Raw WebAssembly: Default context

exp(x: Expression): Expression

The natural exponential.

Calling forms

Explicit context: Context.exp

exp(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.exp

exp(x: Expression): Expression

SymiFacade method: SymiFacade.exp

exp(value: ExpressionLike): Expression

Expression method: Expression.exp

exp(): Expression

factorial#

Raw WebAssembly: Default context

factorial(x: Expression): Expression

Factorial of x, evaluated exactly on nonnegative integers.

Calling forms

Raw WebAssembly: Explicit context: Context.factorial

factorial(x: Expression): Expression

floor#

Raw WebAssembly: Default context

floor(x: Expression): Expression

Greatest integer less than or equal to x.

Calling forms

Raw WebAssembly: Explicit context: Context.floor

floor(x: Expression): Expression

greaterThan#

Raw WebAssembly: Default context

greaterThan(left: Expression, right: Expression): Expression

Build the relation left > right without deciding its truth.

Calling forms

Raw WebAssembly: Explicit context: Context.greaterThan

greaterThan(left: Expression, right: Expression): Expression

greaterThanOrEqual#

Raw WebAssembly: Default context

greaterThanOrEqual(left: Expression, right: Expression): Expression

Build the relation left >= right without deciding its truth.

Calling forms

Raw WebAssembly: Explicit context: Context.greaterThanOrEqual

greaterThanOrEqual(left: Expression, right: Expression): Expression

lessThan#

Raw WebAssembly: Default context

lessThan(left: Expression, right: Expression): Expression

Build the relation left < right without deciding its truth.

Calling forms

Explicit context: Context.lessThan

lessThan(left: ExpressionLike, right: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.lessThan

lessThan(left: Expression, right: Expression): Expression

SymiFacade method: SymiFacade.lessThan

lessThan(left: ExpressionLike, right: ExpressionLike): Expression

Expression method: Expression.lessThan

lessThan(other: ExpressionLike): Expression

lessThanOrEqual#

Raw WebAssembly: Default context

lessThanOrEqual(left: Expression, right: Expression): Expression

Build the relation left <= right without deciding its truth.

Calling forms

Raw WebAssembly: Explicit context: Context.lessThanOrEqual

lessThanOrEqual(left: Expression, right: Expression): Expression

log#

Raw WebAssembly: Default context

log(x: Expression, base?: Expression | null): Expression

Natural logarithm; with base given, log(x)/log(base).

Calling forms

Raw WebAssembly: Explicit context: Context.log

log(x: Expression, base?: Expression | null): Expression

max#

Raw WebAssembly: Default context

max(arguments: Expression[]): Expression

Maximum of the arguments (variadic in Python; a JS array in WASM).

Calling forms

Raw WebAssembly: Explicit context: Context.max

max(arguments: Expression[]): Expression

min#

Raw WebAssembly: Default context

min(arguments: Expression[]): Expression

Minimum of the arguments (variadic in Python; a JS array in WASM).

Calling forms

Raw WebAssembly: Explicit context: Context.min

min(arguments: Expression[]): Expression

notEqual#

Raw WebAssembly: Default context

notEqual(left: Expression, right: Expression): Expression

Build the relation left != right without deciding its truth.

Calling forms

Raw WebAssembly: Explicit context: Context.notEqual

notEqual(left: Expression, right: Expression): Expression

root#

Raw WebAssembly: Default context

root(x: Expression, n: Expression): Expression

Principal n-th root, stored as x^(1/n).

Calling forms

Raw WebAssembly: Explicit context: Context.root

root(x: Expression, n: Expression): Expression

sec#

Raw WebAssembly: Default context

sec(x: Expression): Expression

Secant of x, the reciprocal of the cosine.

Calling forms

Raw WebAssembly: Explicit context: Context.sec

sec(x: Expression): Expression

sech#

Raw WebAssembly: Default context

sech(x: Expression): Expression

Hyperbolic secant of x, the reciprocal of the hyperbolic cosine.

Calling forms

Raw WebAssembly: Explicit context: Context.sech

sech(x: Expression): Expression

sin#

Raw WebAssembly: Default context

sin(x: Expression): Expression

Sine of x.

Calling forms

Explicit context: Context.sin

sin(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.sin

sin(x: Expression): Expression

SymiFacade method: SymiFacade.sin

sin(value: ExpressionLike): Expression

Expression method: Expression.sin

sin(): Expression

sinh#

Raw WebAssembly: Default context

sinh(x: Expression): Expression

Hyperbolic sine of x.

Calling forms

Raw WebAssembly: Explicit context: Context.sinh

sinh(x: Expression): Expression

sqrt#

Raw WebAssembly: Default context

sqrt(x: Expression): Expression

Principal square root, stored as x^(1/2).

Calling forms

Explicit context: Context.sqrt

sqrt(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.sqrt

sqrt(x: Expression): Expression

SymiFacade method: SymiFacade.sqrt

sqrt(value: ExpressionLike): Expression

Expression method: Expression.sqrt

sqrt(): Expression

tan#

Raw WebAssembly: Default context

tan(x: Expression): Expression

Tangent of x.

Calling forms

Raw WebAssembly: Explicit context: Context.tan

tan(x: Expression): Expression

tanh#

Raw WebAssembly: Default context

tanh(x: Expression): Expression

Hyperbolic tangent of x.

Calling forms

Raw WebAssembly: Explicit context: Context.tanh

tanh(x: Expression): Expression

transformEquation#

Raw WebAssembly: Default context

transformEquation(
    left: Expression,
    right: Expression,
    operation: string,
): EquationTransformation

Apply one arithmetic operation to an equation, reporting how the result relates to it.

Calling forms

Raw WebAssembly: Explicit context: Context.transformEquation

transformEquation(
    left: Expression,
    right: Expression,
    operation: string,
): EquationTransformation

AffineSystemFamily.directionVectors#

Raw WebAssembly: AffineSystemFamily property

readonly directionVectors: AffineSystemDirection[]

Getter on affine_system_family: an independent basis of the homogeneous solution space, whose size is the dimension of the family.

AffineSystemFamily.particularSolution#

Raw WebAssembly: AffineSystemFamily property

readonly particularSolution: Expression[]

Getter on affine_system_family: one exact solution of the system, aligned with variables.

ConditionalSystemBranch.condition#

Raw WebAssembly: ConditionalSystemBranch property

readonly condition: Expression

Getter on conditional_system_branch: the exact condition selecting this branch.

ConditionalSystemBranch.solution#

Raw WebAssembly: ConditionalSystemBranch property

readonly solution: PolynomialSystemSolution

Getter on conditional_system_branch: the complete result established under condition.

CriticalPoint.classification#

Raw WebAssembly: CriticalPoint property

readonly classification: string

The verdict string of a critical point: "local_minimum", "local_maximum", "saddle_point", or "inconclusive".

CriticalPoint.multiplierValues#

Raw WebAssembly: CriticalPoint property

readonly multiplierValues: Expression[]

The solved values of those multipliers, in the same order as multiplier_variables.

CriticalPoint.multiplierVariables#

Raw WebAssembly: CriticalPoint property

readonly multiplierVariables: string[]

The names of the introduced Lagrange / KKT multipliers at a constrained critical point (empty for the unconstrained case).

CriticalPoint.values#

Raw WebAssembly: CriticalPoint property

readonly values: Expression[]

Getter on system_assignment: the assigned value expressions, aligned with variables.

CriticalPoint.variables#

Raw WebAssembly: CriticalPoint property

readonly variables: string[]

Getter on system_assignment: the unknown names, in order.

EquationGuardedBranch.certifiedSet#

Raw WebAssembly: EquationGuardedBranch property

readonly certifiedSet: Expression

The exact solution set certified by this report or guarded branch.

EquationGuardedBranch.guard#

Raw WebAssembly: EquationGuardedBranch property

readonly guard: Expression

The exact parameter condition selecting this guarded branch.

EquationSolveReport.certifiedSet#

Raw WebAssembly: EquationSolveReport property

readonly certifiedSet: Expression

The exact solution set certified by this report or guarded branch.

EquationSolveReport.complete#

Raw WebAssembly: EquationSolveReport property

readonly complete: boolean

Whether exact replay proved that the certified result is exhaustive.

EquationSolveReport.diagnostics#

Raw WebAssembly: EquationSolveReport property

readonly diagnostics: string[]

Non-impossibility reasons that prevented a stronger report.

EquationSolveReport.guardedBranches#

Raw WebAssembly: EquationSolveReport property

readonly guardedBranches: EquationGuardedBranch[]

The exact guarded strata carried by this report.

EquationSolveReport.proofSummary#

Raw WebAssembly: EquationSolveReport property

readonly proofSummary: string

The root checked proof rule, without exposing the internal proof graph.

EquationSolveReport.realRootCountCertificate#

Raw WebAssembly: EquationSolveReport property

readonly realRootCountCertificate: number | undefined

Exact real-root count when this complete report established a finite real root set.

EquationSolveReport.requestedDomain#

Raw WebAssembly: EquationSolveReport property

readonly requestedDomain: string

The ambient domain in which the report was checked.

EquationSolveReport.status#

Raw WebAssembly: EquationSolveReport property

readonly status: string

The checked report status: complete, partial, or declined.

EquationSolveReport.uniqueRootIntervals#

Raw WebAssembly: EquationSolveReport property

readonly uniqueRootIntervals: Expression[]

Exact singleton intervals for named roots whose real-root count was certified.

EquationSolveReport.unresolvedCondition#

Raw WebAssembly: EquationSolveReport property

readonly unresolvedCondition: Expression | undefined

The retained source-condition residue, absent only after an exhaustive proof.

FirstOrderNonlinearParametricSolution.coordinate#

Raw WebAssembly: FirstOrderNonlinearParametricSolution property

readonly coordinate: Expression

The independent coordinate as a function of the parameter.

FirstOrderNonlinearParametricSolution.generatedConstants#

Raw WebAssembly: FirstOrderNonlinearParametricSolution property

readonly generatedConstants: Expression[]

The integration constants of this parameterized branch.

FirstOrderNonlinearParametricSolution.parameter#

Raw WebAssembly: FirstOrderNonlinearParametricSolution property

readonly parameter: Expression

The exact parameter symbol for this parameterized branch.

FirstOrderNonlinearParametricSolution.value#

Raw WebAssembly: FirstOrderNonlinearParametricSolution property

readonly value: Expression

The dependent value as a function of the parameter.

FirstOrderNonlinearSolutionAnalysis.parametricSolutions#

Raw WebAssembly: FirstOrderNonlinearSolutionAnalysis property

readonly parametricSolutions: FirstOrderNonlinearParametricSolution[]

Every certified parameterized branch.

FirstOrderNonlinearSolutionAnalysis.regularFamily#

Raw WebAssembly: FirstOrderNonlinearSolutionAnalysis property

readonly regularFamily: FirstOrderNonlinearSolutionBranch | undefined

The certified regular one-parameter family, when one was proved.

FirstOrderNonlinearSolutionAnalysis.singularSolutions#

Raw WebAssembly: FirstOrderNonlinearSolutionAnalysis property

readonly singularSolutions: FirstOrderNonlinearSolutionBranch[]

Every certified singular or equilibrium branch outside the regular family.

FirstOrderNonlinearSolutionBranch.expression#

Raw WebAssembly: FirstOrderNonlinearSolutionBranch property

readonly expression: Expression

The branch value or its implicit residual relation.

FirstOrderNonlinearSolutionBranch.form#

Raw WebAssembly: FirstOrderNonlinearSolutionBranch property

readonly form: string

Whether this branch gives a value or an implicit relation read as zero.

FirstOrderNonlinearSolutionBranch.generatedConstants#

Raw WebAssembly: FirstOrderNonlinearSolutionBranch property

readonly generatedConstants: Expression[]

The free constants generated for this branch.

LinearDifferentialOperator.coefficients#

Raw WebAssembly: LinearDifferentialOperator property

readonly coefficients: Expression[]

Coefficients in ascending derivative order.

LinearDifferentialOperator.forcing#

Raw WebAssembly: LinearDifferentialOperator property

readonly forcing: Expression

The forcing in L[y] = forcing.

LinearDifferentialOperator.order#

Raw WebAssembly: LinearDifferentialOperator property

readonly order: number

The order of this differential operator.

LinearDifferentialOperator.restrictions#

Raw WebAssembly: LinearDifferentialOperator property

readonly restrictions: Expression[]

Denominators required to remain nonzero on the operator chart.

OptimizationOutcome.complete#

Raw WebAssembly: OptimizationOutcome property

readonly complete: boolean

Getter on polynomial_system_solution: whether the solver certified it found every solution.

OptimizationOutcome.points#

Raw WebAssembly: OptimizationOutcome property

readonly points: CriticalPoint[]

The list of critical_point objects in an optimization_outcome (WASM).

OptimizationOutcome.verdict#

Raw WebAssembly: OptimizationOutcome property

readonly verdict: string

The optimization result classification.

OrdinaryDifferentialEquationPointSymmetry.horizontalComponent#

Raw WebAssembly: OrdinaryDifferentialEquationPointSymmetry property

readonly horizontalComponent: Expression

The horizontal component of the verified infinitesimal generator.

OrdinaryDifferentialEquationPointSymmetry.verticalComponent#

Raw WebAssembly: OrdinaryDifferentialEquationPointSymmetry property

readonly verticalComponent: Expression

The vertical component of the verified infinitesimal generator.

OrdinaryDifferentialEquationPointSymmetrySearch.decline#

Raw WebAssembly: OrdinaryDifferentialEquationPointSymmetrySearch property

readonly decline: string | undefined

The typed reason no symmetry was proved, when the bounded search declined.

OrdinaryDifferentialEquationPointSymmetrySearch.symmetries#

Raw WebAssembly: OrdinaryDifferentialEquationPointSymmetrySearch property

readonly symmetries: OrdinaryDifferentialEquationPointSymmetry[]

Every independently verified generator found within the fixed search budget.

OrdinaryDifferentialEquationSeries.expansionPoint#

Raw WebAssembly: OrdinaryDifferentialEquationSeries property

readonly expansionPoint: Expression

The expansion point.

OrdinaryDifferentialEquationSeries.initialCoefficients#

Raw WebAssembly: OrdinaryDifferentialEquationSeries property

readonly initialCoefficients: Expression[]

Normalized Taylor coefficients from the supplied initial derivative jet.

OrdinaryDifferentialEquationSeries.operator#

Raw WebAssembly: OrdinaryDifferentialEquationSeries property

readonly operator: LinearDifferentialOperator

The normalized operator defining this local problem.

OrdinaryDifferentialEquationSeries.proofStatus#

Raw WebAssembly: OrdinaryDifferentialEquationSeries property

readonly proofStatus: string

The exact proof status of this series.

OrdinaryDifferentialEquationSeries.recurrence#

Raw WebAssembly: OrdinaryDifferentialEquationSeries property

readonly recurrence: OrdinaryDifferentialEquationSeriesRecurrence

The all-index recurrence proved by formal coefficient comparison.

OrdinaryDifferentialEquationSeriesRecurrence.forcingCoefficients#

Raw WebAssembly: OrdinaryDifferentialEquationSeriesRecurrence property

readonly forcingCoefficients: Expression[]

Shifted forcing coefficients.

OrdinaryDifferentialEquationSeriesRecurrence.indexStart#

Raw WebAssembly: OrdinaryDifferentialEquationSeriesRecurrence property

readonly indexStart: number

The first nonnegative recurrence index.

OrdinaryDifferentialEquationSeriesRecurrence.operatorCoefficientSeries#

Raw WebAssembly: OrdinaryDifferentialEquationSeriesRecurrence property

readonly operatorCoefficientSeries: Expression[]

Concatenated shifted coefficient series in derivative-order sequence.

OrdinaryDifferentialEquationSeriesRecurrence.operatorCoefficientSeriesLengths#

Raw WebAssembly: OrdinaryDifferentialEquationSeriesRecurrence property

readonly operatorCoefficientSeriesLengths: Uint32Array

The length of each derivative-order coefficient series in the concatenation.

OrdinaryDifferentialEquationSeriesRecurrence.order#

Raw WebAssembly: OrdinaryDifferentialEquationSeriesRecurrence property

readonly order: number

The order of the operator defining this recurrence.

OrdinaryDifferentialEquationSolveResult.decline#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly decline: string | undefined

The typed reason no certified candidate was produced.

OrdinaryDifferentialEquationSolveResult.form#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly form: string | undefined

Whether the solution is the value of the unknown or a relation read as zero.

OrdinaryDifferentialEquationSolveResult.frequencyDomainEquation#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly frequencyDomainEquation: Expression | undefined

The frequency-domain equation of a Laplace transform solution, read as zero.

OrdinaryDifferentialEquationSolveResult.generality#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly generality: string | undefined

The rank decision behind a complete-family claim, when the request required one.

OrdinaryDifferentialEquationSolveResult.generatedConstants#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly generatedConstants: Expression[]

Exactly the constants the solution treats as free.

OrdinaryDifferentialEquationSolveResult.image#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly image: Expression | undefined

The image of the unknown a Laplace transform solution solved for.

OrdinaryDifferentialEquationSolveResult.method#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly method: string

The method the request actually ran.

OrdinaryDifferentialEquationSolveResult.solution#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly solution: Expression | undefined

The certified solution, which no declined request carries.

OrdinaryDifferentialEquationSolveResult.verdict#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly verdict: string

Whether the request was solved or declined.

OrdinaryDifferentialEquationSolveResult.verification#

Raw WebAssembly: OrdinaryDifferentialEquationSolveResult property

readonly verification: string | undefined

The independent verifier's decision on the candidate, when verification ran.

OrdinaryDifferentialEquationSystemSolveResult.components#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly components: Expression[]

One explicit value per declared unknown, in declaration order, when solved.

OrdinaryDifferentialEquationSystemSolveResult.decline#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly decline: string | undefined

The typed reason no certified assignment was produced.

OrdinaryDifferentialEquationSystemSolveResult.generality#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly generality: string | undefined

The rank decision on the constants-to-initial-jet map, when verification ran.

OrdinaryDifferentialEquationSystemSolveResult.generatedConstants#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly generatedConstants: Expression[]

Exactly the constants the assignment treats as free.

OrdinaryDifferentialEquationSystemSolveResult.method#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly method: string

The method the system request actually ran.

OrdinaryDifferentialEquationSystemSolveResult.route#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly route: string | undefined

The route the certified assignment came from.

OrdinaryDifferentialEquationSystemSolveResult.verdict#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly verdict: string

Whether the system was solved or declined.

OrdinaryDifferentialEquationSystemSolveResult.verification#

Raw WebAssembly: OrdinaryDifferentialEquationSystemSolveResult property

readonly verification: string | undefined

The independent verifier's decision on the assignment, when verification ran.

OrdinaryDifferentialEquationSystemVerificationReport.generality#

Raw WebAssembly: OrdinaryDifferentialEquationSystemVerificationReport property

readonly generality: string

The rank decision on the map from the supplied constants to the initial jet.

OrdinaryDifferentialEquationSystemVerificationReport.requiredRank#

Raw WebAssembly: OrdinaryDifferentialEquationSystemVerificationReport property

readonly requiredRank: number

The dimension a complete family of the system must span.

OrdinaryDifferentialEquationSystemVerificationReport.verdict#

Raw WebAssembly: OrdinaryDifferentialEquationSystemVerificationReport property

readonly verdict: string

The decision on every equation residual and every datum of the supplied assignment.

PartialDifferentialEquationArbitraryFunction.arity#

Raw WebAssembly: PartialDifferentialEquationArbitraryFunction property

readonly arity: number

The recorded and validated function arity.

PartialDifferentialEquationArbitraryFunction.name#

Raw WebAssembly: PartialDifferentialEquationArbitraryFunction property

readonly name: string

The collision-free allocated function name.

PartialDifferentialEquationArbitraryFunction.summary#

Raw WebAssembly: PartialDifferentialEquationArbitraryFunction method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationArbitraryFunction.toString#

Raw WebAssembly: PartialDifferentialEquationArbitraryFunction method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationCanonicalizationResult.canonicalized#

Raw WebAssembly: PartialDifferentialEquationCanonicalizationResult property

readonly canonicalized: boolean

Whether verified canonical coordinates were constructed.

PartialDifferentialEquationCanonicalizationResult.decline#

Raw WebAssembly: PartialDifferentialEquationCanonicalizationResult property

readonly decline: string | undefined

The exact reason automatic canonicalization declined.

PartialDifferentialEquationCanonicalizationResult.principalForm#

Raw WebAssembly: PartialDifferentialEquationCanonicalizationResult property

readonly principalForm: string | undefined

The exact canonical principal form that was reached.

PartialDifferentialEquationCanonicalizationResult.summary#

Raw WebAssembly: PartialDifferentialEquationCanonicalizationResult method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationCanonicalizationResult.toString#

Raw WebAssembly: PartialDifferentialEquationCanonicalizationResult method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationCanonicalizationResult.transformation#

Raw WebAssembly: PartialDifferentialEquationCanonicalizationResult property

readonly transformation: PartialDifferentialEquationTransformationResult | undefined

The verified coordinate transformation of a successful canonicalization.

PartialDifferentialEquationCanonicalizationResult.transformationDecline#

Raw WebAssembly: PartialDifferentialEquationCanonicalizationResult property

readonly transformationDecline: string | undefined

The underlying coordinate-transformation decline, when one caused the decline.

PartialDifferentialEquationClassification.coefficientData#

Raw WebAssembly: PartialDifferentialEquationClassification property

readonly coefficientData: PartialDifferentialEquationCoefficientData

The exact affine coefficient data extracted from the governing residual.

PartialDifferentialEquationClassification.linearity#

Raw WebAssembly: PartialDifferentialEquationClassification property

readonly linearity: string

The most-specific exact linearity class.

PartialDifferentialEquationClassification.methodCandidates#

Raw WebAssembly: PartialDifferentialEquationClassification property

readonly methodCandidates: PartialDifferentialEquationMethodCandidate[]

The advisory methods in deterministic preference order.

PartialDifferentialEquationClassification.order#

Raw WebAssembly: PartialDifferentialEquationClassification property

readonly order: number

The exact highest derivative order.

PartialDifferentialEquationClassification.secondOrderPrincipalPart#

Raw WebAssembly: PartialDifferentialEquationClassification property

readonly secondOrderPrincipalPart: PartialDifferentialEquationPrincipalPart | undefined

The exact second-order principal metadata, when the equation has one.

PartialDifferentialEquationClassification.summary#

Raw WebAssembly: PartialDifferentialEquationClassification method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationClassification.toString#

Raw WebAssembly: PartialDifferentialEquationClassification method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationCoefficientData.fullCoefficients#

Raw WebAssembly: PartialDifferentialEquationCoefficientData property

readonly fullCoefficients: PartialDifferentialEquationJetCoefficient[] | undefined

Every jet coefficient, when the equation is exactly linear.

PartialDifferentialEquationCoefficientData.highestOrderCoefficients#

Raw WebAssembly: PartialDifferentialEquationCoefficientData property

readonly highestOrderCoefficients: PartialDifferentialEquationJetCoefficient[] | undefined

The highest-order jet coefficients, when the equation is affine in them.

PartialDifferentialEquationCoefficientData.homogeneous#

Raw WebAssembly: PartialDifferentialEquationCoefficientData property

readonly homogeneous: boolean | undefined

Whether the equation was proved homogeneous, when that statement is meaningful.

PartialDifferentialEquationCoefficientData.remainder#

Raw WebAssembly: PartialDifferentialEquationCoefficientData property

readonly remainder: Expression | undefined

The exact jet-free remainder term, when one was extracted.

PartialDifferentialEquationCoefficientData.summary#

Raw WebAssembly: PartialDifferentialEquationCoefficientData method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationCoefficientData.toString#

Raw WebAssembly: PartialDifferentialEquationCoefficientData method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationCoordinateChange.forwardCoordinates#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange property

readonly forwardCoordinates: Expression[]

The ordered source-to-target coordinate expressions.

PartialDifferentialEquationCoordinateChange.inverseCoordinates#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange property

readonly inverseCoordinates: Expression[]

The ordered target-to-source coordinate expressions.

PartialDifferentialEquationCoordinateChange.jacobian#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange property

readonly jacobian: Expression

The exact forward-map Jacobian determinant.

PartialDifferentialEquationCoordinateChange.serializeObject#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange method

serializeObject(): string

Serialize this coordinate change in the versioned canonical object grammar.

PartialDifferentialEquationCoordinateChange.sourceVariables#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange property

readonly sourceVariables: string[]

The ordered source coordinate names.

PartialDifferentialEquationCoordinateChange.summary#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationCoordinateChange.targetDependentFunction#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange property

readonly targetDependentFunction: string

The target unknown-function name.

PartialDifferentialEquationCoordinateChange.targetVariables#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange property

readonly targetVariables: string[]

The ordered target coordinate names.

PartialDifferentialEquationCoordinateChange.toString#

Raw WebAssembly: PartialDifferentialEquationCoordinateChange method

toString(): string

The mathematical text of this object, as a JavaScript string.

PartialDifferentialEquationJetCoefficient.coefficient#

Raw WebAssembly: PartialDifferentialEquationJetCoefficient property

readonly coefficient: Expression

The exact coefficient expression.

PartialDifferentialEquationJetCoefficient.derivativeOrders#

Raw WebAssembly: PartialDifferentialEquationJetCoefficient property

readonly derivativeOrders: Uint32Array

The derivative multi-index of the jet this coefficient multiplies.

PartialDifferentialEquationJetCoefficient.summary#

Raw WebAssembly: PartialDifferentialEquationJetCoefficient method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationJetCoefficient.toString#

Raw WebAssembly: PartialDifferentialEquationJetCoefficient method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationMethodCandidate.method#

Raw WebAssembly: PartialDifferentialEquationMethodCandidate property

readonly method: string

The stable advisory method name.

PartialDifferentialEquationMethodCandidate.proofObligations#

Raw WebAssembly: PartialDifferentialEquationMethodCandidate property

readonly proofObligations: string[]

The exact obligations this method must discharge before it may solve.

PartialDifferentialEquationMethodCandidate.summary#

Raw WebAssembly: PartialDifferentialEquationMethodCandidate method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationMethodCandidate.toString#

Raw WebAssembly: PartialDifferentialEquationMethodCandidate method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationPointSymmetryAction.admitsAdditiveSolutionSymmetry#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly admitsAdditiveSolutionSymmetry: boolean

Whether the action adds an arbitrary solution by linear superposition.

PartialDifferentialEquationPointSymmetryAction.amplitude#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly amplitude: Expression | undefined

The amplitude multiplying the transformed seed.

PartialDifferentialEquationPointSymmetryAction.appliedToSeed#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction method

appliedToSeed(seed: UndefinedFunction): Expression

The transformed seed solution under the action.

PartialDifferentialEquationPointSymmetryAction.appliedToSeedWithAdditiveSolution#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction method

appliedToSeedWithAdditiveSolution(
    seed: UndefinedFunction,
    additive_solution: UndefinedFunction,
): Expression

The transformed seed solution plus an added solution under the action.

PartialDifferentialEquationPointSymmetryAction.decline#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly decline: string | undefined

The typed reason the action was not constructed.

PartialDifferentialEquationPointSymmetryAction.intertwining#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly intertwining: string | undefined

The exact decision on the intertwining identity.

PartialDifferentialEquationPointSymmetryAction.invertibility#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly invertibility: string | undefined

The exact decision that the coordinate map is invertible on its chart.

PartialDifferentialEquationPointSymmetryAction.multiplier#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly multiplier: Expression | undefined

The multiplier of the intertwining identity.

PartialDifferentialEquationPointSymmetryAction.outstandingObligations#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly outstandingObligations: string[]

The claims the action explicitly does not make.

PartialDifferentialEquationPointSymmetryAction.parameters#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly parameters: Expression[]

The group parameters the closed forms depend on.

PartialDifferentialEquationPointSymmetryAction.pointSymmetryDecline#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly pointSymmetryDecline: string | undefined

The reason the underlying point-symmetry algebra was not derived, when it was not.

PartialDifferentialEquationPointSymmetryAction.summary#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationPointSymmetryAction.toString#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationPointSymmetryAction.transformedCoordinates#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAction property

readonly transformedCoordinates: Expression[]

The coordinates at which a seed solution is evaluated.

PartialDifferentialEquationPointSymmetryAlgebra.admitsAdditiveSolutionSymmetry#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra property

readonly admitsAdditiveSolutionSymmetry: boolean

Whether adding any solution of the linear homogeneous equation is also a symmetry.

PartialDifferentialEquationPointSymmetryAlgebra.basis#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra property

readonly basis: PartialDifferentialEquationPointSymmetryGenerator[]

The independently verified basis generators, one per parameter.

PartialDifferentialEquationPointSymmetryAlgebra.decline#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra property

readonly decline: string | undefined

The typed reason the algebra was not derived.

PartialDifferentialEquationPointSymmetryAlgebra.determiningEquations#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra property

readonly determiningEquations: Expression[]

The determining equations exactly as derived, before any reduction.

PartialDifferentialEquationPointSymmetryAlgebra.generalGenerator#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra property

readonly generalGenerator: PartialDifferentialEquationPointSymmetryGenerator | undefined

The general generator, a combination of the basis through the parameters.

PartialDifferentialEquationPointSymmetryAlgebra.outstandingObligations#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra property

readonly outstandingObligations: string[]

The claims the algebra explicitly does not make.

PartialDifferentialEquationPointSymmetryAlgebra.parameters#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra property

readonly parameters: Expression[]

The constants of the general generator, one per basis generator.

PartialDifferentialEquationPointSymmetryAlgebra.summary#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationPointSymmetryAlgebra.toString#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryAlgebra method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationPointSymmetryGenerator.coordinateInfinitesimals#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryGenerator property

readonly coordinateInfinitesimals: Expression[]

The coordinate infinitesimals in the problem's independent-variable order.

PartialDifferentialEquationPointSymmetryGenerator.dependentInfinitesimal#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryGenerator property

readonly dependentInfinitesimal: Expression

The dependent infinitesimal of the generator.

PartialDifferentialEquationPointSymmetryGenerator.summary#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryGenerator method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationPointSymmetryGenerator.toString#

Raw WebAssembly: PartialDifferentialEquationPointSymmetryGenerator method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationPrincipalCoefficient.coefficient#

Raw WebAssembly: PartialDifferentialEquationPrincipalCoefficient property

readonly coefficient: Expression

The raw coefficient Expression, before mixed terms are halved.

PartialDifferentialEquationPrincipalCoefficient.derivativeOrders#

Raw WebAssembly: PartialDifferentialEquationPrincipalCoefficient property

readonly derivativeOrders: Uint32Array

The derivative multi-index of the second-order jet this coefficient multiplies.

PartialDifferentialEquationPrincipalCoefficient.summary#

Raw WebAssembly: PartialDifferentialEquationPrincipalCoefficient method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationPrincipalCoefficient.toString#

Raw WebAssembly: PartialDifferentialEquationPrincipalCoefficient method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationPrincipalPart.derivativeCoefficients#

Raw WebAssembly: PartialDifferentialEquationPrincipalPart property

readonly derivativeCoefficients: PartialDifferentialEquationPrincipalCoefficient[]

The raw mixed-derivative coefficients, before symmetrization halves them.

PartialDifferentialEquationPrincipalPart.matrix#

Raw WebAssembly: PartialDifferentialEquationPrincipalPart property

readonly matrix: Matrix

The symmetric principal matrix whose quadratic form is the exact principal symbol.

PartialDifferentialEquationPrincipalPart.summary#

Raw WebAssembly: PartialDifferentialEquationPrincipalPart method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationPrincipalPart.toString#

Raw WebAssembly: PartialDifferentialEquationPrincipalPart method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationProblem.boundaryConditions#

Raw WebAssembly: PartialDifferentialEquationProblem property

readonly boundaryConditions: Expression[]

The boundary-condition residuals in insertion order.

PartialDifferentialEquationProblem.dependentFunction#

Raw WebAssembly: PartialDifferentialEquationProblem property

readonly dependentFunction: string

The declared dependent-function name.

PartialDifferentialEquationProblem.equation#

Raw WebAssembly: PartialDifferentialEquationProblem property

readonly equation: Expression

The governing residual, interpreted as equal to zero.

PartialDifferentialEquationProblem.independentVariables#

Raw WebAssembly: PartialDifferentialEquationProblem property

readonly independentVariables: string[]

The independent variables in their semantic declared order.

PartialDifferentialEquationProblem.initialConditions#

Raw WebAssembly: PartialDifferentialEquationProblem property

readonly initialConditions: Expression[]

The initial-condition residuals in insertion order.

PartialDifferentialEquationProblem.serializeObject#

Raw WebAssembly: PartialDifferentialEquationProblem method

serializeObject(): string

Serialize this problem in the versioned canonical object grammar.

PartialDifferentialEquationProblem.toLatex#

Raw WebAssembly: PartialDifferentialEquationProblem method

toLatex(): string

Render this problem as LaTeX, as a system when it carries conditions.

PartialDifferentialEquationProblem.toString#

Raw WebAssembly: PartialDifferentialEquationProblem method

toString(): string

The mathematical text of this object, as a JavaScript string.

PartialDifferentialEquationSecondOrderClassification.cases#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification property

readonly cases: PartialDifferentialEquationSecondOrderTypeCase[]

The complete exact case table, when the verdict is conditional.

PartialDifferentialEquationSecondOrderClassification.decline#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification property

readonly decline: string | undefined

The exact reason an unknown analysis could not be completed.

PartialDifferentialEquationSecondOrderClassification.discriminant#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification property

readonly discriminant: Expression

The exact discriminant b^2 - a*c of the symmetric principal matrix.

PartialDifferentialEquationSecondOrderClassification.equationType#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification property

readonly equationType: string | undefined

The single proved classical type, when the verdict is definite.

PartialDifferentialEquationSecondOrderClassification.principalMatrix#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification property

readonly principalMatrix: Matrix

The frozen symmetric principal matrix this analysis classified.

PartialDifferentialEquationSecondOrderClassification.proofObligations#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification property

readonly proofObligations: string[]

The obligations a downstream canonical-coordinate route must discharge.

PartialDifferentialEquationSecondOrderClassification.summary#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSecondOrderClassification.toString#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSecondOrderClassification.verdict#

Raw WebAssembly: PartialDifferentialEquationSecondOrderClassification property

readonly verdict: string

Whether one type, a complete case table, or neither was proved.

PartialDifferentialEquationSecondOrderTypeCase.condition#

Raw WebAssembly: PartialDifferentialEquationSecondOrderTypeCase property

readonly condition: AssumptionProposition

The exact condition under which this case's classical type holds.

PartialDifferentialEquationSecondOrderTypeCase.equationType#

Raw WebAssembly: PartialDifferentialEquationSecondOrderTypeCase property

readonly equationType: string

The classical type proved under this case's condition.

PartialDifferentialEquationSecondOrderTypeCase.summary#

Raw WebAssembly: PartialDifferentialEquationSecondOrderTypeCase method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSecondOrderTypeCase.toString#

Raw WebAssembly: PartialDifferentialEquationSecondOrderTypeCase method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSeparatedEquation.independentVariableName#

Raw WebAssembly: PartialDifferentialEquationSeparatedEquation property

readonly independentVariableName: string

The name of this equation's independent variable.

PartialDifferentialEquationSeparatedEquation.residual#

Raw WebAssembly: PartialDifferentialEquationSeparatedEquation property

readonly residual: Expression

The exact residual of this one-variable ordinary differential equation.

PartialDifferentialEquationSeparatedEquation.summary#

Raw WebAssembly: PartialDifferentialEquationSeparatedEquation method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSeparatedEquation.toString#

Raw WebAssembly: PartialDifferentialEquationSeparatedEquation method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSeparationResult.firstEquation#

Raw WebAssembly: PartialDifferentialEquationSeparationResult property

readonly firstEquation: PartialDifferentialEquationSeparatedEquation

The first exact one-variable ordinary differential equation.

PartialDifferentialEquationSeparationResult.reconstruction#

Raw WebAssembly: PartialDifferentialEquationSeparationResult property

readonly reconstruction: Expression

The exact reconstruction expression for the separated factors.

PartialDifferentialEquationSeparationResult.secondEquation#

Raw WebAssembly: PartialDifferentialEquationSeparationResult property

readonly secondEquation: PartialDifferentialEquationSeparatedEquation

The second exact one-variable ordinary differential equation.

PartialDifferentialEquationSeparationResult.separationConstant#

Raw WebAssembly: PartialDifferentialEquationSeparationResult property

readonly separationConstant: Expression

The fresh exact separation constant.

PartialDifferentialEquationSeparationResult.strategy#

Raw WebAssembly: PartialDifferentialEquationSeparationResult property

readonly strategy: string

The selected separation strategy under its stable lowercase spelling.

PartialDifferentialEquationSeparationResult.summary#

Raw WebAssembly: PartialDifferentialEquationSeparationResult method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSeparationResult.toString#

Raw WebAssembly: PartialDifferentialEquationSeparationResult method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSeparationResult.verification#

Raw WebAssembly: PartialDifferentialEquationSeparationResult property

readonly verification: string

The aggregate verdict of the independently replayed separation certificate.

PartialDifferentialEquationSimilaritySolution.decline#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly decline: string | undefined

The typed reason no similarity family was produced.

PartialDifferentialEquationSimilaritySolution.invariant#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly invariant: Expression | undefined

The invariant of the generator's base field.

PartialDifferentialEquationSimilaritySolution.liftedConstants#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly liftedConstants: Expression[]

The constants the lifted family is parameterized by.

PartialDifferentialEquationSimilaritySolution.liftedFamily#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly liftedFamily: PartialDifferentialEquationSolutionFamily | undefined

The invariant solutions of the original equation.

PartialDifferentialEquationSimilaritySolution.liftedFamilyVerification#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly liftedFamilyVerification: string | undefined

The exact decision that the lifted family solves the original equation.

PartialDifferentialEquationSimilaritySolution.multiplier#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly multiplier: Expression | undefined

The multiplier of the reduction identity.

PartialDifferentialEquationSimilaritySolution.outstandingObligations#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly outstandingObligations: string[]

The claims the family explicitly does not make.

PartialDifferentialEquationSimilaritySolution.reducedEquation#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly reducedEquation: Expression | undefined

The reduced ordinary differential equation for the profile, read as zero.

PartialDifferentialEquationSimilaritySolution.similarityVariable#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly similarityVariable: Expression | undefined

The coordinate of the reduced equation, standing for the invariant.

PartialDifferentialEquationSimilaritySolution.summary#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSimilaritySolution.toString#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSimilaritySolution.weight#

Raw WebAssembly: PartialDifferentialEquationSimilaritySolution property

readonly weight: Expression | undefined

The weight of invariant solutions.

PartialDifferentialEquationSolutionFamily.arbitraryFunctions#

Raw WebAssembly: PartialDifferentialEquationSolutionFamily property

readonly arbitraryFunctions: PartialDifferentialEquationArbitraryFunction[]

The functions that stay arbitrary and opaque throughout verification.

PartialDifferentialEquationSolutionFamily.establishesCompleteness#

Raw WebAssembly: PartialDifferentialEquationSolutionFamily property

readonly establishesCompleteness: boolean

Whether the family carries a completeness theorem whose every identity was proved.

PartialDifferentialEquationSolutionFamily.expression#

Raw WebAssembly: PartialDifferentialEquationSolutionFamily property

readonly expression: Expression

The exact candidate expression carried by this family.

PartialDifferentialEquationSolutionFamily.form#

Raw WebAssembly: PartialDifferentialEquationSolutionFamily property

readonly form: string

Whether this candidate is an explicit value or an implicit residual.

PartialDifferentialEquationSolutionFamily.proofObligations#

Raw WebAssembly: PartialDifferentialEquationSolutionFamily property

readonly proofObligations: string[]

The obligations recorded against this candidate family.

PartialDifferentialEquationSolutionFamily.summary#

Raw WebAssembly: PartialDifferentialEquationSolutionFamily method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSolutionFamily.toString#

Raw WebAssembly: PartialDifferentialEquationSolutionFamily method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSolutionProvenance.dischargedObligations#

Raw WebAssembly: PartialDifferentialEquationSolutionProvenance property

readonly dischargedObligations: string[]

The obligations discharged by exact query before the solution was returned.

PartialDifferentialEquationSolutionProvenance.linearity#

Raw WebAssembly: PartialDifferentialEquationSolutionProvenance property

readonly linearity: string

The exact linearity class recorded at the time the candidate was produced.

PartialDifferentialEquationSolutionProvenance.method#

Raw WebAssembly: PartialDifferentialEquationSolutionProvenance property

readonly method: string

The method identity this solution was produced by.

PartialDifferentialEquationSolutionProvenance.order#

Raw WebAssembly: PartialDifferentialEquationSolutionProvenance property

readonly order: number

The exact order recorded at the time the candidate was produced.

PartialDifferentialEquationSolutionProvenance.summary#

Raw WebAssembly: PartialDifferentialEquationSolutionProvenance method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSolutionProvenance.toString#

Raw WebAssembly: PartialDifferentialEquationSolutionProvenance method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSolveResult.classification#

Raw WebAssembly: PartialDifferentialEquationSolveResult property

readonly classification: PartialDifferentialEquationClassification | undefined

The exact classification the dispatcher established, when it reached one.

PartialDifferentialEquationSolveResult.decline#

Raw WebAssembly: PartialDifferentialEquationSolveResult property

readonly decline: string | undefined

The stable decline reason, when no solution was produced.

PartialDifferentialEquationSolveResult.method#

Raw WebAssembly: PartialDifferentialEquationSolveResult property

readonly method: string | undefined

The method that produced a solution, when one did.

PartialDifferentialEquationSolveResult.provenance#

Raw WebAssembly: PartialDifferentialEquationSolveResult property

readonly provenance: PartialDifferentialEquationSolutionProvenance | undefined

The mathematical provenance a verified solution carries.

PartialDifferentialEquationSolveResult.solution#

Raw WebAssembly: PartialDifferentialEquationSolveResult property

readonly solution: PartialDifferentialEquationSolutionFamily | undefined

The verified solution family, which no declined route may carry.

PartialDifferentialEquationSolveResult.summary#

Raw WebAssembly: PartialDifferentialEquationSolveResult method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationSolveResult.toString#

Raw WebAssembly: PartialDifferentialEquationSolveResult method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationSolveResult.verdict#

Raw WebAssembly: PartialDifferentialEquationSolveResult property

readonly verdict: string

Whether the dispatcher solved or honestly declined.

PartialDifferentialEquationSolveResult.verification#

Raw WebAssembly: PartialDifferentialEquationSolveResult property

readonly verification: PartialDifferentialEquationVerificationReport | undefined

The independent verification report a solved result must carry.

PartialDifferentialEquationTransformationResult.coordinateChange#

Raw WebAssembly: PartialDifferentialEquationTransformationResult property

readonly coordinateChange: PartialDifferentialEquationCoordinateChange | undefined

The validated coordinate change of a successful transformation.

PartialDifferentialEquationTransformationResult.decline#

Raw WebAssembly: PartialDifferentialEquationTransformationResult property

readonly decline: string | undefined

The exact reason no transformation was produced.

PartialDifferentialEquationTransformationResult.normalizationMultiplier#

Raw WebAssembly: PartialDifferentialEquationTransformationResult property

readonly normalizationMultiplier: Expression | undefined

The proved-nonzero residual-normalization multiplier.

PartialDifferentialEquationTransformationResult.summary#

Raw WebAssembly: PartialDifferentialEquationTransformationResult method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationTransformationResult.targetProblem#

Raw WebAssembly: PartialDifferentialEquationTransformationResult property

readonly targetProblem: PartialDifferentialEquationProblem | undefined

The transformed PDE problem stated in the target coordinates.

PartialDifferentialEquationTransformationResult.toString#

Raw WebAssembly: PartialDifferentialEquationTransformationResult method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationTransformationResult.transformed#

Raw WebAssembly: PartialDifferentialEquationTransformationResult property

readonly transformed: boolean

Whether a verified transformation was produced.

PartialDifferentialEquationTransformationVerificationReport.claimedGoverningResidual#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport property

readonly claimedGoverningResidual: Expression

The governing residual the transformation claimed.

PartialDifferentialEquationTransformationVerificationReport.compositionResiduals#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport property

readonly compositionResiduals: Expression[]

Every forward and inverse map-composition residual.

PartialDifferentialEquationTransformationVerificationReport.jacobian#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport property

readonly jacobian: Expression

The independently recomputed forward-map Jacobian.

PartialDifferentialEquationTransformationVerificationReport.principalCongruenceResiduals#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport property

readonly principalCongruenceResiduals: Expression[]

The exact principal-matrix congruence residuals.

PartialDifferentialEquationTransformationVerificationReport.summary#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationTransformationVerificationReport.toString#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationTransformationVerificationReport.transformedGoverningResidual#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport property

readonly transformedGoverningResidual: Expression

The independently transformed source governing residual.

PartialDifferentialEquationTransformationVerificationReport.verdict#

Raw WebAssembly: PartialDifferentialEquationTransformationVerificationReport property

readonly verdict: string

The aggregate exact verification verdict.

PartialDifferentialEquationVerificationReport.boundaryConditionResiduals#

Raw WebAssembly: PartialDifferentialEquationVerificationReport property

readonly boundaryConditionResiduals: PartialDifferentialEquationVerificationResidual[]

One reduced residual per boundary condition, in insertion order.

PartialDifferentialEquationVerificationReport.explicitBranch#

Raw WebAssembly: PartialDifferentialEquationVerificationReport property

readonly explicitBranch: Expression | undefined

The isolated explicit branch checked for an implicit candidate.

PartialDifferentialEquationVerificationReport.governingResidual#

Raw WebAssembly: PartialDifferentialEquationVerificationReport property

readonly governingResidual: PartialDifferentialEquationVerificationResidual

Independently reduced governing-equation evidence.

PartialDifferentialEquationVerificationReport.inconclusiveReason#

Raw WebAssembly: PartialDifferentialEquationVerificationReport property

readonly inconclusiveReason: string | undefined

The deterministic reason verification could not reach a proof.

PartialDifferentialEquationVerificationReport.initialConditionResiduals#

Raw WebAssembly: PartialDifferentialEquationVerificationReport property

readonly initialConditionResiduals: PartialDifferentialEquationVerificationResidual[]

One reduced residual per initial condition, in insertion order.

PartialDifferentialEquationVerificationReport.proofObligations#

Raw WebAssembly: PartialDifferentialEquationVerificationReport property

readonly proofObligations: string[]

The obligations consulted or left unresolved by this verification.

PartialDifferentialEquationVerificationReport.summary#

Raw WebAssembly: PartialDifferentialEquationVerificationReport method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationVerificationReport.toString#

Raw WebAssembly: PartialDifferentialEquationVerificationReport method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationVerificationReport.verdict#

Raw WebAssembly: PartialDifferentialEquationVerificationReport property

readonly verdict: string

The aggregate exact verification verdict.

PartialDifferentialEquationVerificationResidual.residual#

Raw WebAssembly: PartialDifferentialEquationVerificationResidual property

readonly residual: Expression

The independently reduced residual expression.

PartialDifferentialEquationVerificationResidual.summary#

Raw WebAssembly: PartialDifferentialEquationVerificationResidual method

summary(): string

A one-line summary naming this record's decisive fields; supporting evidence is reported by verdict or by a bounded prefix, and every accessor keeps the full data.

PartialDifferentialEquationVerificationResidual.toString#

Raw WebAssembly: PartialDifferentialEquationVerificationResidual method

toString(): string

The record's one-line summary as a JavaScript string.

PartialDifferentialEquationVerificationResidual.verdict#

Raw WebAssembly: PartialDifferentialEquationVerificationResidual property

readonly verdict: string

The exact verdict proved about this one residual.

PolynomialSystemSolution.affineFamilies#

Raw WebAssembly: PolynomialSystemSolution property

readonly affineFamilies: AffineSystemFamily[]

Getter on polynomial_system_solution: the complete affine families, empty unless the verdict is "affine".

PolynomialSystemSolution.complete#

Raw WebAssembly: PolynomialSystemSolution property

readonly complete: boolean

Getter on polynomial_system_solution: whether the solver certified it found every solution.

PolynomialSystemSolution.conditionalBranches#

Raw WebAssembly: PolynomialSystemSolution property

readonly conditionalBranches: ConditionalSystemBranch[]

Getter on polynomial_system_solution: the exhaustive guarded branches, empty unless the verdict is "conditional".

PolynomialSystemSolution.parametricComponents#

Raw WebAssembly: PolynomialSystemSolution property

readonly parametricComponents: SystemParametricComponent[]

Getter on polynomial_system_solution: the certified explicit charts, empty unless the verdict is "parametric_components".

PolynomialSystemSolution.solutions#

Raw WebAssembly: PolynomialSystemSolution property

readonly solutions: SystemAssignment[]

Getter on polynomial_system_solution: the array of system_assignment tuples (empty for the non-finite verdicts).

PolynomialSystemSolution.verdict#

Raw WebAssembly: PolynomialSystemSolution property

readonly verdict: string

Getter on polynomial_system_solution: the verdict string, one of "finite", "empty", "affine", "conditional", "positive_dimensional", or "declined".

SystemAssignment.values#

Raw WebAssembly: SystemAssignment property

readonly values: Expression[]

Getter on system_assignment: the assigned value expressions, aligned with variables.

Calling forms and variants

Variant for this object — Raw WebAssembly: AffineSystemDirection property: AffineSystemDirection.values

readonly values: Expression[]

SystemAssignment.variables#

Raw WebAssembly: SystemAssignment property

readonly variables: string[]

Getter on system_assignment: the unknown names, in order.

Calling forms and variants

Variant for this object — Raw WebAssembly: AffineSystemDirection property: AffineSystemDirection.variables

readonly variables: string[]

Variant for this object — Raw WebAssembly: AffineSystemFamily property: AffineSystemFamily.variables

readonly variables: string[]

SystemParametricComponent.assignments#

Raw WebAssembly: SystemParametricComponent property

readonly assignments: SystemAssignment

Getter on system_parametric_component: the exact solved-variable assignments.

SystemParametricComponent.certificateSummary#

Raw WebAssembly: SystemParametricComponent property

readonly certificateSummary: string

Getter on system_parametric_component: a concise exact construction certificate.

SystemParametricComponent.parameterGuard#

Raw WebAssembly: SystemParametricComponent property

readonly parameterGuard: Expression

Getter on system_parametric_component: the parameter-space guard of this chart.

SystemParametricComponent.parameters#

Raw WebAssembly: SystemParametricComponent property

readonly parameters: string[]

Getter on system_parametric_component: the fresh independent parameter names.

SystemParametricComponent.sourceConditions#

Raw WebAssembly: SystemParametricComponent property

readonly sourceConditions: Expression[]

Getter on system_parametric_component: source definedness conditions retained by this chart.

SystemSolveReport.certifiedSolution#

Raw WebAssembly: SystemSolveReport property

readonly certifiedSolution: PolynomialSystemSolution

The assignments or families checked against the original system.

SystemSolveReport.complete#

Raw WebAssembly: SystemSolveReport property

readonly complete: boolean

Whether exact replay proved that the certified result is exhaustive.

SystemSolveReport.diagnostics#

Raw WebAssembly: SystemSolveReport property

readonly diagnostics: string[]

Non-impossibility reasons that prevented a stronger report.

SystemSolveReport.guardedBranches#

Raw WebAssembly: SystemSolveReport property

readonly guardedBranches: ConditionalSystemBranch[]

The exact guarded strata carried by this report.

SystemSolveReport.proofSummary#

Raw WebAssembly: SystemSolveReport property

readonly proofSummary: string

The root checked proof rule, without exposing the internal proof graph.

SystemSolveReport.requestedDomain#

Raw WebAssembly: SystemSolveReport property

readonly requestedDomain: string

The ambient domain in which the report was checked.

SystemSolveReport.status#

Raw WebAssembly: SystemSolveReport property

readonly status: string

The checked report status: complete, partial, or declined.

SystemSolveReport.unresolvedEquations#

Raw WebAssembly: SystemSolveReport property

readonly unresolvedEquations: Expression[]

The retained original equations when a system report is not complete.

UndefinedFunction.call#

Raw WebAssembly: UndefinedFunction method

call(args: Expression[]): Expression

WASM spelling of the Python f(x, …) call syntax on undefined_function.

UndefinedFunction.derivative#

Raw WebAssembly: UndefinedFunction method

derivative(orders: Uint32Array, arguments: Expression[]): Expression

Constructs the structural derivative of this named function, one order per argument: y.derivative([1], [x]) is y'(x). This is the shape the differential-equation classifiers recognise, not a deferred derivative of an arbitrary expression.

UndefinedFunction.toString#

Raw WebAssembly: UndefinedFunction method

toString(): string

The mathematical text of this object, as a JavaScript string.

analyzeFirstOrderNonlinearEquation#

Raw WebAssembly: Default context

analyzeFirstOrderNonlinearEquation(): FirstOrderNonlinearSolutionAnalysis | undefined

Classify a nonlinear first-order equation into every separately certified branch.

Calling forms

Raw WebAssembly: Explicit context: Context.analyzeFirstOrderNonlinearEquation

analyzeFirstOrderNonlinearEquation(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
): FirstOrderNonlinearSolutionAnalysis | undefined

canonicalizePartialDifferentialEquation#

Raw WebAssembly: Default context

canonicalizePartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationCanonicalizationResult

Construct and independently verify exact canonical coordinates for a supported PDE.

Calling forms

Raw WebAssembly: Explicit context: Context.canonicalizePartialDifferentialEquation

canonicalizePartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationCanonicalizationResult

changePartialDifferentialEquationVariables#

Raw WebAssembly: Default context

changePartialDifferentialEquationVariables(
    problem: PartialDifferentialEquationProblem,
    target_variables: string[],
    forward_coordinates?: Expression[] | null,
    inverse_coordinates?: Expression[] | null,
    target_dependent_function?: UndefinedFunction | null,
): PartialDifferentialEquationTransformationResult

Transform a two-variable PDE through an exact user-supplied change of variables.

Calling forms

Raw WebAssembly: Explicit context: Context.changePartialDifferentialEquationVariables

changePartialDifferentialEquationVariables(
    problem: PartialDifferentialEquationProblem,
    target_variables: string[],
    forward_coordinates?: Expression[] | null,
    inverse_coordinates?: Expression[] | null,
    target_dependent_function?: UndefinedFunction | null,
): PartialDifferentialEquationTransformationResult

classifyPartialDifferentialEquation#

Raw WebAssembly: Default context

classifyPartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationClassification

Classify a validated scalar partial differential equation with exact structural analysis.

Calling forms

Raw WebAssembly: Explicit context: Context.classifyPartialDifferentialEquation

classifyPartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationClassification

classifySecondOrderPartialDifferentialEquation#

Raw WebAssembly: Default context

classifySecondOrderPartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationSecondOrderClassification

Classify a two-variable linear second-order PDE over real coordinates.

Calling forms

Raw WebAssembly: Explicit context: Context.classifySecondOrderPartialDifferentialEquation

classifySecondOrderPartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationSecondOrderClassification

classifyUnconstrained#

Raw WebAssembly: Default context

classifyUnconstrained(
    objective: Expression,
    variables: string[],
    point_variables: string[],
    point_values: Expression[],
): string

Classify one given interior point — supplied as the parallel point_variables / point_values lists — by Hessian definiteness, returning the verdict string.

Calling forms

Raw WebAssembly: Explicit context: Context.classifyUnconstrained

classifyUnconstrained(
    objective: Expression,
    variables: string[],
    point_variables: string[],
    point_values: Expression[],
): string

clearFunctionDeclarations#

Raw WebAssembly: Default context

clearFunctionDeclarations(function: UndefinedFunction): void

Withdraw everything declared about an undefined function.

Calling forms

Raw WebAssembly: Explicit context: Context.clearFunctionDeclarations

clearFunctionDeclarations(function: UndefinedFunction): void

compareRealRoots#

Raw WebAssembly: Default context

compareRealRoots(
    first_expression: Expression,
    first_variable: string,
    first_index: number,
    second_expression: Expression,
    second_variable: string,
    second_index: number,
): bigint | undefined

Compare two real algebraic numbers exactly, each given as the index-th smallest real root of a univariate polynomial over the rationals. Returns -1, 0, or 1 according to whether the first is less than, equal to, or greater than the second — a total order decided exactly (for example compare_real_roots of 2\sqrt{2} and 33\sqrt[3]{3} returns -1).

Calling forms

Raw WebAssembly: Explicit context: Context.compareRealRoots

compareRealRoots(
    first_expression: Expression,
    first_variable: string,
    first_index: number,
    second_expression: Expression,
    second_variable: string,
    second_index: number,
): bigint | undefined

constructPartialDifferentialEquationPointSymmetryAction#

Raw WebAssembly: Default context

constructPartialDifferentialEquationPointSymmetryAction(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationPointSymmetryAction

Integrate and compose the point-symmetry algebra of a PDE into its connected local action.

Calling forms

Raw WebAssembly: Explicit context: Context.constructPartialDifferentialEquationPointSymmetryAction

constructPartialDifferentialEquationPointSymmetryAction(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationPointSymmetryAction

countDistinctRealRoots#

Raw WebAssembly: Default context

countDistinctRealRoots(
    input_expression: Expression,
    variable: string,
): number | undefined

Number of distinct real roots over all of R\mathbb{R}.

Calling forms

Raw WebAssembly: Explicit context: Context.countDistinctRealRoots

countDistinctRealRoots(
    input_expression: Expression,
    variable: string,
): number | undefined

declareBijection#

Raw WebAssembly: Default context

declareBijection(
    function: UndefinedFunction,
    source: Expression,
    target: Expression,
): void

Declare an undefined function a bijection from a source set onto a target set.

Calling forms

Raw WebAssembly: Explicit context: Context.declareBijection

declareBijection(
    function: UndefinedFunction,
    source: Expression,
    target: Expression,
): void

declareBijectionWithInverse#

Raw WebAssembly: Default context

declareBijectionWithInverse(
    function: UndefinedFunction,
    source: Expression,
    target: Expression,
    inverse: UndefinedFunction,
): void

Declare an undefined function a bijection from a source set onto a target set, with a named inverse.

Calling forms

Raw WebAssembly: Explicit context: Context.declareBijectionWithInverse

declareBijectionWithInverse(
    function: UndefinedFunction,
    source: Expression,
    target: Expression,
    inverse: UndefinedFunction,
): void

derivePartialDifferentialEquationPointSymmetries#

Raw WebAssembly: Default context

derivePartialDifferentialEquationPointSymmetries(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationPointSymmetryAlgebra

Derive the point-symmetry algebra of a scalar PDE, each basis generator independently verified.

Calling forms

Raw WebAssembly: Explicit context: Context.derivePartialDifferentialEquationPointSymmetries

derivePartialDifferentialEquationPointSymmetries(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationPointSymmetryAlgebra

discoverPartialDifferentialEquation#

Raw WebAssembly: Default context

discoverPartialDifferentialEquation(
    equation: Expression,
    initial_conditions?: Expression[] | null,
    boundary_conditions?: Expression[] | null,
): PartialDifferentialEquationProblem

Discover the unique scalar partial differential equation signature from one governing residual, in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.discoverPartialDifferentialEquation

discoverPartialDifferentialEquation(
    equation: Expression,
    initial_conditions?: Expression[] | null,
    boundary_conditions?: Expression[] | null,
): PartialDifferentialEquationProblem

eliminateQuantifiers#

Raw WebAssembly: Default context

eliminateQuantifiers(
    matrix: Expression,
    quantifiers: string[],
    variables: string[],
): Expression

context.eliminate_quantifiers(Matrix, quantifiers: list[str], variables: list[VariableLike])

Calling forms

Raw WebAssembly: Explicit context: Context.eliminateQuantifiers

eliminateQuantifiers(
    matrix: Expression,
    quantifiers: string[],
    variables: string[],
): Expression

explicitPartialDifferentialEquationSolution#

Raw WebAssembly: Default context

explicitPartialDifferentialEquationSolution(
    solution: Expression,
    arbitrary_functions?: PartialDifferentialEquationArbitraryFunction[] | null,
    proof_obligations?: string[] | null,
): PartialDifferentialEquationSolutionFamily

Create an explicit partial differential equation solution family in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.explicitPartialDifferentialEquationSolution

explicitPartialDifferentialEquationSolution(
    solution: Expression,
    arbitrary_functions?: PartialDifferentialEquationArbitraryFunction[] | null,
    proof_obligations?: string[] | null,
): PartialDifferentialEquationSolutionFamily

findOrdinaryDifferentialEquationSymmetries#

Raw WebAssembly: Default context

findOrdinaryDifferentialEquationSymmetries(): OrdinaryDifferentialEquationPointSymmetrySearch

Find every first-order point symmetry proved within the fixed deterministic search budget.

Calling forms

Raw WebAssembly: Explicit context: Context.findOrdinaryDifferentialEquationSymmetries

findOrdinaryDifferentialEquationSymmetries(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
): OrdinaryDifferentialEquationPointSymmetrySearch

globalOptimumOnSemialgebraic#

Raw WebAssembly: Default context

globalOptimumOnSemialgebraic(
    objective: Expression,
    constraints: Expression,
    variables: string[],
    direction: string,
): OptimizationOutcome

context.global_optimum_on_semialgebraic(objective, constraints, variables: list[VariableLike], direction: str)

Calling forms

Raw WebAssembly: Explicit context: Context.globalOptimumOnSemialgebraic

globalOptimumOnSemialgebraic(
    objective: Expression,
    constraints: Expression,
    variables: string[],
    direction: string,
): OptimizationOutcome

implicitPartialDifferentialEquationSolution#

Raw WebAssembly: Default context

implicitPartialDifferentialEquationSolution(
    residual: Expression,
    arbitrary_functions?: PartialDifferentialEquationArbitraryFunction[] | null,
    proof_obligations?: string[] | null,
): PartialDifferentialEquationSolutionFamily

Create an implicit partial differential equation solution family in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.implicitPartialDifferentialEquationSolution

implicitPartialDifferentialEquationSolution(
    residual: Expression,
    arbitrary_functions?: PartialDifferentialEquationArbitraryFunction[] | null,
    proof_obligations?: string[] | null,
): PartialDifferentialEquationSolutionFamily

karushKuhnTuckerPoints#

Raw WebAssembly: Default context

karushKuhnTuckerPoints(
    objective: Expression,
    inequality_constraints: Expression[],
    equality_constraints: Expression[],
    variables: string[],
): OptimizationOutcome

The Karush–Kuhn–Tucker points found by active-set enumeration. Each inequality is read as inequality⁡≤0\operatorname{inequality} \le 0 and each equality as equality = 0.

Calling forms

Raw WebAssembly: Explicit context: Context.karushKuhnTuckerPoints

karushKuhnTuckerPoints(
    objective: Expression,
    inequality_constraints: Expression[],
    equality_constraints: Expression[],
    variables: string[],
): OptimizationOutcome

lagrangeCriticalPoints#

Raw WebAssembly: Default context

lagrangeCriticalPoints(
    objective: Expression,
    constraints: Expression[],
    variables: string[],
): OptimizationOutcome

The equality-constrained critical points via Lagrange multipliers: stationarity of L=f+∑iλigiL = f + \sum_i \lambda_i g_i together with each constraint = 0, classified by the bordered Hessian. The solved multiplier values appear in each point's multipliers.

Calling forms

Raw WebAssembly: Explicit context: Context.lagrangeCriticalPoints

lagrangeCriticalPoints(
    objective: Expression,
    constraints: Expression[],
    variables: string[],
): OptimizationOutcome

linearDifferentialOperator#

Raw WebAssembly: Default context

linearDifferentialOperator(): LinearDifferentialOperator | undefined

Extract a rational-coefficient scalar linear differential operator from an ODE residual.

Calling forms

Raw WebAssembly: Explicit context: Context.linearDifferentialOperator

linearDifferentialOperator(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
): LinearDifferentialOperator | undefined

minimalPolynomialOf#

Raw WebAssembly: Default context

minimalPolynomialOf(
    input_expression: Expression,
    variable: string,
): Expression | undefined

Return an exact polynomial in the requested variable for a first-class polynomial-root atom. Its dense primitive integer coefficients are independent of the source variable, coefficient scale, and current isolation precision.

Calling forms

Raw WebAssembly: Explicit context: Context.minimalPolynomialOf

minimalPolynomialOf(
    input_expression: Expression,
    variable: string,
): Expression | undefined

ordinaryDifferentialEquationSeries#

Raw WebAssembly: Default context

ordinaryDifferentialEquationSeries(): OrdinaryDifferentialEquationSeries | undefined

Derive an exact formal Taylor series from an ordinary-point initial-value problem.

Calling forms

Raw WebAssembly: Explicit context: Context.ordinaryDifferentialEquationSeries

ordinaryDifferentialEquationSeries(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    expansion_point: Expression,
    initial_derivatives: Expression[],
): OrdinaryDifferentialEquationSeries | undefined

partialDifferentialEquation#

Raw WebAssembly: Default context

partialDifferentialEquation(
    equation: Expression,
    dependent_function: UndefinedFunction,
    independent_variables: string[],
    initial_conditions?: Expression[] | null,
    boundary_conditions?: Expression[] | null,
): PartialDifferentialEquationProblem

Construct a validated scalar partial differential equation in the default Context, with an explicit dependent function and independent-variable order.

Calling forms

Raw WebAssembly: Explicit context: Context.partialDifferentialEquation

partialDifferentialEquation(
    equation: Expression,
    dependent_function: UndefinedFunction,
    independent_variables: string[],
    initial_conditions?: Expression[] | null,
    boundary_conditions?: Expression[] | null,
): PartialDifferentialEquationProblem

partialDifferentialEquationArbitraryFunction#

Raw WebAssembly: Explicit context

partialDifferentialEquationArbitraryFunction(
    preferred_name: string,
    arity: number,
): PartialDifferentialEquationArbitraryFunction

Allocate a collision-free arbitrary function for a PDE candidate family.

partialDifferentialEquationPointSymmetryGenerator#

Raw WebAssembly: Default context

partialDifferentialEquationPointSymmetryGenerator(
    problem: PartialDifferentialEquationProblem,
    coordinate_infinitesimals: Expression[],
    dependent_infinitesimal: Expression,
): PartialDifferentialEquationPointSymmetryGenerator

Construct a candidate point-symmetry generator of a PDE from its infinitesimals.

Calling forms

Raw WebAssembly: Explicit context: Context.partialDifferentialEquationPointSymmetryGenerator

partialDifferentialEquationPointSymmetryGenerator(
    problem: PartialDifferentialEquationProblem,
    coordinate_infinitesimals: Expression[],
    dependent_infinitesimal: Expression,
): PartialDifferentialEquationPointSymmetryGenerator

polynomialRoot#

Raw WebAssembly: Default context

polynomialRoot(
    input_expression: Expression,
    variable: string,
    index: number,
): Expression | undefined

Construct the zero-based index-th exact root of a univariate rational polynomial. Roots use canonical mathematical order: increasing real roots first, then non-real roots ordered by exact real part and exact imaginary part; indexing counts multiplicity. Coefficient scale and the variable name do not affect the resulting atom. Invalid, constant, non-rational, out-of-range, or uncertifiable inputs return None.

Calling forms

Raw WebAssembly: Explicit context: Context.polynomialRoot

polynomialRoot(
    input_expression: Expression,
    variable: string,
    index: number,
): Expression | undefined

realRootCount#

Raw WebAssembly: Default context

realRootCount(
    input_expression: Expression,
    variable: string,
    lower: bigint,
    upper: bigint,
): number | undefined

Number of distinct real roots of a univariate polynomial in the interval (lower, upper] via Sturm sequences. None when the expression is not a univariate polynomial over the rationals.

Calling forms

Raw WebAssembly: Explicit context: Context.realRootCount

realRootCount(
    input_expression: Expression,
    variable: string,
    lower: bigint,
    upper: bigint,
): number | undefined

realRootSign#

Raw WebAssembly: Default context

realRootSign(
    input_expression: Expression,
    variable: string,
    index: number,
): bigint | undefined

The exact sign (-1, 0, or 1) of the index-th smallest real root of a univariate polynomial over the rationals, decided exactly through the real algebraic number layer rather than by numeric evaluation. None when the expression is not a univariate polynomial over the rationals or index is out of range.

Calling forms

Raw WebAssembly: Explicit context: Context.realRootSign

realRootSign(
    input_expression: Expression,
    variable: string,
    index: number,
): bigint | undefined

reduceOrdinaryDifferentialEquationBySymmetry#

Raw WebAssembly: Default context

reduceOrdinaryDifferentialEquationBySymmetry(): FirstOrderNonlinearSolutionBranch | undefined

Reduce an equation through a symmetry previously verified by this context.

Calling forms

Raw WebAssembly: Explicit context: Context.reduceOrdinaryDifferentialEquationBySymmetry

reduceOrdinaryDifferentialEquationBySymmetry(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    symmetry: OrdinaryDifferentialEquationPointSymmetry,
): FirstOrderNonlinearSolutionBranch | undefined

rootsWithMultiplicities#

Raw WebAssembly: Default context

rootsWithMultiplicities(
    input_expression: Expression,
    variable: string,
): RootMultiplicity[]

Roots of a polynomial with their multiplicities. Notes: Python returns a dict keyed by root; WASM returns an array of root_multiplicity objects.

Calling forms

Raw WebAssembly: Explicit context: Context.rootsWithMultiplicities

rootsWithMultiplicities(
    input_expression: Expression,
    variable: string,
): RootMultiplicity[]

Raw WebAssembly: Expression method: Expression.rootsWithMultiplicities

rootsWithMultiplicities(variable: string): RootMultiplicity[]

separatePartialDifferentialEquation#

Raw WebAssembly: Default context

separatePartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationSeparationResult

Separate a supported PDE in the default context into exact one-variable ODEs.

Calling forms

Raw WebAssembly: Explicit context: Context.separatePartialDifferentialEquation

separatePartialDifferentialEquation(problem: PartialDifferentialEquationProblem): PartialDifferentialEquationSeparationResult

solve#

Raw WebAssembly: Default context

solve(input_expression: Expression, variable: string): Expression[]

Solve an equation (an equal node, or an expression implicitly equated to zero) for variable, returning a list of solutions. Solutions outside the solver's reach are simply absent — prefer solveset when you need an honest "unsolved" residue.

Calling forms

Raw WebAssembly: Explicit context: Context.solve

solve(input_expression: Expression, variable: string): Expression[]

Raw WebAssembly: Expression method: Expression.solve

solve(variable: string): Expression[]

solveDetailed#

Raw WebAssembly: Default context

solveDetailed(
    equation: Expression,
    variable: string,
    requested_domain: string,
    maximum_branches: number,
    maximum_nodes: number,
    maximum_algebraic_degree: number,
    proof_detail: string,
): EquationSolveReport

Solve an equation with certified roots, an exact unresolved residue, and proof metadata.

Calling forms

Raw WebAssembly: Explicit context: Context.solveDetailed

solveDetailed(
    equation: PythonExpressionInput,
    variable: PythonVariableInput,
    requested_domain: string,
    maximum_branches: number,
    maximum_nodes: number,
    maximum_algebraic_degree: number,
    proof_detail: string,
): EquationSolveReport

solveLinearRecurrence#

Raw WebAssembly: Default context

solveLinearRecurrence(
    equation: Expression,
    sequence_call: Expression,
    index_variable: string,
    initial_conditions?: Expression[] | null,
): Expression

Solve a linear recurrence with polynomial coefficients for the unknown sequence named by sequence_call (e.g. a(n)), via Petkovšek's Hyper algorithm. The general solution carries one fresh symbolic constant per basis element; initial_conditions is a list of (index, value) pairs fitted by back-substitution. Constant-coefficient polynomial-exponential forcing and coefficients rational in n and c^n are also solved; other shapes return the unevaluated recurrence_equation placeholder. WASM passes a flat interleaved array.

Calling forms

Raw WebAssembly: Explicit context: Context.solveLinearRecurrence

solveLinearRecurrence(
    equation: Expression,
    sequence_call: Expression,
    index_variable: string,
    initial_conditions?: Expression[] | null,
): Expression

solveOrdinaryDifferentialEquation#

Raw WebAssembly: Default context

solveOrdinaryDifferentialEquation(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    initial_conditions?: Expression[] | null,
): Expression

Solve an ODE for the unknown function named by dependent_function_call (e.g. y(x)).

Calling forms

Raw WebAssembly: Explicit context: Context.solveOrdinaryDifferentialEquation

solveOrdinaryDifferentialEquation(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    initial_conditions?: Expression[] | null,
): Expression

solveOrdinaryDifferentialEquationRequest#

Raw WebAssembly: Default context

solveOrdinaryDifferentialEquationRequest(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    scope: string,
    condition_residuals?: Expression[] | null,
    method?: string | null,
    regularity?: string | null,
): OrdinaryDifferentialEquationSolveResult

Solve one scalar ODE request with its data, method, scope, and regularity, keeping the evidence behind the answer.

Calling forms

Raw WebAssembly: Explicit context: Context.solveOrdinaryDifferentialEquationRequest

solveOrdinaryDifferentialEquationRequest(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    scope: string,
    condition_residuals?: Expression[] | null,
    method?: string | null,
    regularity?: string | null,
): OrdinaryDifferentialEquationSolveResult

solveOrdinaryDifferentialEquationSystemRequest#

Raw WebAssembly: Default context

solveOrdinaryDifferentialEquationSystemRequest(
    equations: Expression[],
    dependent_function_calls: Expression[],
    independent_variable: string,
    condition_residuals?: Expression[] | null,
    method?: string | null,
): OrdinaryDifferentialEquationSystemSolveResult

Solve a system of ODEs in one coordinate through the requested route, keeping the evidence behind the assignment.

Calling forms

Raw WebAssembly: Explicit context: Context.solveOrdinaryDifferentialEquationSystemRequest

solveOrdinaryDifferentialEquationSystemRequest(
    equations: Expression[],
    dependent_function_calls: Expression[],
    independent_variable: string,
    condition_residuals?: Expression[] | null,
    method?: string | null,
): OrdinaryDifferentialEquationSystemSolveResult

solveOrdinaryDifferentialEquationWithHistory#

Raw WebAssembly: Default context

solveOrdinaryDifferentialEquationWithHistory(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    history_value: Expression,
    history_start: Expression,
    history_end: Expression,
): OrdinaryDifferentialEquationSolveResult

Solve a retarded delay ODE from a constant history stated on an explicit interval.

Calling forms

Raw WebAssembly: Explicit context: Context.solveOrdinaryDifferentialEquationWithHistory

solveOrdinaryDifferentialEquationWithHistory(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    history_value: Expression,
    history_start: Expression,
    history_end: Expression,
): OrdinaryDifferentialEquationSolveResult

solveOrdinaryDifferentialEquationWithParticularSolution#

Raw WebAssembly: Default context

solveOrdinaryDifferentialEquationWithParticularSolution(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    particular_solution: Expression,
): Expression

Riccati-specific entry: with a known particular solution y1y_1, the substitution y=y1+1/vy = y_1 + 1/v reduces the Riccati equation to a linear first-order ODE. Falls back to the unevaluated placeholder when the shape is not Riccati.

Calling forms

Raw WebAssembly: Explicit context: Context.solveOrdinaryDifferentialEquationWithParticularSolution

solveOrdinaryDifferentialEquationWithParticularSolution(
    equation: Expression,
    dependent_function_call: Expression,
    independent_variable: string,
    particular_solution: Expression,
): Expression

solvePartialDifferentialEquation#

Raw WebAssembly: Default context

solvePartialDifferentialEquation(
    problem: PartialDifferentialEquationProblem,
    method?: string | null,
): PartialDifferentialEquationSolveResult

Run the sound partial differential equation dispatcher under a stable method name.

Calling forms

Raw WebAssembly: Explicit context: Context.solvePartialDifferentialEquation

solvePartialDifferentialEquation(
    problem: PartialDifferentialEquationProblem,
    method?: string | null,
): PartialDifferentialEquationSolveResult

solvePartialDifferentialEquationBySimilarityReduction#

Raw WebAssembly: Default context

solvePartialDifferentialEquationBySimilarityReduction(
    problem: PartialDifferentialEquationProblem,
    generator: PartialDifferentialEquationPointSymmetryGenerator,
): PartialDifferentialEquationSimilaritySolution

Reduce a two-variable PDE by a point symmetry, solve the reduction, and lift its family.

Calling forms

Raw WebAssembly: Explicit context: Context.solvePartialDifferentialEquationBySimilarityReduction

solvePartialDifferentialEquationBySimilarityReduction(
    problem: PartialDifferentialEquationProblem,
    generator: PartialDifferentialEquationPointSymmetryGenerator,
): PartialDifferentialEquationSimilaritySolution

solvePartialDifferentialEquationRequest#

Raw WebAssembly: Default context

solvePartialDifferentialEquationRequest(
    problem: PartialDifferentialEquationProblem,
    scope: string,
    geometric_domain?: string | null,
    regularity?: string | null,
    solution_class?: string | null,
    method?: string | null,
): PartialDifferentialEquationSolveResult

Solve a PDE request whose scope, geometry, regularity, and solution class are part of the question.

Calling forms

Raw WebAssembly: Explicit context: Context.solvePartialDifferentialEquationRequest

solvePartialDifferentialEquationRequest(
    problem: PartialDifferentialEquationProblem,
    scope: string,
    geometric_domain?: string | null,
    regularity?: string | null,
    solution_class?: string | null,
    method?: string | null,
): PartialDifferentialEquationSolveResult

solvePartialDifferentialEquationWithTransformAxisSpecifications#

Raw WebAssembly: Default context

solvePartialDifferentialEquationWithTransformAxisSpecifications(
    problem: PartialDifferentialEquationProblem,
    method: string,
    transform_axis_specifications: string[],
): PartialDifferentialEquationSolveResult

Solve a PDE with ordered explicit transform-axis specifications.

Calling forms

Raw WebAssembly: Explicit context: Context.solvePartialDifferentialEquationWithTransformAxisSpecifications

solvePartialDifferentialEquationWithTransformAxisSpecifications(
    problem: PartialDifferentialEquationProblem,
    method: string,
    transform_axis_specifications: string[],
): PartialDifferentialEquationSolveResult

solvePolynomialSystem#

Raw WebAssembly: Default context

solvePolynomialSystem(
    equations: Expression[],
    variables: string[],
): PolynomialSystemSolution

Solve a multivariate polynomial system { equation_i = 0 } for the named unknowns. Every other free symbol is a parameter carried symbolically in the coefficient ring. The solver is sound and honestly incomplete: every returned tuple has been back-substituted into every equation and reduced to a provable zero, and the verdict never overstates completeness.

Calling forms

Raw WebAssembly: Explicit context: Context.solvePolynomialSystem

solvePolynomialSystem(
    equations: Expression[],
    variables: string[],
): PolynomialSystemSolution

solveSemialgebraic#

Raw WebAssembly: Default context

solveSemialgebraic(matrix: Expression, variables: string[]): Expression

context.solve_semialgebraic(Matrix, variables: list[VariableLike])

Calling forms

Raw WebAssembly: Explicit context: Context.solveSemialgebraic

solveSemialgebraic(matrix: Expression, variables: string[]): Expression

solveSystemDetailed#

Raw WebAssembly: Default context

solveSystemDetailed(
    equations: Expression[],
    variables: string[],
    requested_domain: string,
    maximum_branches: number,
    maximum_nodes: number,
    maximum_algebraic_degree: number,
    proof_detail: string,
): SystemSolveReport

Solve a polynomial system with certified assignments, unresolved equations, and proof metadata.

Calling forms

Raw WebAssembly: Explicit context: Context.solveSystemDetailed

solveSystemDetailed(
    equations: PythonExpressionCollectionInput,
    variables: PythonVariableCollectionInput,
    requested_domain: string,
    maximum_branches: number,
    maximum_nodes: number,
    maximum_algebraic_degree: number,
    proof_detail: string,
): SystemSolveReport

solveset#

Raw WebAssembly: Default context

solveset(
    input_expression: Expression,
    variable: string,
    domain?: Expression | null,
): Expression

Solution set of the equation or inequality: a finite set, interval, union, image set (periodic families), or condition set (the honest "unsolved" residue).

Calling forms

Raw WebAssembly: Explicit context: Context.solveset

solveset(
    input_expression: Expression,
    variable: string,
    domain?: Expression | null,
): Expression

Raw WebAssembly: Expression method: Expression.solveset

solveset(variable: string, domain?: Expression | null): Expression

solvesetInDomain#

Raw WebAssembly: Default context

solvesetInDomain(
    equation: Expression,
    variable: string,
    domain: Expression,
): Expression

solveset restricted to an explicit domain set (e.g. real_line(), integer_set(), an interval).

Calling forms

Raw WebAssembly: Explicit context: Context.solvesetInDomain

solvesetInDomain(
    equation: Expression,
    variable: string,
    domain: Expression,
): Expression

unconstrainedCriticalPoints#

Raw WebAssembly: Default context

unconstrainedCriticalPoints(
    objective: Expression,
    variables: string[],
): OptimizationOutcome

The critical points of objective as the solutions of ∇f=0\nabla f = 0, each classified by the definiteness of the Hessian (Sylvester's criterion on the leading principal minors).

Calling forms

Raw WebAssembly: Explicit context: Context.unconstrainedCriticalPoints

unconstrainedCriticalPoints(
    objective: Expression,
    variables: string[],
): OptimizationOutcome

undefinedFunction#

Raw WebAssembly: Default context

undefinedFunction(name: string): UndefinedFunction

A callable proxy for a user-named function in the default context. Calling it with expression arguments builds the function-call expression.

Calling forms

Raw WebAssembly: Explicit context: Context.undefinedFunction

undefinedFunction(name: string): UndefinedFunction

verifyOrdinaryDifferentialEquationSystemSolution#

Raw WebAssembly: Default context

verifyOrdinaryDifferentialEquationSystemSolution(
    equations: Expression[],
    dependent_function_calls: Expression[],
    independent_variable: string,
    components: Expression[],
    generated_constants: Expression[],
    condition_residuals?: Expression[] | null,
): OrdinaryDifferentialEquationSystemVerificationReport

Verify a supplied assignment for a system of ODEs without solving it again.

Calling forms

Raw WebAssembly: Explicit context: Context.verifyOrdinaryDifferentialEquationSystemSolution

verifyOrdinaryDifferentialEquationSystemSolution(
    equations: Expression[],
    dependent_function_calls: Expression[],
    independent_variable: string,
    components: Expression[],
    generated_constants: Expression[],
    condition_residuals?: Expression[] | null,
): OrdinaryDifferentialEquationSystemVerificationReport

verifyPartialDifferentialEquationCoordinateTransformation#

Raw WebAssembly: Default context

verifyPartialDifferentialEquationCoordinateTransformation(
    problem: PartialDifferentialEquationProblem,
    transformation: PartialDifferentialEquationTransformationResult,
): PartialDifferentialEquationTransformationVerificationReport

Independently verify an exact PDE coordinate transformation.

Calling forms

Raw WebAssembly: Explicit context: Context.verifyPartialDifferentialEquationCoordinateTransformation

verifyPartialDifferentialEquationCoordinateTransformation(
    problem: PartialDifferentialEquationProblem,
    transformation: PartialDifferentialEquationTransformationResult,
): PartialDifferentialEquationTransformationVerificationReport

verifyPartialDifferentialEquationSolution#

Raw WebAssembly: Default context

verifyPartialDifferentialEquationSolution(
    problem: PartialDifferentialEquationProblem,
    solution: PartialDifferentialEquationSolutionFamily,
): PartialDifferentialEquationVerificationReport

Independently verify a partial differential equation candidate with exact residual reasoning.

Calling forms

Raw WebAssembly: Explicit context: Context.verifyPartialDifferentialEquationSolution

verifyPartialDifferentialEquationSolution(
    problem: PartialDifferentialEquationProblem,
    solution: PartialDifferentialEquationSolutionFamily,
): PartialDifferentialEquationVerificationReport

Expression#

Type

interface Expression

Public type placement for Expression.

NumeratorDenominator#

Type

interface NumeratorDenominator

Public type placement for NumeratorDenominator.

NumeratorDenominator.denominator#

NumeratorDenominator property

denominator: Expression

Returns the structural denominator from numerator_denominator.

NumeratorDenominator.numerator#

NumeratorDenominator property

numerator: Expression

Returns the structural numerator from numerator_denominator.

add#

Expression method

add(other: ExpressionLike): Expression

Sum of this expression and other.

Calling forms

Raw WebAssembly: Expression method: Expression.add

add(other: Expression): Expression

cancel#

Raw WebAssembly: Default context

cancel(input_expression: Expression): Expression

Rational normal form: write as a single fraction and divide out the polynomial GCD of numerator and denominator.

Calling forms

Raw WebAssembly: Explicit context: Context.cancel

cancel(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.cancel

cancel(): Expression

collect#

Raw WebAssembly: Default context

collect(input_expression: Expression, generator: Expression): Expression

Regroup the additive terms of expression by the numeric (integer or rational) powers of a single generator, which may be a variable or an arbitrary subexpression, writing the result as a sum of generator^k coefficient(k) terms without expanding the coefficients. For example, collecting ax^2 + bx^2 + ax - bx + c by x yields x^2(a + b) + x(a - b) + c.

Calling forms

Raw WebAssembly: Explicit context: Context.collect

collect(input_expression: Expression, generator: Expression): Expression

Raw WebAssembly: Expression method: Expression.collect

collect(generator: Expression): Expression

collectRadicals#

Raw WebAssembly: Default context

collectRadicals(input_expression: Expression): Expression

Collect like numeric radical kernels in a top-level sum. For example, a*sqrt(2) + b*sqrt(2) + 3 becomes (a + b)*sqrt(2) + 3.

Calling forms

Raw WebAssembly: Explicit context: Context.collectRadicals

collectRadicals(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.collectRadicals

collectRadicals(): Expression

combineLogarithm#

Raw WebAssembly: Default context

combineLogarithm(input_expression: Expression): Expression

log⁡a+log⁡b→log⁡(ab)\log a + \log b \rightarrow \log(a b) and nlog⁡a→log⁡(an)n\log a \rightarrow \log(a^n) when the transformation preserves the expression's domain.

Calling forms

Raw WebAssembly: Explicit context: Context.combineLogarithm

combineLogarithm(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.combineLogarithm

combineLogarithm(): Expression

combinePowers#

Raw WebAssembly: Default context

combinePowers(input_expression: Expression): Expression

Combine same-exponent powers into a single power of the merged base (x^a y^a -> (xy)^a) at every product node where the rewrite is provably valid. This identity is false across the branch cut of the complex logarithm — at x = y = -1 and a = 1/2 the left side is ii = -1 while the right side is sqrt(1) = 1 — so it fires only when the exponent is provably an integer or when every combined base is provably positive. Positivity of the merged base is not enough: (-2)^x (-3)^x is left alone, because at x = 1/2 combining it to 6^x would flip the sign of the result. Positive numeric-literal bases need no assumptions at all, so 2^x 3^x becomes 6^x and (1/2)^x 3^x becomes (3/2)^x.

Calling forms

Raw WebAssembly: Explicit context: Context.combinePowers

combinePowers(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.combinePowers

combinePowers(): Expression

combineTrigonometric#

Raw WebAssembly: Default context

combineTrigonometric(input_expression: Expression): Expression

Inverse direction of expand_trigonometric: product-to-sum and angle-recombination rules.

Calling forms

Raw WebAssembly: Explicit context: Context.combineTrigonometric

combineTrigonometric(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.combineTrigonometric

combineTrigonometric(): Expression

completeTheSquare#

Raw WebAssembly: Default context

completeTheSquare(
    input_expression: Expression,
    variable: Expression,
): Expression

Rewrite an expression that is quadratic in variable into the exact vertex form a*(variable - h)^2 + k, with h = -b/(2*a) and k = c - b^2/(4*a) built from the degree-2, degree-1 and degree-0 coefficients a, b, c of the expression collected in variable.

Calling forms

Raw WebAssembly: Explicit context: Context.completeTheSquare

completeTheSquare(
    input_expression: Expression,
    variable: Expression,
): Expression

Raw WebAssembly: Expression method: Expression.completeTheSquare

completeTheSquare(variable: Expression): Expression

denestPowers#

Raw WebAssembly: Default context

denestPowers(input_expression: Expression): Expression

Flatten a power of a power into a single power ((x^a)^b -> x^(a*b)) at every power node whose outer exponent is provably an integer, which is valid on the principal branch because an integer power never routes through log.

Calling forms

Raw WebAssembly: Explicit context: Context.denestPowers

denestPowers(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.denestPowers

denestPowers(): Expression

denestRadicals#

Raw WebAssembly: Default context

denestRadicals(input_expression: Expression): Expression

Denest the bounded depth-two real-radical subset bottom-up: rational quadratic surds, up to three inner quadratic surds, and cbrt(a + b*sqrt(c)) when its exact resolvent has a rational root. For example, sqrt(3 + 2*sqrt(2)) becomes 1 + sqrt(2) and cbrt(2 + sqrt(5)) becomes (1 + sqrt(5))/2.

Calling forms

Raw WebAssembly: Explicit context: Context.denestRadicals

denestRadicals(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.denestRadicals

denestRadicals(): Expression

denominator#

Raw WebAssembly: Default context

denominator(input_expression: Expression): Expression

Returns the structural denominator from numerator_denominator.

Calling forms

Raw WebAssembly: Explicit context: Context.denominator

denominator(input_expression: Expression): Expression

Expression method: Expression.denominator

denominator(): Expression

Raw WebAssembly: Expression method: Expression.denominator

denominator(): Expression

divide#

Expression method

divide(other: ExpressionLike): Expression

Quotient of this expression and other.

Calling forms

Raw WebAssembly: Expression method: Expression.divide

divide(other: Expression): Expression

duplicate#

Expression method

duplicate(): Expression

An independent handle to the same underlying expression. The recommended JavaScript facade duplicates values before passing them through ownership-transferring raw WASM arrays, so ordinary facade calls are non-destructive. Callers using facade.raw directly must still duplicate a handle they intend to retain. Python arguments are borrowed.

Calling forms

Raw WebAssembly: Expression method: Expression.duplicate

duplicate(): Expression

equals#

Raw WebAssembly: Expression method

equals(other: Expression): boolean

Mathematical equality test: simplify⁡(self⁡−other⁡)=0\operatorname{simplify}(\operatorname{self} - \operatorname{other}) = 0.

expand#

Raw WebAssembly: Default context

expand(input_expression: Expression): Expression

Expand products, integer powers, and supported algebraic forms.

Calling forms

Raw WebAssembly: Explicit context: Context.expand

expand(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.expand

expand(): Expression

expandComplex#

Raw WebAssembly: Default context

expandComplex(input_expression: Expression): Expression

Decompose an expression exactly as real_part(Expression) + i*imaginary_part(Expression).

Calling forms

Raw WebAssembly: Explicit context: Context.expandComplex

expandComplex(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.expandComplex

expandComplex(): Expression

expandLogarithm#

Raw WebAssembly: Default context

expandLogarithm(input_expression: Expression): Expression

log⁡(ab)→log⁡a+log⁡b\log(a b) \rightarrow \log a + \log b and log⁡(an)→nlog⁡a\log(a^n) \rightarrow n\log a, applied only where the operands are provably positive. Operands of unknown sign pass through unchanged.

Calling forms

Raw WebAssembly: Explicit context: Context.expandLogarithm

expandLogarithm(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.expandLogarithm

expandLogarithm(): Expression

expandPowerBase#

Raw WebAssembly: Default context

expandPowerBase(input_expression: Expression): Expression

Split a power whose base is structurally a product into a product of powers ((xy)^a -> x^a y^a) at every power node whose exponent is provably an integer — the only unconditionally valid gate for this direction, since the split introduces x^a and y^a individually and each needs its own base off the cut. With n declared an integer, (xy)^n becomes x^n y^n.

Calling forms

Raw WebAssembly: Explicit context: Context.expandPowerBase

expandPowerBase(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.expandPowerBase

expandPowerBase(): Expression

expandTrigonometric#

Raw WebAssembly: Default context

expandTrigonometric(input_expression: Expression): Expression

Expand trig/hyperbolic functions of sums and multiple angles.

Calling forms

Raw WebAssembly: Explicit context: Context.expandTrigonometric

expandTrigonometric(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.expandTrigonometric

expandTrigonometric(): Expression

expressionType#

Raw WebAssembly: Expression method

expressionType(): string

Top-level node kind: one of integer, rational, symbol, constant, sum, product, power, factorial, function_call, derivative, integral, summation, laplace_transform, inverse_laplace_transform, fourier_transform, inverse_fourier_transform, piecewise, ordinary_differential_equation, recurrence_equation, interval, finite_set, set_union, set_intersection, set_complement, image_set, condition_set.

factor#

Raw WebAssembly: Default context

factor(
    input_expression: Expression,
    gaussian?: boolean | null,
): Expression

Polynomial factorization over the rationals (full multivariate).

Calling forms

Raw WebAssembly: Explicit context: Context.factor

factor(
    input_expression: Expression,
    gaussian?: boolean | null,
): Expression

Raw WebAssembly: Expression method: Expression.factor

factor(gaussian?: boolean | null): Expression

factorCommonTerms#

Raw WebAssembly: Default context

factorCommonTerms(input_expression: Expression): Expression

Pull the greatest common monomial and exact rational content out of the terms of a general — not necessarily polynomial — sum, producing a single product of a common factor and a reduced sum, without invoking full polynomial factorization. For example, 6*x*y + 9*x^2*sin(z) becomes 3*x*(2*y + 3*x*sin(z)).

Calling forms

Raw WebAssembly: Explicit context: Context.factorCommonTerms

factorCommonTerms(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.factorCommonTerms

factorCommonTerms(): Expression

freeVariables#

Raw WebAssembly: Expression method

freeVariables(): string[]

Sorted names of the free symbols. Bound binders (integration variables, image-set parameters) are excluded; the constants pi/e are not symbols.

imageSetDomain#

Raw WebAssembly: Expression method

imageSetDomain(): Expression

The domain an image_set expression maps over.

imageSetLambdaExpression#

Raw WebAssembly: Expression method

imageSetLambdaExpression(): Expression

The body an image_set expression applies to its bound variable.

imageSetVariable#

Raw WebAssembly: Expression method

imageSetVariable(): string

The name of the variable an image_set expression binds.

imaginaryPart#

Raw WebAssembly: Default context

imaginaryPart(input_expression: Expression): Expression

Return the exact imaginary component of an expression. For example, if y is declared real, imaginary_part(exp(i*y)) is sin(y).

Calling forms

Explicit context: Context.imaginaryPart

imaginaryPart(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.imaginaryPart

imaginaryPart(input_expression: Expression): Expression

SymiFacade method: SymiFacade.imaginaryPart

imaginaryPart(value: ExpressionLike): Expression

Expression method: Expression.imaginaryPart

imaginaryPart(): Expression

Raw WebAssembly: Expression method: Expression.imaginaryPart

imaginaryPart(): Expression

integralIntegrand#

Raw WebAssembly: Expression method

integralIntegrand(): Expression

The integrand of an unevaluated integral expression.

integralLowerBound#

Raw WebAssembly: Expression method

integralLowerBound(): Expression | undefined

None for indefinite integrals.

integralUpperBound#

Raw WebAssembly: Expression method

integralUpperBound(): Expression | undefined

The upper bound of an unevaluated integral, or None when it is indefinite.

integralVariable#

Raw WebAssembly: Expression method

integralVariable(): string

The name of the variable an unevaluated integral integrates over.

intervalLower#

Raw WebAssembly: Expression method

intervalLower(): Expression

Lower endpoint of an interval node; raises on other shapes.

intervalUpper#

Raw WebAssembly: Expression method

intervalUpper(): Expression

The upper endpoint of an interval expression.

isAlgebraic#

Expression method

isAlgebraic(): boolean | null

Whether the expression is known to be algebraic.

Calling forms

Raw WebAssembly: Expression method: Expression.isAlgebraic

isAlgebraic(): boolean | undefined

isComplex#

Expression method

isComplex(): boolean | null

Whether the expression is known to be finite complex.

Calling forms

Raw WebAssembly: Expression method: Expression.isComplex

isComplex(): boolean | undefined

isComposite#

Expression method

isComposite(): boolean | null

Whether the expression is known to be composite.

Calling forms

Raw WebAssembly: Expression method: Expression.isComposite

isComposite(): boolean | undefined

isDefined#

Expression method

isDefined(): boolean | null

Whether the expression is known to denote one scalar value at the active point.

Calling forms

Raw WebAssembly: Expression method: Expression.isDefined

isDefined(): boolean | undefined

isEquality#

Raw WebAssembly: Expression method

isEquality(): boolean

True for equal(a, b) relation nodes.

isEven#

Expression method

isEven(): boolean | null

Whether the expression is known to be even.

Calling forms

Raw WebAssembly: Expression method: Expression.isEven

isEven(): boolean | undefined

isExtendedReal#

Expression method

isExtendedReal(): boolean | null

Whether the expression is known to be extended-real.

Calling forms

Raw WebAssembly: Expression method: Expression.isExtendedReal

isExtendedReal(): boolean | undefined

isFinite#

Expression method

isFinite(): boolean | null

Whether the expression is known finite, or None when the assumptions cannot decide it.

Calling forms

Raw WebAssembly: Expression method: Expression.isFinite

isFinite(): boolean | undefined

isFiniteSet#

Raw WebAssembly: Expression method

isFiniteSet(): boolean

Whether this expression is a finite_set.

isImageSet#

Raw WebAssembly: Expression method

isImageSet(): boolean

Whether this expression is an image_set.

isInfinite#

Expression method

isInfinite(): boolean | null

Whether the expression is known to be infinite.

Calling forms

Raw WebAssembly: Expression method: Expression.isInfinite

isInfinite(): boolean | undefined

isInteger#

Expression method

isInteger(): boolean | null

Whether the expression is known to be an integer, or None when the assumptions cannot decide it.

Calling forms

Raw WebAssembly: Expression method: Expression.isInteger

isInteger(): boolean | undefined

isIntegral#

Raw WebAssembly: Expression method

isIntegral(): boolean

True for unevaluated integral nodes. (Distinct from the assumption query is_integer.)

isInterval#

Raw WebAssembly: Expression method

isInterval(): boolean

Whether this expression is an interval.

isIrrational#

Expression method

isIrrational(): boolean | null

Whether the expression is known to be irrational.

Calling forms

Raw WebAssembly: Expression method: Expression.isIrrational

isIrrational(): boolean | undefined

isMatrix#

Raw WebAssembly: Expression method

readonly isMatrix: boolean

Always False on expressions and True on matrix objects, so mixed result streams can be discriminated.

isNatural#

Expression method

isNatural(): boolean | null

Whether the expression is known to be natural.

Calling forms

Raw WebAssembly: Expression method: Expression.isNatural

isNatural(): boolean | undefined

isNegative#

Expression method

isNegative(): boolean | null

Whether the expression is known to be negative, or None when the assumptions cannot decide it.

Calling forms

Raw WebAssembly: Expression method: Expression.isNegative

isNegative(): boolean | undefined

isNonnegative#

Expression method

isNonnegative(): boolean | null

Answers whether the expression is nonnegative in the extended-real universe. Non-real values are refuted; unsupported real expressions remain None.

Calling forms

Raw WebAssembly: Expression method: Expression.isNonnegative

isNonnegative(): boolean | undefined

isNonpositive#

Expression method

isNonpositive(): boolean | null

Whether the expression is known to be nonpositive.

Calling forms

Raw WebAssembly: Expression method: Expression.isNonpositive

isNonpositive(): boolean | undefined

isNonzero#

Expression method

isNonzero(): boolean | null

Whether the expression is known to be nonzero, or None when the assumptions cannot decide it.

Calling forms

Raw WebAssembly: Expression method: Expression.isNonzero

isNonzero(): boolean | undefined

isOdd#

Expression method

isOdd(): boolean | null

Whether the expression is known to be odd.

Calling forms

Raw WebAssembly: Expression method: Expression.isOdd

isOdd(): boolean | undefined

isPositive#

Expression method

isPositive(): boolean | null

Whether the expression is known to be positive, or None when the assumptions cannot decide it.

Calling forms

Raw WebAssembly: Expression method: Expression.isPositive

isPositive(): boolean | undefined

isPositiveInteger#

Expression method

isPositiveInteger(): boolean | null

Whether the expression is known to be a positive integer.

Calling forms

Raw WebAssembly: Expression method: Expression.isPositiveInteger

isPositiveInteger(): boolean | undefined

isRational#

Expression method

isRational(): boolean | null

Whether the expression is known to be rational, or None when the assumptions cannot decide it.

Calling forms

Raw WebAssembly: Expression method: Expression.isRational

isRational(): boolean | undefined

isReal#

Expression method

isReal(): boolean | null

Whether the expression is known to be real, or None when the assumptions cannot decide it.

Calling forms

Raw WebAssembly: Expression method: Expression.isReal

isReal(): boolean | undefined

isStale#

Raw WebAssembly: Expression method

isStale(): boolean

Reports whether resetting the owning context invalidated the expression. All other operations reject a stale receiver with an actionable error.

isTranscendental#

Expression method

isTranscendental(): boolean | null

Whether the expression is known to be transcendental.

Calling forms

Raw WebAssembly: Expression method: Expression.isTranscendental

isTranscendental(): boolean | undefined

isUnion#

Raw WebAssembly: Expression method

isUnion(): boolean

Whether this expression is a union of sets.

isZero#

Expression method

isZero(): boolean | null

Whether the expression is known to be zero.

Calling forms

Raw WebAssembly: Expression method: Expression.isZero

isZero(): boolean | undefined

multiply#

Expression method

multiply(other: ExpressionLike): Expression

Product of this expression and other.

Calling forms

Raw WebAssembly: Expression method: Expression.multiply

multiply(other: Expression): Expression

negate#

Expression method

negate(): Expression

Negation of this expression.

Calling forms

Raw WebAssembly: Expression method: Expression.negate

negate(): Expression

nodeCount#

Raw WebAssembly: Expression method

nodeCount(): number

Number of nodes in the expression tree — the size measure used by the simplifier; useful for comparing alternative forms.

numerator#

Raw WebAssembly: Default context

numerator(input_expression: Expression): Expression

Returns the structural numerator from numerator_denominator.

Calling forms

Raw WebAssembly: Explicit context: Context.numerator

numerator(input_expression: Expression): Expression

Expression method: Expression.numerator

numerator(): Expression

Raw WebAssembly: Expression method: Expression.numerator

numerator(): Expression

numeratorDenominator#

Raw WebAssembly: Default context

numeratorDenominator(input_expression: Expression): Expression[]

Returns the exact structural numerator and denominator without combining sums or cancelling factors. Python returns a two-tuple and the JavaScript facade returns a record.

Calling forms

Explicit context: Context.numeratorDenominator

numeratorDenominator(value: ExpressionLike): NumeratorDenominator

Raw WebAssembly: Explicit context: Context.numeratorDenominator

numeratorDenominator(input_expression: Expression): Expression[]

SymiFacade method: SymiFacade.numeratorDenominator

numeratorDenominator(value: ExpressionLike): NumeratorDenominator

Expression method: Expression.numeratorDenominator

numeratorDenominator(): NumeratorDenominator

Raw WebAssembly: Expression method: Expression.numeratorDenominator

numeratorDenominator(): Expression[]

partialFractions#

Raw WebAssembly: Default context

partialFractions(
    input_expression: Expression,
    variable: string,
): Expression

Decompose a rational expression into polynomial and proper-fraction terms over the named variable.

Calling forms

Raw WebAssembly: Explicit context: Context.partialFractions

partialFractions(
    input_expression: Expression,
    variable: string,
): Expression

Raw WebAssembly: Expression method: Expression.partialFractions

partialFractions(variable: string): Expression

piecewiseFold#

Raw WebAssembly: Default context

piecewiseFold(input_expression: Expression): Expression

Expand abs, signum, and heaviside_step definitions recursively and fold piecewise operands of sums, products, powers, factorials, and ordinary function calls into one top-level piecewise expression. For example, x*abs(x - 1) becomes the exact two-branch definition with values x*(x - 1) and -x*(x - 1).

Calling forms

Raw WebAssembly: Explicit context: Context.piecewiseFold

piecewiseFold(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.piecewiseFold

piecewiseFold(): Expression

power#

Expression method

power(exponent: ExpressionLike): Expression

This expression raised to exponent.

Calling forms

Raw WebAssembly: Expression method: Expression.power

power(exponent: Expression): Expression

presentationNormalForm#

Raw WebAssembly: Default context

presentationNormalForm(input_expression: Expression): Expression

The cheap, bounded display-oriented pass run at solver output seams: rational normal form only, kept only when the weighted complexity does not grow. Unlike simplify it never runs the full heuristic ladder, so it is fast and deterministic in shape.

Calling forms

Raw WebAssembly: Explicit context: Context.presentationNormalForm

presentationNormalForm(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.presentationNormalForm

presentationNormalForm(): Expression

rationalizeDenominator#

Raw WebAssembly: Default context

rationalizeDenominator(input_expression: Expression): Expression

Rationalize a radical denominator through exact multiquadratic conjugation or extended-Euclidean inversion in one rational n-th-root extension. For example, 1 / (sqrt(3) - sqrt(2)) becomes sqrt(3) + sqrt(2), and 1 / (1 + 2^(1/3)) becomes (1 - 2^(1/3) + 2^(2/3))/3.

Calling forms

Raw WebAssembly: Explicit context: Context.rationalizeDenominator

rationalizeDenominator(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.rationalizeDenominator

rationalizeDenominator(): Expression

realPart#

Raw WebAssembly: Default context

realPart(input_expression: Expression): Expression

Return the exact real component of an expression. For example, if y is declared real, real_part(exp(i*y)) is cos(y).

Calling forms

Explicit context: Context.realPart

realPart(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.realPart

realPart(input_expression: Expression): Expression

SymiFacade method: SymiFacade.realPart

realPart(value: ExpressionLike): Expression

Expression method: Expression.realPart

realPart(): Expression

Raw WebAssembly: Expression method: Expression.realPart

realPart(): Expression

rewriteAsExponential#

Raw WebAssembly: Default context

rewriteAsExponential(input_expression: Expression): Expression

Euler-form rewriter: replace every trigonometric/hyperbolic call with the equivalent complex-exponential expression (bottom-up).

Calling forms

Raw WebAssembly: Explicit context: Context.rewriteAsExponential

rewriteAsExponential(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.rewriteAsExponential

rewriteAsExponential(): Expression

rewriteAsTrigonometric#

Raw WebAssembly: Default context

rewriteAsTrigonometric(input_expression: Expression): Expression

Inverse of rewrite_as_exponential.

Calling forms

Raw WebAssembly: Explicit context: Context.rewriteAsTrigonometric

rewriteAsTrigonometric(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.rewriteAsTrigonometric

rewriteAsTrigonometric(): Expression

rewriteInTermsOf#

Raw WebAssembly: Default context

rewriteInTermsOf(
    target: Expression,
    source: Expression,
    replacement: Expression,
): Expression

Rewrite the target in terms of replacement under the caller-supplied formal relation replacement = source.

Calling forms

Raw WebAssembly: Explicit context: Context.rewriteInTermsOf

rewriteInTermsOf(
    target: Expression,
    source: Expression,
    replacement: Expression,
): Expression

Raw WebAssembly: Expression method: Expression.rewriteInTermsOf

rewriteInTermsOf(
    source: Expression,
    replacement: Expression,
): Expression

rewriteSpecialFunctions#

Raw WebAssembly: Default context

rewriteSpecialFunctions(
    input_expression: Expression,
    basis: string,
): Expression

Rewrite beta, gamma, binomial, factorial, and rising-factorial representations into the requested "gamma", "factorial", "binomial", or "rising_factorial" basis. The exact identities are applied only when their domain gates are proven: factorial and binomial conversions require the relevant non-negative integers, rising-factorial conversions additionally require a positive base, and beta-to-gamma requires two positive arguments. For example, with n declared a positive integer, n! may be rewritten into the gamma basis and gamma(n) into the factorial basis. A site with unconstrained arguments is returned unchanged. Gamma ratios with a literal non-negative argument offset are minimized to their exact shifted product.

Calling forms

Raw WebAssembly: Explicit context: Context.rewriteSpecialFunctions

rewriteSpecialFunctions(
    input_expression: Expression,
    basis: string,
): Expression

Raw WebAssembly: Expression method: Expression.rewriteSpecialFunctions

rewriteSpecialFunctions(basis: string): Expression

rewriteTrigonometricBasis#

Raw WebAssembly: Default context

rewriteTrigonometricBasis(
    input_expression: Expression,
    basis: string,
): Expression

Rewrite trigonometric and hyperbolic calls toward one of five named bases: sine_cosine, tangent, exponential, trigonometric, or hyperbolic.

Calling forms

Raw WebAssembly: Explicit context: Context.rewriteTrigonometricBasis

rewriteTrigonometricBasis(
    input_expression: Expression,
    basis: string,
): Expression

Raw WebAssembly: Expression method: Expression.rewriteTrigonometricBasis

rewriteTrigonometricBasis(basis: string): Expression

simplify#

Raw WebAssembly: Default context

simplify(input_expression: Expression): Expression

The full heuristic simplification ladder: weighted-complexity-guided search over rational normal form, radical denesting, trigonometric/log rewrites, parity and absolute-value rules. The result is never accepted if its weighted complexity grows. Principal square roots extract structural square content only under a realness proof: sqrt(x^2) becomes abs(x) for real x, while sqrt(z^2) remains unchanged for a default-complex z.

Calling forms and variants

Raw WebAssembly: Explicit context: Context.simplify

simplify(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.simplify

simplify(): Expression

Variant using local assumptions — AssumptionScope method: AssumptionScope.simplify

simplify(value: ExpressionLike): Expression

Variant using local assumptions — Raw WebAssembly: AssumptionScope method: AssumptionScope.simplify

simplify(input_expression: Expression): Expression

simplifyTrigonometric#

Raw WebAssembly: Default context

simplifyTrigonometric(input_expression: Expression): Expression

Fu-style trigonometric simplification toward fewer/cheaper trig calls.

Calling forms

Raw WebAssembly: Explicit context: Context.simplifyTrigonometric

simplifyTrigonometric(input_expression: Expression): Expression

Raw WebAssembly: Expression method: Expression.simplifyTrigonometric

simplifyTrigonometric(): Expression

simplifyUnderConstraint#

Raw WebAssembly: Default context

simplifyUnderConstraint(
    input_expression: Expression,
    constraint: Expression,
): Expression

Simplify an expression under a local bounded logical constraint without changing symbol assumptions.

Calling forms

Raw WebAssembly: Explicit context: Context.simplifyUnderConstraint

simplifyUnderConstraint(
    input_expression: Expression,
    constraint: Expression,
): Expression

Raw WebAssembly: Expression method: Expression.simplifyUnderConstraint

simplifyUnderConstraint(constraint: Expression): Expression

substitute#

Raw WebAssembly: Expression method

substitute(variable: string, value: Expression): Expression

Replace every free occurrence of the named symbol with value, re-running auto-simplification.

subtract#

Expression method

subtract(other: ExpressionLike): Expression

Difference of this expression and other.

Calling forms

Raw WebAssembly: Expression method: Expression.subtract

subtract(other: Expression): Expression

symbolName#

Expression method

symbolName(): string

Returns the name of a symbol expression and rejects every other expression kind.

Calling forms

Raw WebAssembly: Expression method: Expression.symbolName

symbolName(): string

toList#

Raw WebAssembly: Expression method

toList(): Expression[]

Elements of a finite set; raises on other shapes. Python finite sets also support len() and iteration.

together#

Raw WebAssembly: Default context

together(input_expression: Expression): Expression

Combine a sum of fractions over a common denominator. On Symi's representation together and cancel coincide; both names exist because they are distinct user intents.

Calling forms

Explicit context: Context.together

together(value: ExpressionLike): Expression

Raw WebAssembly: Explicit context: Context.together

together(input_expression: Expression): Expression

SymiFacade method: SymiFacade.together

together(value: ExpressionLike): Expression

Expression method: Expression.together

together(): Expression

Raw WebAssembly: Expression method: Expression.together

together(): Expression

unionComponents#

Raw WebAssembly: Expression method

unionComponents(): Expression[]

The components of a set union, as a list of expressions.

Circle2d#

Raw WebAssembly: Circle2d constructor

new Circle2d(center: Point2d, radius: Expression)

Construct the circle with the given center and radius.

Circle2d.area#

Raw WebAssembly: Circle2d method

area(): Expression

Area of the circle, πr2\pi r^2.

Circle2d.center#

Raw WebAssembly: Circle2d property

readonly center: Point2d

The center of the circle.

Circle2d.circumference#

Raw WebAssembly: Circle2d method

circumference(): Expression

Circumference of the circle.

Circle2d.equation#

Raw WebAssembly: Circle2d method

equation(variable_x: string, variable_y: string): Expression

The circle as an equal relation in x and y.

Circle2d.radius#

Raw WebAssembly: Circle2d property

readonly radius: Expression

The radius of the circle.

Circle2d.toString#

Raw WebAssembly: Circle2d method

toString(): string

The mathematical text of this object, as a JavaScript string.

Point2d#

Raw WebAssembly: Point2d constructor

new Point2d(x: Expression, y: Expression)

Construct the point (x, y).

Point2d.coordinates#

Raw WebAssembly: Point2d method

coordinates(): Expression[]

The (x, y) coordinate pair of the point.

Point2d.distanceTo#

Raw WebAssembly: Point2d method

distanceTo(other: Point2d): Expression

Euclidean distance, exact (a sqrt expression in general).

Point2d.intersection#

Raw WebAssembly: Point2d method

intersection(other: any): any[]

Return the complete exact boundary intersection with another supported plane geometry.

Calling forms and variants

Variant for this object — Raw WebAssembly: Circle2d method: Circle2d.intersection

intersection(other: any): any[]

Variant for this object — Raw WebAssembly: Polygon2d method: Polygon2d.intersection

intersection(other: any): any[]

Variant for this object — Raw WebAssembly: Segment2d method: Segment2d.intersection

intersection(other: any): any[]

Variant for this object — Raw WebAssembly: Triangle2d method: Triangle2d.intersection

intersection(other: any): any[]

Point2d.toString#

Raw WebAssembly: Point2d method

toString(): string

The mathematical text of this object, as a JavaScript string.

Point2d.x#

Raw WebAssembly: Point2d property

readonly x: Expression

The x coordinate of the point.

Point2d.y#

Raw WebAssembly: Point2d property

readonly y: Expression

The y coordinate of the point.

Polygon2d#

Raw WebAssembly: Polygon2d constructor

new Polygon2d(vertices: Point2d[])

Construct the polygon with the given vertices, in order.

Polygon2d.area#

Raw WebAssembly: Polygon2d method

area(): Expression

Shoelace area of the polygon.

Calling forms and variants

Variant for this object — Raw WebAssembly: Triangle2d method: Triangle2d.area

area(): Expression

Polygon2d.centroid#

Raw WebAssembly: Polygon2d method

centroid(): Point2d

Centroid of the polygon's vertices.

Calling forms and variants

Variant for this object — Raw WebAssembly: Triangle2d method: Triangle2d.centroid

centroid(): Point2d

Polygon2d.interiorAngles#

Raw WebAssembly: Polygon2d method

interiorAngles(): VertexAngle[]

Each vertex paired with its interior angle. Notes: WASM returns vertex_angle objects with vertex/angle getters.

Calling forms and variants

Variant for this object — Raw WebAssembly: Triangle2d method: Triangle2d.interiorAngles

interiorAngles(): VertexAngle[]

Polygon2d.perimeter#

Raw WebAssembly: Polygon2d method

perimeter(): Expression

Perimeter of the polygon, the sum of its edge lengths.

Calling forms and variants

Variant for this object — Raw WebAssembly: Triangle2d method: Triangle2d.perimeter

perimeter(): Expression

Polygon2d.toString#

Raw WebAssembly: Polygon2d method

toString(): string

The mathematical text of this object, as a JavaScript string.

Segment2d#

Raw WebAssembly: Segment2d constructor

new Segment2d(start: Point2d, end: Point2d)

Construct the segment running from start to end.

Segment2d.length#

Raw WebAssembly: Segment2d method

length(): Expression

Length of the segment.

Segment2d.midpoint#

Raw WebAssembly: Segment2d method

midpoint(): Point2d

Midpoint of the segment.

Segment2d.perpendicularBisectorEquation#

Raw WebAssembly: Segment2d method

perpendicularBisectorEquation(
    variable_x: string,
    variable_y: string,
): Expression

The bisector line as an equal relation in x and y.

Segment2d.toString#

Raw WebAssembly: Segment2d method

toString(): string

The mathematical text of this object, as a JavaScript string.

Triangle2d#

Raw WebAssembly: Triangle2d constructor

new Triangle2d(point_a: Point2d, point_b: Point2d, point_c: Point2d)

Construct the triangle with the given vertices.

Triangle2d.toString#

Raw WebAssembly: Triangle2d method

toString(): string

The mathematical text of this object, as a JavaScript string.

VertexAngle.angle#

Raw WebAssembly: VertexAngle property

readonly angle: Expression

The interior angle at the vertex.

VertexAngle.vertex#

Raw WebAssembly: VertexAngle property

readonly vertex: Point2d

The vertex the angle is measured at.

circle2d#

Raw WebAssembly: Explicit context

circle2d(center: Point2d, radius: Expression): Circle2d

Construct the circle with the given center and radius.

point2d#

Raw WebAssembly: Explicit context

point2d(x: Expression, y: Expression): Point2d

Construct the point (x, y).

polygon2d#

Raw WebAssembly: Explicit context

polygon2d(vertices: Point2d[]): Polygon2d

Simple polygon from its vertex list in order; degenerate inputs raise.

segment2d#

Raw WebAssembly: Explicit context

segment2d(start: Point2d, end: Point2d): Segment2d

Construct the segment running from start to end.

triangle2d#

Raw WebAssembly: Explicit context

triangle2d(
    point_a: Point2d,
    point_b: Point2d,
    point_c: Point2d,
): Triangle2d

Collinear vertices raise.

BulkNumericOutcome.diagnostic#

Raw WebAssembly: BulkNumericOutcome property

readonly diagnostic: string | undefined

The item diagnostic when the item declined or failed.

BulkNumericOutcome.index#

Raw WebAssembly: BulkNumericOutcome property

readonly index: number

The original input position of this outcome.

BulkNumericOutcome.value#

Raw WebAssembly: BulkNumericOutcome property

readonly value: NumericValue | undefined

The numeric value when the item evaluated.

CompiledNumericFunction.capabilities#

Raw WebAssembly: CompiledNumericFunction method

capabilities(): NumericFunctionCapabilities

Report what this function can do and how; derivative and Jacobian availability come from compiling them once.

CompiledNumericFunction.derivative#

Raw WebAssembly: CompiledNumericFunction method

derivative(variable: Expression): CompiledNumericFunction

Compile the checked exact derivative of every output with respect to one input variable.

CompiledNumericFunction.domain#

Raw WebAssembly: CompiledNumericFunction property

readonly domain: string

The input and result domain chosen at compilation: "real" or "complex".

CompiledNumericFunction.evaluateBatchComplex#

Raw WebAssembly: CompiledNumericFunction method

evaluateBatchComplex(
    real_coordinates: Float64Array,
    imaginary_coordinates: Float64Array,
    point_count: number,
): NumericFunctionBatch

Evaluate split real and imaginary Float64Array coordinates at point_count points.

CompiledNumericFunction.evaluateBatchReal#

Raw WebAssembly: CompiledNumericFunction method

evaluateBatchReal(
    coordinates: Float64Array,
    point_count: number,
): NumericFunctionBatch

Evaluate a Float64Array of real coordinates at point_count points. The coordinates are copied before evaluation.

CompiledNumericFunction.evaluateDetailedComplex#

Raw WebAssembly: CompiledNumericFunction method

evaluateDetailedComplex(
    real_arguments: Float64Array,
    imaginary_arguments: Float64Array,
): NumericFunctionEvaluation

Evaluate every output at one point given as split real and imaginary Float64Array coordinates, keeping the value or the status of each.

CompiledNumericFunction.evaluateDetailedReal#

Raw WebAssembly: CompiledNumericFunction method

evaluateDetailedReal(arguments: Float64Array): NumericFunctionEvaluation

Evaluate every output at one real point given as a Float64Array, keeping the value or the status of each.

CompiledNumericFunction.evaluateIntervals#

Raw WebAssembly: CompiledNumericFunction method

evaluateIntervals(
    lower_bounds: Float64Array,
    upper_bounds: Float64Array,
): NumericFunctionIntervalEvaluation

Enclose every output over one box of real inputs, given as Float64Arrays holding one finite lower and upper bound for each variable in variable order.

CompiledNumericFunction.evaluateReal#

Raw WebAssembly: CompiledNumericFunction method

evaluateReal(arguments: Float64Array): Float64Array

Evaluate every output at one real point; throws if any output has no real machine value. The result is a new Float64Array owned by JavaScript.

CompiledNumericFunction.intervalBridgedKernels#

Raw WebAssembly: CompiledNumericFunction property

readonly intervalBridgedKernels: string[]

The heads interval evaluation encloses through certified ball kernels.

CompiledNumericFunction.intervalDirectedKernels#

Raw WebAssembly: CompiledNumericFunction property

readonly intervalDirectedKernels: string[]

The heads interval evaluation encloses with outward-rounded binary64 arithmetic alone.

CompiledNumericFunction.intervalUnsupportedKernels#

Raw WebAssembly: CompiledNumericFunction property

readonly intervalUnsupportedKernels: string[]

The heads with no interval kernel; an output that reaches one has no enclosure.

CompiledNumericFunction.isStale#

Raw WebAssembly: CompiledNumericFunction property

readonly isStale: boolean

Whether resetting the owner context has retired this compiled function.

CompiledNumericFunction.jacobian#

Raw WebAssembly: CompiledNumericFunction method

jacobian(): CompiledNumericFunction

Compile the checked exact Jacobian, flattened row-major as outputs by variables.

CompiledNumericFunction.outputCount#

Raw WebAssembly: CompiledNumericFunction property

readonly outputCount: number

The ordered number of flattened scalar outputs.

CompiledNumericFunction.outputShape#

Raw WebAssembly: CompiledNumericFunction property

readonly outputShape: Uint32Array

The dimensions of the output shape as a new array: [] for a scalar, [length] for a vector, and [rows, columns] for a matrix.

CompiledNumericFunction.variableCount#

Raw WebAssembly: CompiledNumericFunction property

readonly variableCount: number

The ordered number of scalar input variables.

Matrix.evaluateNumeric#

Raw WebAssembly: Matrix method

evaluateNumeric(
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericMatrix

The numeric value of every entry; fails if any entry declines.

NumericEvaluationReport.absoluteBound#

Raw WebAssembly: NumericEvaluationReport property

readonly absoluteBound: NumericValue | undefined

A proved bound on the modulus, for a magnitude_below_resolution decline.

NumericEvaluationReport.bestEnclosure#

Raw WebAssembly: NumericEvaluationReport property

readonly bestEnclosure: NumericValue | undefined

The last certified enclosure reached before a decline.

NumericEvaluationReport.certifiedAttempts#

Raw WebAssembly: NumericEvaluationReport property

readonly certifiedAttempts: number

The number of certified ball evaluations performed.

NumericEvaluationReport.declineReason#

Raw WebAssembly: NumericEvaluationReport property

readonly declineReason: string | undefined

Why no value was produced, when none was.

NumericEvaluationReport.estimatedHeads#

Raw WebAssembly: NumericEvaluationReport property

readonly estimatedHeads: string[]

The heads the estimated engine evaluated; empty unless the value is an estimate.

NumericEvaluationReport.exactDecisions#

Raw WebAssembly: NumericEvaluationReport property

readonly exactDecisions: number

The number of undecided balls settled by an exact decision.

NumericEvaluationReport.heads#

Raw WebAssembly: NumericEvaluationReport property

readonly heads: string[]

The builtin heads and constants of the evaluated expression.

NumericEvaluationReport.responsibleHeads#

Raw WebAssembly: NumericEvaluationReport property

readonly responsibleHeads: string[]

The heads without a certified kernel, for a no_certified_kernel decline.

NumericEvaluationReport.status#

Raw WebAssembly: NumericEvaluationReport property

readonly status: string

"evaluated" when a value was produced, "declined" otherwise.

NumericEvaluationReport.substitutionSymbol#

Raw WebAssembly: NumericEvaluationReport property

readonly substitutionSymbol: string | undefined

The symbol whose bound value was rejected, for a substitution decline.

NumericEvaluationReport.summary#

Raw WebAssembly: NumericEvaluationReport method

summary(): string

A one-line description of the outcome.

NumericEvaluationReport.unboundSymbols#

Raw WebAssembly: NumericEvaluationReport property

readonly unboundSymbols: string[]

The free symbols left without a value, for an unbound_symbol decline.

NumericEvaluationReport.value#

Raw WebAssembly: NumericEvaluationReport property

readonly value: NumericValue | undefined

The value, when one was produced.

NumericEvaluationReport.workingPrecisionBits#

Raw WebAssembly: NumericEvaluationReport property

readonly workingPrecisionBits: number

The last working precision used, in bits.

NumericFunctionBatch.allEvaluated#

Raw WebAssembly: NumericFunctionBatch property

readonly allEvaluated: boolean

Whether every output of every point has a machine value.

NumericFunctionBatch.bridgeUsed#

Raw WebAssembly: NumericFunctionBatch property

readonly bridgeUsed: Uint8Array

Point-major observations, as a new Uint8Array of zeros and ones aligned with realValues, of whether a certified bridge computed a value the output depends on.

NumericFunctionBatch.guardRefined#

Raw WebAssembly: NumericFunctionBatch property

readonly guardRefined: Uint8Array

Point-major observations, as a new Uint8Array of zeros and ones aligned with realValues, of whether a semantic guard the output depends on needed a working precision above its first one.

NumericFunctionBatch.imaginaryValues#

Raw WebAssembly: NumericFunctionBatch property

readonly imaginaryValues: Float64Array

Point-major imaginary parts as a new Float64Array aligned with realValues.

NumericFunctionBatch.outputCount#

Raw WebAssembly: NumericFunctionBatch property

readonly outputCount: number

The number of flattened scalar outputs each point carries.

NumericFunctionBatch.outputShape#

Raw WebAssembly: NumericFunctionBatch property

readonly outputShape: Uint32Array

The dimensions of the output shape of each point as a new array: [] for a scalar, [length] for a vector, and [rows, columns] for a matrix.

NumericFunctionBatch.pointCount#

Raw WebAssembly: NumericFunctionBatch property

readonly pointCount: number

The explicit number of points represented by this batch.

NumericFunctionBatch.realValues#

Raw WebAssembly: NumericFunctionBatch property

readonly realValues: Float64Array

Point-major real parts as a new Float64Array owned by JavaScript; an entry whose status is not "evaluated" is a placeholder.

NumericFunctionBatch.requireAllEvaluated#

Raw WebAssembly: NumericFunctionBatch method

requireAllEvaluated(): void

Throw for the first output that has no machine value; return nothing otherwise.

NumericFunctionBatch.statusCodes#

Raw WebAssembly: NumericFunctionBatch property

readonly statusCodes: Uint8Array

Point-major output status codes as a new Uint8Array aligned with realValues: zero for an evaluated output and the documented nonzero code of its status otherwise.

NumericFunctionBatch.statuses#

Raw WebAssembly: NumericFunctionBatch property

readonly statuses: string[]

Point-major output status names aligned with realValues.

NumericFunctionBatch.underflowObserved#

Raw WebAssembly: NumericFunctionBatch property

readonly underflowObserved: Uint8Array

Point-major underflow observations as a new Uint8Array of zeros and ones aligned with realValues.

NumericFunctionCapabilities.accuracy#

Raw WebAssembly: NumericFunctionCapabilities property

readonly accuracy: string

The result category of every value: "machine_approximation", with no implied digits and no error radius.

NumericFunctionCapabilities.arithmeticFormat#

Raw WebAssembly: NumericFunctionCapabilities property

readonly arithmeticFormat: string

The machine format of every input, intermediate, and result: "binary64".

NumericFunctionCapabilities.backends#

Raw WebAssembly: NumericFunctionCapabilities property

readonly backends: string[]

The backends that can run the function: "cpu_register" for point and batch evaluation, and "cpu_interval" for interval evaluation of a real-domain function.

NumericFunctionCapabilities.bridgedHeads#

Raw WebAssembly: NumericFunctionCapabilities property

readonly bridgedHeads: string[]

The heads the function runs through certified bridges, sorted: builtins by name, and "factorial" for the factorial of a computed argument.

NumericFunctionCapabilities.derivativeVariables#

Raw WebAssembly: NumericFunctionCapabilities property

readonly derivativeVariables: string[]

The variables, in argument order, with respect to which derivative compiles.

NumericFunctionCapabilities.directHeads#

Raw WebAssembly: NumericFunctionCapabilities property

readonly directHeads: string[]

The heads the function runs directly on binary64 registers, sorted: builtins by name, and "sum", "product", "power", and "factorial" for its own operations.

NumericFunctionCapabilities.domain#

Raw WebAssembly: NumericFunctionCapabilities property

readonly domain: string

The input and result domain chosen at compilation: "real" or "complex".

NumericFunctionCapabilities.guardKinds#

Raw WebAssembly: NumericFunctionCapabilities property

readonly guardKinds: string[]

The kinds of checks made at an evaluation point, in a fixed order: "exact_input_comparison", "certified_predicate", "discontinuity", "pole_test", "branch_side", "realness_test", and "assumption_check".

NumericFunctionCapabilities.intervalBridgedKernels#

Raw WebAssembly: NumericFunctionCapabilities property

readonly intervalBridgedKernels: string[]

The heads interval evaluation encloses through certified ball kernels.

NumericFunctionCapabilities.intervalDirectedKernels#

Raw WebAssembly: NumericFunctionCapabilities property

readonly intervalDirectedKernels: string[]

The heads interval evaluation encloses with outward-rounded binary64 arithmetic alone.

NumericFunctionCapabilities.intervalUnsupportedKernels#

Raw WebAssembly: NumericFunctionCapabilities property

readonly intervalUnsupportedKernels: string[]

The heads with no interval kernel.

NumericFunctionCapabilities.jacobianAvailable#

Raw WebAssembly: NumericFunctionCapabilities property

readonly jacobianAvailable: boolean

Whether jacobian compiles.

NumericFunctionCapabilities.outputShape#

Raw WebAssembly: NumericFunctionCapabilities property

readonly outputShape: Uint32Array

The dimensions of the output shape as a new array: [] for a scalar, [length] for a vector, and [rows, columns] for a matrix.

NumericFunctionCapabilities.requirementSymbols#

Raw WebAssembly: NumericFunctionCapabilities property

readonly requirementSymbols: string[]

The names of the symbols the outputs' captured requirements mention, sorted.

NumericFunctionCapabilities.unsupportedCapabilities#

Raw WebAssembly: NumericFunctionCapabilities property

readonly unsupportedCapabilities: string[]

The capabilities the function lacks, one per refusal, aligned with unsupportedReasons.

NumericFunctionCapabilities.unsupportedReasons#

Raw WebAssembly: NumericFunctionCapabilities property

readonly unsupportedReasons: string[]

Why each entry of unsupportedCapabilities is unsupported.

NumericFunctionCapabilities.variables#

Raw WebAssembly: NumericFunctionCapabilities property

readonly variables: string[]

The names of the input variables, in argument order.

NumericFunctionEvaluation.allEvaluated#

Raw WebAssembly: NumericFunctionEvaluation property

readonly allEvaluated: boolean

Whether every output has a machine value.

NumericFunctionEvaluation.bridgeUsed#

Raw WebAssembly: NumericFunctionEvaluation property

readonly bridgeUsed: Uint8Array

Whether a certified bridge computed a value each output depends on, as a new Uint8Array of zeros and ones.

NumericFunctionEvaluation.failurePath#

Raw WebAssembly: NumericFunctionEvaluation method

failurePath(output: number): Uint32Array | undefined

The child indices from the root of output output to the node its failure arose at, as a new array; undefined for an evaluated output and for a status decided before any operation.

NumericFunctionEvaluation.guardRefined#

Raw WebAssembly: NumericFunctionEvaluation property

readonly guardRefined: Uint8Array

Whether a semantic guard each output depends on needed a working precision above its first one, as a new Uint8Array of zeros and ones.

NumericFunctionEvaluation.imaginaryValues#

Raw WebAssembly: NumericFunctionEvaluation property

readonly imaginaryValues: Float64Array

The imaginary part of each output as a new Float64Array, NaN where the output has no value.

NumericFunctionEvaluation.outputCount#

Raw WebAssembly: NumericFunctionEvaluation property

readonly outputCount: number

The number of flattened scalar outputs; every array below has one entry per output.

NumericFunctionEvaluation.outputShape#

Raw WebAssembly: NumericFunctionEvaluation property

readonly outputShape: Uint32Array

The dimensions of the output shape as a new array: [] for a scalar, [length] for a vector, and [rows, columns] for a matrix.

NumericFunctionEvaluation.realValues#

Raw WebAssembly: NumericFunctionEvaluation property

readonly realValues: Float64Array

The real part of each output as a new Float64Array, NaN where the output has no value.

NumericFunctionEvaluation.requireAllEvaluated#

Raw WebAssembly: NumericFunctionEvaluation method

requireAllEvaluated(): void

Throw for the first output that has no machine value; return nothing otherwise.

NumericFunctionEvaluation.statusCodes#

Raw WebAssembly: NumericFunctionEvaluation property

readonly statusCodes: Uint8Array

The status code of each output as a new Uint8Array: zero for an evaluated output and the documented nonzero code of its status otherwise.

NumericFunctionEvaluation.statuses#

Raw WebAssembly: NumericFunctionEvaluation property

readonly statuses: string[]

The status name of each output.

NumericFunctionEvaluation.underflowObserved#

Raw WebAssembly: NumericFunctionEvaluation property

readonly underflowObserved: Uint8Array

Whether a nonzero quantity was observed as a subnormal or zero on the way to each output, as a new Uint8Array of zeros and ones.

NumericFunctionIntervalEvaluation.allEnclosed#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly allEnclosed: boolean

Whether every output has a valid enclosure.

NumericFunctionIntervalEvaluation.definedness#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly definedness: string[]

Where on the box each output has a real value: "everywhere", "somewhere", "nowhere", or "unknown".

NumericFunctionIntervalEvaluation.enclosureValid#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly enclosureValid: Uint8Array

Whether each output's bounds are a proved enclosure, as a new Uint8Array of zeros and ones.

NumericFunctionIntervalEvaluation.lowerBounds#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly lowerBounds: Float64Array

The lower bound of each output's enclosure as a new Float64Array, possibly -Infinity; NaN where the enclosure is not valid.

NumericFunctionIntervalEvaluation.outputCount#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly outputCount: number

The number of flattened scalar outputs; every array below has one entry per output.

NumericFunctionIntervalEvaluation.outputShape#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly outputShape: Uint32Array

The dimensions of the output shape as a new array: [] for a scalar, [length] for a vector, and [rows, columns] for a matrix.

NumericFunctionIntervalEvaluation.provedContinuous#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly provedContinuous: Uint8Array

Whether each output is proved real and continuous at every point of the box, as a new Uint8Array of zeros and ones; zero means continuity was not established.

NumericFunctionIntervalEvaluation.statuses#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly statuses: string[]

The status name of each output: "evaluated" exactly where its enclosure is valid.

NumericFunctionIntervalEvaluation.upperBounds#

Raw WebAssembly: NumericFunctionIntervalEvaluation property

readonly upperBounds: Float64Array

The upper bound of each output's enclosure as a new Float64Array, possibly Infinity; NaN where the enclosure is not valid.

NumericMatrix.columns#

Raw WebAssembly: NumericMatrix property

readonly columns: number

The number of columns.

NumericMatrix.entries#

Raw WebAssembly: NumericMatrix method

entries(): NumericValue[]

Every entry in row-major order.

NumericMatrix.entry#

Raw WebAssembly: NumericMatrix method

entry(row: number, column: number): NumericValue

The numeric value of one entry.

NumericMatrix.rows#

Raw WebAssembly: NumericMatrix property

readonly rows: number

The number of rows.

NumericPolynomialRootsResult.complete#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly complete: boolean

Whether every root is listed: true exactly for a certified result.

NumericPolynomialRootsResult.declineReason#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly declineReason: string | undefined

Why no roots were returned, when none were.

NumericPolynomialRootsResult.degree#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly degree: number

The exact degree of the polynomial; zero when the request declined.

NumericPolynomialRootsResult.iterations#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly iterations: number

The number of multiprecision iteration sweeps taken.

NumericPolynomialRootsResult.multiplicities#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly multiplicities: Uint32Array

The exact multiplicity of each root, in the order of the values.

NumericPolynomialRootsResult.status#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly status: string

"certified" or "declined".

NumericPolynomialRootsResult.summary#

Raw WebAssembly: NumericPolynomialRootsResult method

summary(): string

The outcome in one line.

NumericPolynomialRootsResult.unboundSymbols#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly unboundSymbols: string[]

The symbols other than the variable, for an unbound_symbol decline.

NumericPolynomialRootsResult.values#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly values: NumericValue[]

Each distinct root once, real roots first in increasing order; empty when declined.

NumericPolynomialRootsResult.variable#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly variable: string

The name of the polynomial's variable.

NumericPolynomialRootsResult.workingPrecisionBits#

Raw WebAssembly: NumericPolynomialRootsResult property

readonly workingPrecisionBits: number

The last working precision used, in bits.

NumericRootEnclosure.lower#

Raw WebAssembly: NumericRootEnclosure property

readonly lower: Expression

The exact rational lower bound of the enclosure.

NumericRootEnclosure.status#

Raw WebAssembly: NumericRootEnclosure property

readonly status: string

What the search proved about the roots inside this enclosure.

NumericRootEnclosure.upper#

Raw WebAssembly: NumericRootEnclosure property

readonly upper: Expression

The exact rational upper bound of the enclosure.

NumericRootFindingResult.declineReason#

Raw WebAssembly: NumericRootFindingResult property

readonly declineReason: string | undefined

Why no root was returned, when none was.

NumericRootFindingResult.domain#

Raw WebAssembly: NumericRootFindingResult property

readonly domain: string

The domain searched, "real" or "complex".

NumericRootFindingResult.iterations#

Raw WebAssembly: NumericRootFindingResult property

readonly iterations: number

The number of iteration or bracketing steps taken.

NumericRootFindingResult.method#

Raw WebAssembly: NumericRootFindingResult property

readonly method: string

The method that located the root, or the requested method of a declined search.

NumericRootFindingResult.multiplicityEstimate#

Raw WebAssembly: NumericRootFindingResult property

readonly multiplicityEstimate: number | undefined

For one equation, the estimated multiplicity of an estimated root.

NumericRootFindingResult.residuals#

Raw WebAssembly: NumericRootFindingResult property

readonly residuals: NumericValue[]

One residual per equation: certified over a certified root, or at an estimated one.

NumericRootFindingResult.status#

Raw WebAssembly: NumericRootFindingResult property

readonly status: string

"certified", "converged_uncertified", or "declined".

NumericRootFindingResult.summary#

Raw WebAssembly: NumericRootFindingResult method

summary(): string

The outcome in one line.

NumericRootFindingResult.unboundSymbols#

Raw WebAssembly: NumericRootFindingResult property

readonly unboundSymbols: string[]

The symbols that are not variables, for an unbound_symbol decline.

NumericRootFindingResult.value#

Raw WebAssembly: NumericRootFindingResult method

value(name: string): NumericValue | undefined

The numeric value of one variable, by name, when a root was returned.

NumericRootFindingResult.values#

Raw WebAssembly: NumericRootFindingResult property

readonly values: NumericValue[]

One numeric value per variable; empty when the search declined.

NumericRootFindingResult.variables#

Raw WebAssembly: NumericRootFindingResult property

readonly variables: string[]

The variable names, in the order of the values.

NumericRootFindingResult.workingPrecisionBits#

Raw WebAssembly: NumericRootFindingResult property

readonly workingPrecisionBits: number

The last working precision used, in bits.

NumericRootIsolationResult.complete#

Raw WebAssembly: NumericRootIsolationResult property

readonly complete: boolean

Whether every root of the requested domain is accounted for by an enclosure.

NumericRootIsolationResult.coverage#

Raw WebAssembly: NumericRootIsolationResult property

readonly coverage: string | undefined

How much of the requested domain the enclosures account for.

NumericRootIsolationResult.declineReason#

Raw WebAssembly: NumericRootIsolationResult property

readonly declineReason: string | undefined

The reason, present exactly when the verdict is declined.

NumericRootIsolationResult.enclosures#

Raw WebAssembly: NumericRootIsolationResult property

readonly enclosures: NumericRootEnclosure[]

The disjoint certified enclosures, in ascending order.

NumericRootIsolationResult.precisionBits#

Raw WebAssembly: NumericRootIsolationResult property

readonly precisionBits: number | undefined

The working precision the accepted enclosures were produced at.

NumericRootIsolationResult.unresolvedRegions#

Raw WebAssembly: NumericRootIsolationResult property

readonly unresolvedRegions: NumericRootUnresolvedRegion[]

The regions the search could neither clear nor resolve into an enclosure.

NumericRootIsolationResult.verdict#

Raw WebAssembly: NumericRootIsolationResult property

readonly verdict: string

Whether the search ran or declined.

NumericRootUnresolvedRegion.lower#

Raw WebAssembly: NumericRootUnresolvedRegion property

readonly lower: Expression | undefined

The lower endpoint, absent when the region reaches negative infinity.

NumericRootUnresolvedRegion.upper#

Raw WebAssembly: NumericRootUnresolvedRegion property

readonly upper: Expression | undefined

The upper endpoint, absent when the region reaches positive infinity.

NumericValue.accuracy#

Raw WebAssembly: NumericValue property

readonly accuracy: string

Whether the radii are proved bounds ("certified") or estimates ("estimated").

NumericValue.achievedRelativePrecisionBits#

Raw WebAssembly: NumericValue property

readonly achievedRelativePrecisionBits: number | undefined

The relative accuracy in bits, or undefined when both components are exact.

NumericValue.certifiedSign#

Raw WebAssembly: NumericValue method

certifiedSign(): number | undefined

The proved sign of a real value as -1, 0, or 1, or undefined when it is not proved.

NumericValue.containsZero#

Raw WebAssembly: NumericValue method

containsZero(): boolean

Whether zero lies within the stated radius of both components.

NumericValue.errorBound#

Raw WebAssembly: NumericValue method

errorBound(): NumericValue | undefined

A proved bound on the error of a certified value, or undefined for an estimate.

NumericValue.errorEstimate#

Raw WebAssembly: NumericValue method

errorEstimate(): NumericValue | undefined

The estimated error of an estimate, or undefined for a certified value.

NumericValue.imaginaryPart#

Raw WebAssembly: NumericValue method

imaginaryPart(): NumericValue

The imaginary part, as a real numeric value with the same accuracy.

NumericValue.isExactlyReal#

Raw WebAssembly: NumericValue method

isExactlyReal(): boolean

Whether the value is known to be real: its imaginary part is exactly zero.

NumericValue.isExactlyZero#

Raw WebAssembly: NumericValue method

isExactlyZero(): boolean

Whether the value is known to be exactly zero.

NumericValue.realPart#

Raw WebAssembly: NumericValue method

realPart(): NumericValue

The real part, as a real numeric value with the same accuracy.

NumericValue.requestedSignificantDigits#

Raw WebAssembly: NumericValue property

readonly requestedSignificantDigits: number

The number of significant digits the value was requested with.

NumericValue.summary#

Raw WebAssembly: NumericValue method

summary(): string

The value at its requested digits followed by its accuracy.

NumericValue.toComplexF64#

Raw WebAssembly: NumericValue method

toComplexF64(): Float64Array

The nearest doubles to the real and imaginary midpoints, as [real, imaginary].

NumericValue.toDecimalString#

Raw WebAssembly: NumericValue method

toDecimalString(significant_digits: number): string

The value in decimal with at most significantDigits faithful digits per component.

NumericValue.toF64#

Raw WebAssembly: NumericValue method

toF64(): number

The nearest double to the midpoint of a value known to be exactly real.

NumericValue.toLatex#

Raw WebAssembly: NumericValue method

toLatex(significant_digits: number): string

The value in LaTeX with at most significantDigits faithful digits per component.

NumericValue.toNumber#

Raw WebAssembly: NumericValue method

toNumber(): number

The nearest double of a value known to be exactly real.

NumericValue.toRational#

Raw WebAssembly: NumericValue method

toRational(): Expression

The exact midpoint as an expression: the value of the approximation, not of the quantity.

NumericValue.toSimplestRational#

Raw WebAssembly: NumericValue method

toSimplestRational(): Expression

The simplest rational inside each component's ball, as an expression.

NumericValue.toString#

Raw WebAssembly: NumericValue method

toString(): string

The value at its requested digits.

compileNumericFunction#

Raw WebAssembly: Default context

compileNumericFunction(
    outputs: any,
    variables: Expression[],
    domain: string,
    fast_kernels_only: boolean,
): CompiledNumericFunction

Compile an Expression, an array of Expressions, or a Matrix of exact outputs in the default context for repeated binary64 evaluation. domain is "real" or "complex".

Calling forms

Raw WebAssembly: Explicit context: Context.compileNumericFunction

compileNumericFunction(
    outputs: any,
    variables: Expression[],
    domain: string,
    fast_kernels_only: boolean,
): CompiledNumericFunction

evaluateNumeric#

Raw WebAssembly: Default context

evaluateNumeric(
    input_expression: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericValue

The numeric value of an expression in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateNumeric

evaluateNumeric(
    input_expression: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericValue

Raw WebAssembly: Expression method: Expression.evaluateNumeric

evaluateNumeric(
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericValue

evaluateNumericDetailed#

Raw WebAssembly: Default context

evaluateNumericDetailed(
    input_expression: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
    symbols: Expression[],
    values: Expression[],
    numeric_symbols: Expression[],
    numeric_values: NumericValue[],
): NumericEvaluationReport

The report of a numeric evaluation in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateNumericDetailed

evaluateNumericDetailed(
    input_expression: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
    symbols: Expression[],
    values: Expression[],
    numeric_symbols: Expression[],
    numeric_values: NumericValue[],
): NumericEvaluationReport

evaluateNumericWithSubstitutions#

Raw WebAssembly: Default context

evaluateNumericWithSubstitutions(
    input_expression: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
    symbols: Expression[],
    values: Expression[],
    numeric_symbols: Expression[],
    numeric_values: NumericValue[],
): NumericValue

The numeric value of an expression with bound symbols in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.evaluateNumericWithSubstitutions

evaluateNumericWithSubstitutions(
    input_expression: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
    symbols: Expression[],
    values: Expression[],
    numeric_symbols: Expression[],
    numeric_values: NumericValue[],
): NumericValue

evaluateToFloat#

Raw WebAssembly: Expression method

evaluateToFloat(): number

The nearest double to the certified real value; raises unless the value is certified and exactly real (free symbols, complex values, poles, and estimated-only heads all raise).

findRootNumeric#

Raw WebAssembly: Default context

findRootNumeric(
    equations: Expression[],
    variables: string[],
    start: Expression[],
    domain: string,
    method: string,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericRootFindingResult

Find one root of equations = 0 numerically from start in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.findRootNumeric

findRootNumeric(
    equations: Expression[],
    variables: string[],
    start: Expression[],
    domain: string,
    method: string,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericRootFindingResult

findRootNumericInBracket#

Raw WebAssembly: Default context

findRootNumericInBracket(
    equation: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericRootFindingResult

Find one real root of equation = 0 in a sign-changing bracket in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.findRootNumericInBracket

findRootNumericInBracket(
    equation: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericRootFindingResult

integrateDefiniteNumeric#

Raw WebAssembly: Default context

integrateDefiniteNumeric(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericValue

The numerical value of a definite integral in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.integrateDefiniteNumeric

integrateDefiniteNumeric(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericValue

isolateRealRootsNumeric#

Raw WebAssembly: Default context

isolateRealRootsNumeric(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    precision_bits: number,
    work_budget: number,
): NumericRootIsolationResult

Isolate the real roots of an expression with certified rational enclosures.

Calling forms

Raw WebAssembly: Explicit context: Context.isolateRealRootsNumeric

isolateRealRootsNumeric(
    input_expression: Expression,
    variable: string,
    lower: Expression,
    upper: Expression,
    precision_bits: number,
    work_budget: number,
): NumericRootIsolationResult

polynomialRootsNumeric#

Raw WebAssembly: Default context

polynomialRootsNumeric(
    polynomial: Expression,
    variable: string,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericPolynomialRootsResult

Find every root of a polynomial numerically, with multiplicities, in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.polynomialRootsNumeric

polynomialRootsNumeric(
    polynomial: Expression,
    variable: string,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericPolynomialRootsResult

rationalFromFloat#

Raw WebAssembly: Default context

rationalFromFloat(value: number, max_denominator: bigint): Expression

Closest rational with denominator ≤\leq max_denominator (the Fraction.limit_denominator algorithm).

Calling forms

Raw WebAssembly: Explicit context: Context.rationalFromFloat

rationalFromFloat(value: number, max_denominator: bigint): Expression

summationNumeric#

Raw WebAssembly: Default context

summationNumeric(
    summand: Expression,
    index: string,
    lower: Expression,
    upper: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericValue

The numerical value of a definite sum in the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.summationNumeric

summationNumeric(
    summand: Expression,
    index: string,
    lower: Expression,
    upper: Expression,
    significant_digits: number,
    accuracy: string,
    maximum_precision_bits: number,
    work_budget: number,
): NumericValue

affineProcessTransformation#

Raw WebAssembly: Default context

affineProcessTransformation(): Expression

Construct the exact pointwise affine image of a certified Gaussian process.

Calling forms

Raw WebAssembly: Explicit context: Context.affineProcessTransformation

affineProcessTransformation(
    name: string,
    source: Expression,
    multiplier: Expression,
    offset: Expression,
): Expression

archimedeanCopula#

Raw WebAssembly: Default context

archimedeanCopula(family: string): Expression

Construct a supported Archimedean copula from continuous marginals and its parameter.

Calling forms

Raw WebAssembly: Explicit context: Context.archimedeanCopula

archimedeanCopula(
    family: string,
    marginals: Expression[],
    parameter: Expression,
): Expression

characteristicFunction#

Raw WebAssembly: Default context

characteristicFunction(
    random_variable: Expression,
    auxiliary_variable: string,
): Expression

Closed-form characteristic function φX(t)\varphi_X(t) of random_variable in the named auxiliary variable, when elementary; otherwise an unevaluated structural form.

Calling forms

Raw WebAssembly: Explicit context: Context.characteristicFunction

characteristicFunction(
    random_variable: Expression,
    auxiliary_variable: string,
): Expression

component#

Raw WebAssembly: Default context

component(random_vector: Expression, position: number): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.component

component(random_vector: Expression, position: number): Expression

conditionalProcessSliceDistribution#

Raw WebAssembly: Default context

conditionalProcessSliceDistribution(): Expression

Condition one finite process slice on another through the common continuous-law engine.

Calling forms

Raw WebAssembly: Explicit context: Context.conditionalProcessSliceDistribution

conditionalProcessSliceDistribution(
    process: Expression,
    selected_indices: Expression[],
    conditioning_indices: Expression[],
    conditioning_values: Expression[],
): Expression

covariance#

Raw WebAssembly: Default context

covariance(
    left: Expression,
    right: Expression,
    random_variables: Expression[],
): Expression

Covariance of left and right over the listed independent random variables; zero for independent operands.

Calling forms

Raw WebAssembly: Explicit context: Context.covariance

covariance(
    left: Expression,
    right: Expression,
    random_variables: Expression[],
): Expression

cumulant#

Raw WebAssembly: Default context

cumulant(random_variable: Expression, order: Expression): Expression

The order-th cumulant of random_variable.

Calling forms

Raw WebAssembly: Explicit context: Context.cumulant

cumulant(random_variable: Expression, order: Expression): Expression

cumulativeDistribution#

Raw WebAssembly: Default context

cumulativeDistribution(
    random_variable: Expression,
    point: Expression,
): Expression

Cumulative distribution function of random_variable evaluated at point.

Calling forms

Raw WebAssembly: Explicit context: Context.cumulativeDistribution

cumulativeDistribution(
    random_variable: Expression,
    point: Expression,
): Expression

density#

Raw WebAssembly: Default context

density(random_variable: Expression, point: Expression): Expression

Probability density (continuous families) or probability mass (discrete families) of random_variable evaluated at point.

Calling forms

Raw WebAssembly: Explicit context: Context.density

density(random_variable: Expression, point: Expression): Expression

dirichlet#

Raw WebAssembly: Default context

dirichlet(parameters: Expression[]): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.dirichlet

dirichlet(parameters: Expression[]): Expression

discreteMarkovChain#

Raw WebAssembly: Default context

discreteMarkovChain(): Expression

Construct an exact finite-state time-homogeneous Markov chain.

Calling forms

Raw WebAssembly: Explicit context: Context.discreteMarkovChain

discreteMarkovChain(): Expression

distribution#

Raw WebAssembly: Default context

distribution(name: string, parameters: Expression[]): Expression

Build a distribution node from a family name and its ordered parameter list (e.g. distribution("normal", [mean, standard_deviation])).

Calling forms

Raw WebAssembly: Explicit context: Context.distribution

distribution(name: string, parameters: Expression[]): Expression

estimateArchimedeanCopulaParameter#

Raw WebAssembly: Default context

estimateArchimedeanCopulaParameter(family: string): Expression

Estimate an exactly invertible Archimedean copula parameter from bivariate ranks.

Calling forms

Raw WebAssembly: Explicit context: Context.estimateArchimedeanCopulaParameter

estimateArchimedeanCopulaParameter(
    family: string,
    observations: Matrix,
): Expression

estimateArchimedeanCopulaParameterNumeric#

Raw WebAssembly: Default context

estimateArchimedeanCopulaParameterNumeric(family: string): NumericRootFindingResult

Numerically estimate a Frank copula parameter from exact bivariate ranks in a requested bracket.

Calling forms

Raw WebAssembly: Explicit context: Context.estimateArchimedeanCopulaParameterNumeric

estimateArchimedeanCopulaParameterNumeric(
    family: string,
    observations: Matrix,
    parameter: string,
): NumericRootFindingResult

expectation#

Raw WebAssembly: Default context

expectation(
    target: Expression,
    random_variables: Expression[],
): Expression

Expectation of target over the listed independent random variables. Linearity and the constant-factor lift are applied; bare and power-of-random-variable leaves consume the distribution's mean and raw moments.

Calling forms

Raw WebAssembly: Explicit context: Context.expectation

expectation(
    target: Expression,
    random_variables: Expression[],
): Expression

expectedHittingTime#

Raw WebAssembly: Default context

expectedHittingTime(): Expression

Return the exact expected time to reach a target state set.

Calling forms

Raw WebAssembly: Explicit context: Context.expectedHittingTime

expectedHittingTime(): Expression

finiteDimensionalRandomVector#

Raw WebAssembly: Default context

finiteDimensionalRandomVector(): Expression

Construct a random vector from an ordered finite stochastic-process slice.

Calling forms

Raw WebAssembly: Explicit context: Context.finiteDimensionalRandomVector

finiteDimensionalRandomVector(
    process: Expression,
    indices: Expression[],
    coordinate_names: string[],
): Expression

gaussianCopula#

Raw WebAssembly: Default context

gaussianCopula(marginals: Expression[], correlation: Matrix): Expression

Construct a Gaussian copula from continuous marginals and a correlation matrix.

Calling forms

Raw WebAssembly: Explicit context: Context.gaussianCopula

gaussianCopula(marginals: Expression[], correlation: Matrix): Expression

hittingProbability#

Raw WebAssembly: Default context

hittingProbability(): Expression

Return the exact probability of ever reaching a target state set.

Calling forms

Raw WebAssembly: Explicit context: Context.hittingProbability

hittingProbability(): Expression

independentGaussianProcessSum#

Raw WebAssembly: Default context

independentGaussianProcessSum(): Expression

Construct the pointwise sum of two explicitly independent Gaussian processes.

Calling forms

Raw WebAssembly: Explicit context: Context.independentGaussianProcessSum

independentGaussianProcessSum(
    name: string,
    first_source: Expression,
    second_source: Expression,
): Expression

independentProcessProduct#

Raw WebAssembly: Default context

independentProcessProduct(): Expression

Construct the explicit independent block product of two finite process slices.

Calling forms

Raw WebAssembly: Explicit context: Context.independentProcessProduct

independentProcessProduct(
    first_process: Expression,
    first_indices: Expression[],
    second_process: Expression,
    second_indices: Expression[],
): Expression

independentProduct#

Raw WebAssembly: Default context

independentProduct(factors: Expression[]): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.independentProduct

independentProduct(factors: Expression[]): Expression

intrinsicSimplexDensity#

Raw WebAssembly: Default context

intrinsicSimplexDensity(
    joint_distribution: Expression,
    points: Expression[],
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.intrinsicSimplexDensity

intrinsicSimplexDensity(
    joint_distribution: Expression,
    points: Expression[],
): Expression

jointCorrelationMatrix#

Raw WebAssembly: Default context

jointCorrelationMatrix(joint_distribution: Expression): Matrix

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointCorrelationMatrix

jointCorrelationMatrix(joint_distribution: Expression): Matrix

jointCovarianceMatrix#

Raw WebAssembly: Default context

jointCovarianceMatrix(joint_distribution: Expression): Matrix

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointCovarianceMatrix

jointCovarianceMatrix(joint_distribution: Expression): Matrix

jointCumulativeDistribution#

Raw WebAssembly: Default context

jointCumulativeDistribution(
    joint_distribution: Expression,
    points: Expression[],
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointCumulativeDistribution

jointCumulativeDistribution(
    joint_distribution: Expression,
    points: Expression[],
): Expression

jointDensity#

Raw WebAssembly: Default context

jointDensity(
    joint_distribution: Expression,
    points: Expression[],
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointDensity

jointDensity(
    joint_distribution: Expression,
    points: Expression[],
): Expression

jointDistribution#

Raw WebAssembly: Default context

jointDistribution(random_vector: Expression): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointDistribution

jointDistribution(random_vector: Expression): Expression

jointMean#

Raw WebAssembly: Default context

jointMean(joint_distribution: Expression): Expression[]

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointMean

jointMean(joint_distribution: Expression): Expression[]

jointProbabilityMassFunction#

Raw WebAssembly: Default context

jointProbabilityMassFunction(
    joint_distribution: Expression,
    points: Expression[],
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointProbabilityMassFunction

jointProbabilityMassFunction(
    joint_distribution: Expression,
    points: Expression[],
): Expression

jointRawMoment#

Raw WebAssembly: Default context

jointRawMoment(
    joint_distribution: Expression,
    orders: Expression[],
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointRawMoment

jointRawMoment(
    joint_distribution: Expression,
    orders: Expression[],
): Expression

jointRectangleProbability#

Raw WebAssembly: Default context

jointRectangleProbability(
    joint_distribution: Expression,
    lower_bounds: Expression[],
    upper_bounds: Expression[],
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointRectangleProbability

jointRectangleProbability(
    joint_distribution: Expression,
    lower_bounds: Expression[],
    upper_bounds: Expression[],
): Expression

jointSupport#

Raw WebAssembly: Default context

jointSupport(joint_distribution: Expression): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.jointSupport

jointSupport(joint_distribution: Expression): Expression

marginal#

Raw WebAssembly: Default context

marginal(
    joint_distribution: Expression,
    positions: Uint32Array,
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.marginal

marginal(
    joint_distribution: Expression,
    positions: Uint32Array,
): Expression

maximum#

Raw WebAssembly: Default context

maximum(base_law: Expression, sample_size: Expression): Expression

Construct the maximum of an independent identically distributed sample.

Calling forms

Raw WebAssembly: Explicit context: Context.maximum

maximum(base_law: Expression, sample_size: Expression): Expression

minimum#

Raw WebAssembly: Default context

minimum(base_law: Expression, sample_size: Expression): Expression

Construct the minimum of an independent identically distributed sample.

Calling forms

Raw WebAssembly: Explicit context: Context.minimum

minimum(base_law: Expression, sample_size: Expression): Expression

moment#

Raw WebAssembly: Default context

moment(random_variable: Expression, order: Expression): Expression

The order-th raw moment E[X^order] of random_variable.

Calling forms

Raw WebAssembly: Explicit context: Context.moment

moment(random_variable: Expression, order: Expression): Expression

momentGeneratingFunction#

Raw WebAssembly: Default context

momentGeneratingFunction(
    random_variable: Expression,
    auxiliary_variable: string,
): Expression

Closed-form moment generating function M_X(t) of random_variable in the named auxiliary variable, when elementary; otherwise an unevaluated structural form.

Calling forms

Raw WebAssembly: Explicit context: Context.momentGeneratingFunction

momentGeneratingFunction(
    random_variable: Expression,
    auxiliary_variable: string,
): Expression

multinomialDistribution#

Raw WebAssembly: Default context

multinomialDistribution(
    trial_count: Expression,
    probabilities: Expression[],
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.multinomialDistribution

multinomialDistribution(
    trial_count: Expression,
    probabilities: Expression[],
): Expression

multivariateNormal#

Raw WebAssembly: Default context

multivariateNormal(mean: Expression[], covariance: Matrix): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.multivariateNormal

multivariateNormal(mean: Expression[], covariance: Matrix): Expression

orderStatistic#

Raw WebAssembly: Default context

orderStatistic(
    base_law: Expression,
    sample_size: Expression,
    rank: Expression,
): Expression

Construct the rank order statistic of an independent identically distributed sample.

Calling forms

Raw WebAssembly: Explicit context: Context.orderStatistic

orderStatistic(
    base_law: Expression,
    sample_size: Expression,
    rank: Expression,
): Expression

permute#

Raw WebAssembly: Default context

permute(
    joint_distribution: Expression,
    permutation: Uint32Array,
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.permute

permute(
    joint_distribution: Expression,
    permutation: Uint32Array,
): Expression

probability#

Raw WebAssembly: Default context

probability(
    predicate: Expression,
    random_variables: Expression[],
): Expression

Probability that predicate (a tail comparison such as X > t) holds over the listed independent random variables.

Calling forms

Raw WebAssembly: Explicit context: Context.probability

probability(
    predicate: Expression,
    random_variables: Expression[],
): Expression

productCopula#

Raw WebAssembly: Default context

productCopula(marginals: Expression[]): Expression

Construct the product copula of continuous scalar marginals.

Calling forms

Raw WebAssembly: Explicit context: Context.productCopula

productCopula(marginals: Expression[]): Expression

quantileNumeric#

Raw WebAssembly: Default context

quantileNumeric(distribution: Expression): NumericRootFindingResult

Numerically invert a scalar distribution CDF on an explicitly supplied exact bracket.

Calling forms

Raw WebAssembly: Explicit context: Context.quantileNumeric

quantileNumeric(
    distribution: Expression,
    probability: Expression,
    variable: string,
): NumericRootFindingResult

randomVariable#

Raw WebAssembly: Default context

randomVariable(name: string, distribution: Expression): Expression

Build a random variable named name drawn from distribution.

Calling forms

Raw WebAssembly: Explicit context: Context.randomVariable

randomVariable(name: string, distribution: Expression): Expression

randomVector#

Raw WebAssembly: Default context

randomVector(
    coordinate_names: string[],
    joint_distribution: Expression,
): Expression

Expose the native joint-law operation on the default context.

Calling forms

Raw WebAssembly: Explicit context: Context.randomVector

randomVector(
    coordinate_names: string[],
    joint_distribution: Expression,
): Expression

stationaryDistributions#

Raw WebAssembly: Default context

stationaryDistributions(): Matrix

Return the extreme stationary laws of a finite Markov chain.

Calling forms

Raw WebAssembly: Explicit context: Context.stationaryDistributions

stationaryDistributions(): Matrix

transitionProbability#

Raw WebAssembly: Default context

transitionProbability(): Expression

Return an exact transition probability for a finite Markov chain.

Calling forms

Raw WebAssembly: Explicit context: Context.transitionProbability

transitionProbability(): Expression

variance#

Raw WebAssembly: Default context

variance(target: Expression, random_variables: Expression[]): Expression

Variance of target over the listed independent random variables.

Calling forms

Raw WebAssembly: Explicit context: Context.variance

variance(target: Expression, random_variables: Expression[]): Expression

beta#

Raw WebAssembly: Default context

beta(x: Expression, y: Expression): Expression

The beta function B⁡(x,y)=Γ(x)Γ(y)/Γ(x+y)\operatorname{B}(x, y) = \Gamma(x)\Gamma(y)/\Gamma(x+y).

Calling forms

Raw WebAssembly: Explicit context: Context.beta

beta(x: Expression, y: Expression): Expression

carlsonRc#

Raw WebAssembly: Default context

carlsonRc(
    first_argument: Expression,
    second_argument: Expression,
): Expression

Carlson's degenerate symmetric elliptic integral RC(x,y)R_C(x,y).

Calling forms

Raw WebAssembly: Explicit context: Context.carlsonRc

carlsonRc(
    first_argument: Expression,
    second_argument: Expression,
): Expression

carlsonRd#

Raw WebAssembly: Default context

carlsonRd(
    first_argument: Expression,
    second_argument: Expression,
    third_argument: Expression,
): Expression

Carlson's symmetric elliptic integral RD(x,y,z)R_D(x,y,z).

Calling forms

Raw WebAssembly: Explicit context: Context.carlsonRd

carlsonRd(
    first_argument: Expression,
    second_argument: Expression,
    third_argument: Expression,
): Expression

carlsonRf#

Raw WebAssembly: Default context

carlsonRf(
    first_argument: Expression,
    second_argument: Expression,
    third_argument: Expression,
): Expression

Carlson's symmetric elliptic integral RF(x,y,z)R_F(x,y,z).

Calling forms

Raw WebAssembly: Explicit context: Context.carlsonRf

carlsonRf(
    first_argument: Expression,
    second_argument: Expression,
    third_argument: Expression,
): Expression

carlsonRj#

Raw WebAssembly: Default context

carlsonRj(
    first_argument: Expression,
    second_argument: Expression,
    third_argument: Expression,
    fourth_argument: Expression,
): Expression

Carlson's symmetric elliptic integral RJ(x,y,z,p)R_J(x,y,z,p).

Calling forms

Raw WebAssembly: Explicit context: Context.carlsonRj

carlsonRj(
    first_argument: Expression,
    second_argument: Expression,
    third_argument: Expression,
    fourth_argument: Expression,
): Expression

chebyshevPolynomialFirstKind#

Raw WebAssembly: Default context

chebyshevPolynomialFirstKind(
    degree: Expression,
    argument: Expression,
): Expression

The Chebyshev polynomial Tn(x)T_n(x).

Calling forms

Raw WebAssembly: Explicit context: Context.chebyshevPolynomialFirstKind

chebyshevPolynomialFirstKind(
    degree: Expression,
    argument: Expression,
): Expression

chebyshevPolynomialSecondKind#

Raw WebAssembly: Default context

chebyshevPolynomialSecondKind(
    degree: Expression,
    argument: Expression,
): Expression

The Chebyshev polynomial Un(x)U_n(x).

Calling forms

Raw WebAssembly: Explicit context: Context.chebyshevPolynomialSecondKind

chebyshevPolynomialSecondKind(
    degree: Expression,
    argument: Expression,
): Expression

cosineIntegral#

Raw WebAssembly: Default context

cosineIntegral(x: Expression): Expression

The cosine integral Ci⁡(x)\operatorname{Ci}(x), with Ci⁡′(x)=cos⁡(x)/x\operatorname{Ci}'(x) = \cos(x)/x.

Calling forms

Raw WebAssembly: Explicit context: Context.cosineIntegral

cosineIntegral(x: Expression): Expression

digamma#

Raw WebAssembly: Default context

digamma(x: Expression): Expression

The digamma function ψ(x)=Γ′(x)/Γ(x)\psi(x) = \Gamma'(x)/\Gamma(x).

Calling forms

Raw WebAssembly: Explicit context: Context.digamma

digamma(x: Expression): Expression

ellipticE#

Raw WebAssembly: Default context

ellipticE(parameter: Expression): Expression

The complete second-kind elliptic integral E(m)E(m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.ellipticE

ellipticE(parameter: Expression): Expression

ellipticEIncomplete#

Raw WebAssembly: Default context

ellipticEIncomplete(
    amplitude: Expression,
    parameter: Expression,
): Expression

The incomplete second-kind elliptic integral E(ϕ∣m)E(\phi\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.ellipticEIncomplete

ellipticEIncomplete(
    amplitude: Expression,
    parameter: Expression,
): Expression

ellipticF#

Raw WebAssembly: Default context

ellipticF(amplitude: Expression, parameter: Expression): Expression

The incomplete first-kind elliptic integral F(ϕ∣m)F(\phi\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.ellipticF

ellipticF(amplitude: Expression, parameter: Expression): Expression

ellipticK#

Raw WebAssembly: Default context

ellipticK(parameter: Expression): Expression

The complete first-kind elliptic integral K(m)K(m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.ellipticK

ellipticK(parameter: Expression): Expression

ellipticPi#

Raw WebAssembly: Default context

ellipticPi(
    characteristic: Expression,
    parameter: Expression,
): Expression

The complete third-kind elliptic integral Π(n∣m)\Pi(n\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.ellipticPi

ellipticPi(
    characteristic: Expression,
    parameter: Expression,
): Expression

ellipticPiIncomplete#

Raw WebAssembly: Default context

ellipticPiIncomplete(
    characteristic: Expression,
    amplitude: Expression,
    parameter: Expression,
): Expression

The incomplete third-kind elliptic integral Π(n;ϕ∣m)\Pi(n;\phi\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.ellipticPiIncomplete

ellipticPiIncomplete(
    characteristic: Expression,
    amplitude: Expression,
    parameter: Expression,
): Expression

errorFunction#

Raw WebAssembly: Default context

errorFunction(x: Expression): Expression

The error function erf⁡(x)=2π∫0xe−t2 dt\operatorname{erf}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2}\,dt.

Calling forms

Raw WebAssembly: Explicit context: Context.errorFunction

errorFunction(x: Expression): Expression

errorFunctionComplementary#

Raw WebAssembly: Default context

errorFunctionComplementary(x: Expression): Expression

The complementary error function erfc⁡(x)=1−erf⁡(x)\operatorname{erfc}(x) = 1 - \operatorname{erf}(x).

Calling forms

Raw WebAssembly: Explicit context: Context.errorFunctionComplementary

errorFunctionComplementary(x: Expression): Expression

exponentialIntegral#

Raw WebAssembly: Default context

exponentialIntegral(x: Expression): Expression

The exponential integral Ei⁡(x)\operatorname{Ei}(x), with Ei⁡′(x)=ex/x\operatorname{Ei}'(x) = e^x/x.

Calling forms

Raw WebAssembly: Explicit context: Context.exponentialIntegral

exponentialIntegral(x: Expression): Expression

fresnelCosineIntegral#

Raw WebAssembly: Default context

fresnelCosineIntegral(x: Expression): Expression

The Fresnel cosine integral C(x)=∫0xcos⁡(πt2/2) dtC(x) = \int_0^x \cos(\pi t^2/2)\,dt.

Calling forms

Raw WebAssembly: Explicit context: Context.fresnelCosineIntegral

fresnelCosineIntegral(x: Expression): Expression

fresnelSineIntegral#

Raw WebAssembly: Default context

fresnelSineIntegral(x: Expression): Expression

The Fresnel sine integral S(x)=∫0xsin⁡(πt2/2) dtS(x) = \int_0^x \sin(\pi t^2/2)\,dt.

Calling forms

Raw WebAssembly: Explicit context: Context.fresnelSineIntegral

fresnelSineIntegral(x: Expression): Expression

gamma#

Raw WebAssembly: Default context

gamma(x: Expression): Expression

The gamma function Γ(x)\Gamma(x), the analytic continuation of (x-1)!.

Calling forms

Raw WebAssembly: Explicit context: Context.gamma

gamma(x: Expression): Expression

gegenbauerPolynomial#

Raw WebAssembly: Default context

gegenbauerPolynomial(
    degree: Expression,
    parameter: Expression,
    argument: Expression,
): Expression

The Gegenbauer polynomial Cn(λ)(x)C_n^{(\lambda)}(x).

Calling forms

Raw WebAssembly: Explicit context: Context.gegenbauerPolynomial

gegenbauerPolynomial(
    degree: Expression,
    parameter: Expression,
    argument: Expression,
): Expression

generalizedLaguerrePolynomial#

Raw WebAssembly: Default context

generalizedLaguerrePolynomial(
    degree: Expression,
    parameter: Expression,
    argument: Expression,
): Expression

The generalized Laguerre polynomial Ln(α)(x)L_n^{(\alpha)}(x).

Calling forms

Raw WebAssembly: Explicit context: Context.generalizedLaguerrePolynomial

generalizedLaguerrePolynomial(
    degree: Expression,
    parameter: Expression,
    argument: Expression,
): Expression

hermitePolynomial#

Raw WebAssembly: Default context

hermitePolynomial(degree: Expression, argument: Expression): Expression

The physicists' Hermite polynomial Hn(x)H_n(x).

Calling forms

Raw WebAssembly: Explicit context: Context.hermitePolynomial

hermitePolynomial(degree: Expression, argument: Expression): Expression

hurwitzZeta#

Raw WebAssembly: Default context

hurwitzZeta(s: Expression, a: Expression): Expression

The Hurwitz zeta function ζ(s,a)=∑k≥0(k+a)−s\zeta(s, a) = \sum_{k\geq 0} (k+a)^{-s}, the numeric primitive of the family. hurwitz_zeta(s, 1) folds to zeta(s); hurwitz_zeta(s, 1/2) to (2s−1)ζ(s)(2^s - 1)\zeta(s); a positive integer second argument reduces to zeta(s) minus the finite head; a non-positive integer first argument gives a Bernoulli polynomial in a.

Calling forms

Raw WebAssembly: Explicit context: Context.hurwitzZeta

hurwitzZeta(s: Expression, a: Expression): Expression

hypergeometric0f1#

Raw WebAssembly: Default context

hypergeometric0f1(
    lower_parameter: Expression,
    argument: Expression,
): Expression

The confluent limit 0F1(;b;z){}_0F_1(; b; z), lowered to hypergeometric_pfq.

Calling forms

Raw WebAssembly: Explicit context: Context.hypergeometric0f1

hypergeometric0f1(
    lower_parameter: Expression,
    argument: Expression,
): Expression

hypergeometric1f1#

Raw WebAssembly: Default context

hypergeometric1f1(
    upper_parameter: Expression,
    lower_parameter: Expression,
    argument: Expression,
): Expression

Kummer's confluent hypergeometric function 1F1(a;b;z){}_1F_1(a; b; z).

Calling forms

Raw WebAssembly: Explicit context: Context.hypergeometric1f1

hypergeometric1f1(
    upper_parameter: Expression,
    lower_parameter: Expression,
    argument: Expression,
): Expression

hypergeometric2f1#

Raw WebAssembly: Default context

hypergeometric2f1(
    first_upper_parameter: Expression,
    second_upper_parameter: Expression,
    lower_parameter: Expression,
    argument: Expression,
): Expression

The Gauss hypergeometric function 2F1(a,b;c;z){}_2F_1(a, b; c; z).

Calling forms

Raw WebAssembly: Explicit context: Context.hypergeometric2f1

hypergeometric2f1(
    first_upper_parameter: Expression,
    second_upper_parameter: Expression,
    lower_parameter: Expression,
    argument: Expression,
): Expression

hypergeometricPfq#

Raw WebAssembly: Default context

hypergeometricPfq(
    upper_parameters: Expression[],
    lower_parameters: Expression[],
    argument: Expression,
): Expression

The generalized hypergeometric function pFq(a;b;z){}_pF_q(\mathbf a; \mathbf b; z). The two parameter groups are ordered sequences: order and repetition are significant, so a set or frozenset is rejected.

Calling forms

Raw WebAssembly: Explicit context: Context.hypergeometricPfq

hypergeometricPfq(
    upper_parameters: Expression[],
    lower_parameters: Expression[],
    argument: Expression,
): Expression

imaginaryErrorFunction#

Raw WebAssembly: Default context

imaginaryErrorFunction(x: Expression): Expression

The imaginary error function erfi⁡(x)=2π∫0xet2 dt=−ierf⁡(ix)\operatorname{erfi}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{t^2}\,dt = -i\operatorname{erf}(ix).

Calling forms

Raw WebAssembly: Explicit context: Context.imaginaryErrorFunction

imaginaryErrorFunction(x: Expression): Expression

jacobiAmplitude#

Raw WebAssembly: Default context

jacobiAmplitude(argument: Expression, parameter: Expression): Expression

The pinned Jacobi amplitude am⁡(u∣m)\operatorname{am}(u\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiAmplitude

jacobiAmplitude(argument: Expression, parameter: Expression): Expression

jacobiCn#

Raw WebAssembly: Default context

jacobiCn(argument: Expression, parameter: Expression): Expression

Jacobi's elliptic function cn⁡(u∣m)\operatorname{cn}(u\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiCn

jacobiCn(argument: Expression, parameter: Expression): Expression

jacobiDn#

Raw WebAssembly: Default context

jacobiDn(argument: Expression, parameter: Expression): Expression

Jacobi's elliptic function dn⁡(u∣m)\operatorname{dn}(u\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiDn

jacobiDn(argument: Expression, parameter: Expression): Expression

jacobiPolynomial#

Raw WebAssembly: Default context

jacobiPolynomial(
    degree: Expression,
    first_parameter: Expression,
    second_parameter: Expression,
    argument: Expression,
): Expression

The Jacobi polynomial Pn(α,β)(x)P_n^{(\alpha,\beta)}(x).

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiPolynomial

jacobiPolynomial(
    degree: Expression,
    first_parameter: Expression,
    second_parameter: Expression,
    argument: Expression,
): Expression

jacobiSn#

Raw WebAssembly: Default context

jacobiSn(argument: Expression, parameter: Expression): Expression

Jacobi's elliptic function sn⁡(u∣m)\operatorname{sn}(u\mid m), with parameter m=k2m=k^2.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiSn

jacobiSn(argument: Expression, parameter: Expression): Expression

jacobiTheta1#

Raw WebAssembly: Default context

jacobiTheta1(argument: Expression, tau: Expression): Expression

Jacobi's first theta function θ1(z∣τ)\theta_1(z\mid\tau), with half-period ratio τ\tau.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiTheta1

jacobiTheta1(argument: Expression, tau: Expression): Expression

jacobiTheta2#

Raw WebAssembly: Default context

jacobiTheta2(argument: Expression, tau: Expression): Expression

Jacobi's second theta function θ2(z∣τ)\theta_2(z\mid\tau), with half-period ratio τ\tau.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiTheta2

jacobiTheta2(argument: Expression, tau: Expression): Expression

jacobiTheta3#

Raw WebAssembly: Default context

jacobiTheta3(argument: Expression, tau: Expression): Expression

Jacobi's third theta function θ3(z∣τ)\theta_3(z\mid\tau), with half-period ratio τ\tau.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiTheta3

jacobiTheta3(argument: Expression, tau: Expression): Expression

jacobiTheta4#

Raw WebAssembly: Default context

jacobiTheta4(argument: Expression, tau: Expression): Expression

Jacobi's fourth theta function θ4(z∣τ)\theta_4(z\mid\tau), with half-period ratio τ\tau.

Calling forms

Raw WebAssembly: Explicit context: Context.jacobiTheta4

jacobiTheta4(argument: Expression, tau: Expression): Expression

laguerrePolynomial#

Raw WebAssembly: Default context

laguerrePolynomial(degree: Expression, argument: Expression): Expression

The Laguerre polynomial, lowered to generalized Laguerre with parameter zero.

Calling forms

Raw WebAssembly: Explicit context: Context.laguerrePolynomial

laguerrePolynomial(degree: Expression, argument: Expression): Expression

legendrePolynomial#

Raw WebAssembly: Default context

legendrePolynomial(degree: Expression, argument: Expression): Expression

The Legendre polynomial Pn(x)P_n(x).

Calling forms

Raw WebAssembly: Explicit context: Context.legendrePolynomial

legendrePolynomial(degree: Expression, argument: Expression): Expression

lerchPhi#

Raw WebAssembly: Default context

lerchPhi(
    argument: Expression,
    order: Expression,
    shift: Expression,
): Expression

The principal Lerch transcendent Φ(z,s,a)\Phi(z, s, a).

Calling forms

Raw WebAssembly: Explicit context: Context.lerchPhi

lerchPhi(
    argument: Expression,
    order: Expression,
    shift: Expression,
): Expression

logGamma#

Raw WebAssembly: Default context

logGamma(x: Expression): Expression

The principal-branch log-gamma function (not log(gamma(x)) off the real axis).

Calling forms

Raw WebAssembly: Explicit context: Context.logGamma

logGamma(x: Expression): Expression

logarithmicIntegral#

Raw WebAssembly: Default context

logarithmicIntegral(x: Expression): Expression

The logarithmic integral li⁡(x)\operatorname{li}(x), with li⁡′(x)=1/log⁡(x)\operatorname{li}'(x) = 1/\log(x).

Calling forms

Raw WebAssembly: Explicit context: Context.logarithmicIntegral

logarithmicIntegral(x: Expression): Expression

meijerG#

Raw WebAssembly: Default context

meijerG(
    upper_numerator_parameters: Expression[],
    upper_denominator_parameters: Expression[],
    lower_numerator_parameters: Expression[],
    lower_denominator_parameters: Expression[],
    argument: Expression,
): Expression

The Meijer G-function Gp,qm,nG_{p,q}^{m,n} from its four ordered parameter groups. The orders m, n, p, and q are read from the group lengths and are never supplied separately.

Calling forms

Raw WebAssembly: Explicit context: Context.meijerG

meijerG(
    upper_numerator_parameters: Expression[],
    upper_denominator_parameters: Expression[],
    lower_numerator_parameters: Expression[],
    lower_denominator_parameters: Expression[],
    argument: Expression,
): Expression

polygamma#

Raw WebAssembly: Default context

polygamma(order: Expression, x: Expression): Expression

The polygamma function ψ(n)(x)\psi^{(n)}(x), the order-th derivative of digamma; polygamma(0, x) reduces to digamma(x).

Calling forms

Raw WebAssembly: Explicit context: Context.polygamma

polygamma(order: Expression, x: Expression): Expression

polylogarithm#

Raw WebAssembly: Default context

polylogarithm(order: Expression, argument: Expression): Expression

The principal-branch polylogarithm Li⁡s(z)\operatorname{Li}_s(z).

Calling forms

Raw WebAssembly: Explicit context: Context.polylogarithm

polylogarithm(order: Expression, argument: Expression): Expression

sineIntegral#

Raw WebAssembly: Default context

sineIntegral(x: Expression): Expression

The sine integral Si⁡(x)=∫0xsin⁡(t)/t dt\operatorname{Si}(x) = \int_0^x \sin(t)/t\,dt.

Calling forms

Raw WebAssembly: Explicit context: Context.sineIntegral

sineIntegral(x: Expression): Expression

ultrasphericalPolynomial#

Raw WebAssembly: Default context

ultrasphericalPolynomial(
    degree: Expression,
    parameter: Expression,
    argument: Expression,
): Expression

The ultraspherical polynomial, lowered to the Gegenbauer head.

Calling forms

Raw WebAssembly: Explicit context: Context.ultrasphericalPolynomial

ultrasphericalPolynomial(
    degree: Expression,
    parameter: Expression,
    argument: Expression,
): Expression

zeta#

Raw WebAssembly: Default context

zeta(s: Expression): Expression

The Riemann zeta function ζ(s)=∑k≥1k−s\zeta(s) = \sum_{k\geq 1} k^{-s}.

Calling forms

Raw WebAssembly: Explicit context: Context.zeta

zeta(s: Expression): Expression

curl#

Raw WebAssembly: Default context

curl(vector_components: Expression[], variables: string[]): Expression[]

∇×F\nabla\times F.

Calling forms

Raw WebAssembly: Explicit context: Context.curl

curl(vector_components: Expression[], variables: string[]): Expression[]

divergence#

Raw WebAssembly: Default context

divergence(
    vector_components: Expression[],
    variables: string[],
): Expression

∇⋅F=∑i∂Fi/∂xi\nabla\cdot F = \sum_i \partial F_i/\partial x_i; component and variable counts must match.

Calling forms

Raw WebAssembly: Explicit context: Context.divergence

divergence(
    vector_components: Expression[],
    variables: string[],
): Expression

gradient#

Raw WebAssembly: Default context

gradient(scalar_field: Expression, variables: string[]): Expression[]

∇f\nabla f: the partial derivatives in the order of variables.

Calling forms

Raw WebAssembly: Explicit context: Context.gradient

gradient(scalar_field: Expression, variables: string[]): Expression[]

hessian#

Raw WebAssembly: Default context

hessian(scalar_field: Expression, variables: string[]): Matrix

The n×nn\times n matrix of second partials, computed as the Jacobian of the gradient; structurally symmetric on smooth input.

Calling forms

Raw WebAssembly: Explicit context: Context.hessian

hessian(scalar_field: Expression, variables: string[]): Matrix

jacobian#

Raw WebAssembly: Default context

jacobian(vector_components: Expression[], variables: string[]): Matrix

The matrix with entry (i,j)=∂Fi/∂xj(i, j) = \partial F_i/\partial x_j (rows index components, columns index variables).

Calling forms

Raw WebAssembly: Explicit context: Context.jacobian

jacobian(vector_components: Expression[], variables: string[]): Matrix

laplacian#

Raw WebAssembly: Default context

laplacian(scalar_field: Expression, variables: string[]): Expression

Δf=∇⋅∇f\Delta f = \nabla\cdot\nabla f.

Calling forms

Raw WebAssembly: Explicit context: Context.laplacian

laplacian(scalar_field: Expression, variables: string[]): Expression

Symi documentation · WASM / JavaScript