C# Class CSharpRoboticsLib.Utility.Derivative

Single-Order derivative function.
显示文件 Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Public Methods

Method Description
Derivative ( )

Creates a new derivative object with the initial value set to zero.

Derivative ( double initialCondition )

Creates a new Derivative object.

Get ( double x ) : double

Gets dx/dt

ReInitialize ( ) : void

resets the derivative to zero

ReInitialize ( double value ) : void

resets the derivative to the specified value

Method Details

Derivative() public method

Creates a new derivative object with the initial value set to zero.
public Derivative ( )

Derivative() public method

Creates a new Derivative object.
public Derivative ( double initialCondition )
initialCondition double Initial value to set x

Get() public method

Gets dx/dt
public Get ( double x ) : double
x double
return double

ReInitialize() public method

resets the derivative to zero
public ReInitialize ( ) : void
return void

ReInitialize() public method

resets the derivative to the specified value
public ReInitialize ( double value ) : void
value double value to reset to
return void