Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefiniteIntegralImpl<R, U, D, I>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly evaluating

evaluating: IndefiniteIntegral<R, U, D, I>

Optional f_

f_: undefined | IPCompiled<R, U, 1, R extends number ? IPFunctionCalculus<number, U, 1, Divide<U, Unit<CompleteTerms<{ time: 1 }>>>, Multiply<U, Unit<CompleteTerms<{ time: 1 }>>>> : R extends Rotation<Unit<CompleteTerms<{ angle: 1 }>>> ? IPFunctionCalculus<Rotation<Unit<CompleteTerms<{ angle: 1 }>>>, U, 1, Divide<U, Unit<CompleteTerms<{ time: 1 }>>>, Multiply<U, Unit<CompleteTerms<{ time: 1 }>>>> : R extends Vector<Unit<CompleteTerms<{ length: 1 }>>, Unit<DivideTerms<CompleteTerms<{ length: 1 }>, CompleteTerms<{ time: 1 }>>>, Unit<MultiplyTerms<CompleteTerms<{ length: 1 }>, CompleteTerms<{ time: 1 }>>>> ? IPFunctionCalculus<Vector<Unit<CompleteTerms<{ length: 1 }>>, Unit<DivideTerms<CompleteTerms<{ length: 1 }>, CompleteTerms<{ time: 1 }>>>, Unit<MultiplyTerms<CompleteTerms<{ length: 1 }>, CompleteTerms<{ time: 1 }>>>>, U, 1, Divide<U, Unit<CompleteTerms<{ time: 1 }>>>, Multiply<U, Unit<CompleteTerms<{ time: 1 }>>>> : R extends Point ? IPFunctionBase<Point, U, 1> : R extends Orientation ? IPFunctionBase<Orientation, U, 1> : never>

Readonly from

from: number

Readonly name

name: string

Name of this PFunction, for disambiguation and well-known functions (such as constants).

Readonly nargs

nargs: 1

Optional tex_

tex_: undefined | string

Cached LaTeX string

timestep

timestep: number = ...

The time step to be used for numerical integration. Ignored for functions with a defined analytic integral.

Readonly unit

unit: U

Accessors

f

html

  • get html(): ViewOf<this> & Element
  • Produce HTML from the LaTeX representation. Produces a new HTML element on each reference, equivalent to:

    pFun.toHtml();
    

    Returns ViewOf<this> & Element

returnType

  • get returnType(): TYPE

tex

  • get tex(): string
  • Get the LaTeX representation of this function. The value is cached.

    Returns string

Methods

compile

Protected compileFn

  • compileFn(): IPCompileResult1<R>

derivative

differentiate

equiv

integral

integrate

Private setName_

simplify

toHtml

toTex

toTexWithUnits

  • toTexWithUnits(varName?: string, ctx?: StyleContext): string

Generated using TypeDoc