DiffEqSolver | myPhysicsLab Docs

interface DiffEqSolver {
    getName(opt_localized?): string;
    nameEquals(name): boolean;
    step(stepSize): null | object;
    toStringShort(): string;
}

Hierarchy (view full)

Implemented by

Methods

getName

  • getName(opt_localized?): string
  • Parameters

    • Optional opt_localized: boolean

    Returns string

    name of this object

nameEquals

  • nameEquals(name): boolean
  • Parameters

    • name: string

    Returns boolean

    whether this DiffEqSolver has the given name (adjusted to language-independent form)

step

  • step(stepSize): null | object
  • Parameters

    • stepSize: number

    Returns null | object

    null if the step succeeds, otherwise an object relating to the error that occurred

toStringShort

  • toStringShort(): string
  • Returns string

    a minimal string representation of this object.