Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPFunctionCalculus<R, U, N, D, I>

Type parameters

Hierarchy

Implemented by

Index

Properties

f

f: IPCompiled<R, U, N, IPFunction<R, U, N, Divide<U, Unit<CompleteTerms<{ time: 1 }>>>, Multiply<U, Unit<CompleteTerms<{ time: 1 }>>>>>

Readonly html

html: ViewOf<IPFunctionBase<R, U, N>> & Element

Produce HTML from the LaTeX representation. Produces a new HTML element on each call

param

Optional Readonly name

name: undefined | string

nargs

nargs: N

Readonly returnType

returnType: TYPE

Readonly tex

tex: string

Get the LaTeX representation of this function. The value is cached.

param

The parameter name (or expression)

Optional tex_

tex_: undefined | string

Optional Readonly timestep

timestep: undefined | number

Readonly unit

unit: U

Methods

compile

derivative

equiv

integral

simplify

  • Return the simplest form of this function we are capable of. The notion of "simplest" is variable, such as whether to prefer factored forms or distribute the multiplications. These behaviors can be altered via the options argument.

    Parameters

    • Optional options: any

    Returns IPFunctionBase<R, U, N>

toHtml

toTex

toTexWithUnits

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

Generated using TypeDoc