Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NumericIntegral<U, D, I>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Optional f_

f_: undefined | IPCompiled<number, U, 2, IPFunctionBase<number, U, 2>>

Readonly integrand

integrand: IPFunctionCalculus<number, D, 1, Divide<D, Unit<CompleteTerms<{ time: 1 }>>>, U>

Readonly name

name: string

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

Readonly nargs

nargs: 2

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(): IPCompileResult2<number>

derivative

differentiate

equiv

from

integral

integrate

Private setName_

simplify

toHtml

toTex

toTexWithUnits

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

Generated using TypeDoc