Package eu.bandm.sig.adlib2.math
Class DoubleDynamics
java.lang.Object
eu.bandm.sig.adlib2.math.DoubleDynamics
- All Implemented Interfaces:
Component,PrimitiveDoubleSignalSourceVector
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionDoubleDynamics(C body, DoubleDynamics.Integrator.Factory<C, ?> integrator, Optional<ConstantRealtimeContext> context, double... initial) -
Method Summary
Modifier and TypeMethodDescriptioncompile()static DoubleVectorMap.Computerexponential(double base) doublegetAsDouble(int index) Returns the delegate object that effects changes of observable state.static DoubleVectorMap.Computeroscillator(double w) static DoubleVectorMap.ComputeroscillatorSymplectic(double w)
-
Constructor Details
-
DoubleDynamics
public DoubleDynamics(C body, DoubleDynamics.Integrator.Factory<C, ?> integrator, Optional<ConstantRealtimeContext> context, double... initial)
-
-
Method Details
-
getAsDouble
public double getAsDouble(int index) - Specified by:
getAsDoublein interfacePrimitiveDoubleSignalSourceVector
-
getOutputs
-
getProcess
Description copied from interface:ComponentReturns the delegate object that effects changes of observable state.- Specified by:
getProcessin interfaceComponent
-
compile
-
exponential
-
oscillator
-
oscillatorSymplectic
-