Hierarchy
-
BinaryOp<R, number, U, D, I>
Constructors
constructor
- new PMul<R, U, D, I>(a: IPFunctionCalculus<R, U, 1, D, I>, b: IPFunctionCalculus<number, U, 1, D, I>): PMul<R, U, D, I>
-
Type parameters
Parameters
Returns PMul<R, U, D, I>
Properties
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 name
name: string
Optional tex_
tex_: undefined | string
timestep
timestep: number = ...
Accessors
html
- get html(): ViewOf<this> & Element
-
Returns ViewOf<this> & Element
Methods
compile
- compile(): 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>
Protected compileFn
- compileFn(): IPCompileResult1<R>
-
Returns IPCompileResult1<R>
equiv
- equiv<T>(f: T): null | PMul<R, U, D, I> | T
-
Type parameters
Parameters
Returns null | PMul<R, U, D, I> | T
Private setName_
- setName_(name: string): PMul<R, U, D, I>
-
Parameters
Returns PMul<R, U, D, I>
toHtml
-
Parameters
-
varName: string = 't'
-
block: boolean = false
-
Returns ViewOf<PMul<R, U, D, I>> & Element
toTex
-
Parameters
Returns string
toTexWithUnits
- toTexWithUnits(varName?: string, ctx?: StyleContext): string
-
Parameters
Returns string
Name of this PFunction, for disambiguation and well-known functions (such as constants).