API Docs for: 0.99.4
Show:

JXG.Math.Symbolic Class

Module: JXG

The JXG.Math.Symbolic namespace holds algorithms for symbolic computations.

Methods

clearSymbolicCoordinates

(
  • board
)

Clears all .symbolic.x and .symbolic.y members on every point of a given board.

Parameters:

  • board JXG.Board

    The board that's points get cleared their symbolic coordinates.

generatePolynomials

(
  • board
  • element
  • generateCoords
)
Array

Generates polynomials for a part of the construction including all the points from that a specific element depends of.

Parameters:

  • board JXG.Board

    The board that's points polynomials will be generated.

  • element JXG.GeometryElement

    All points in the set of ancestors of this element are used to generate the set of polynomials.

  • generateCoords Boolean

Returns:

Array:

An array of polynomials as strings.

generateSymbolicCoordinatesPartial

(
  • board
  • element
  • variable
  • append
)
Number

Generates symbolic coordinates for the part of a construction including all the elements from that a specific element depends of. These coordinates will be stored in GeometryElement.symbolic.

Parameters:

  • board JXG.Board

    The board that's element get some symbolic coordinates.

  • element JXG.GeometryElement

    All ancestor of this element get symbolic coordinates.

  • variable String

    Name for the coordinates, e.g. x or u.

  • append String

    Method for how to append the number of the coordinates. Possible values are 'underscore' (e.g. x_2), 'none' (e.g. x2), 'brace' (e.g. x[2]).

Returns:

Number:

Number of coordinates given.

geometricLocusByGroebnerBase

(
  • board
  • point
)
Array

Calculate geometric locus of a point given on a board. Invokes python script on server.

Parameters:

  • board JXG.Board

    The board on which the point lies.

  • point JXG.Point

    The point that will be traced.

Returns:

Array:

An array of points.