FiniteDifferenceStep

class FiniteDifferenceStep(*args)

Base class to define finite difference steps.

Parameters:
epsilonsequence of float

Finite difference steps for each dimension.

Methods

getClassName()

Accessor to the object's name.

getEpsilon()

Get the finite difference steps.

getId()

Accessor to the object's id.

getImplementation()

Accessor to the underlying implementation.

getName()

Accessor to the object's name.

setEpsilon(epsilon)

Set the finite difference steps.

setName(name)

Accessor to the object's name.

Notes

Base class to define how finite difference steps are computed. Using FiniteDifferenceStep is equivalent to use its derived class ConstantStep. Another way to compute steps is through its second derived class BlendedStep.

__init__(*args)
getClassName()

Accessor to the object’s name.

Returns:
class_namestr

The object class name (object.__class__.__name__).

getEpsilon()

Get the finite difference steps.

Returns:
epsilonPoint

If ConstantStep : Finite difference steps for each dimension.

If BlendedStep : Finite difference step factors for each dimension.

getId()

Accessor to the object’s id.

Returns:
idint

Internal unique identifier.

getImplementation()

Accessor to the underlying implementation.

Returns:
implImplementation

A copy of the underlying implementation object.

getName()

Accessor to the object’s name.

Returns:
namestr

The name of the object.

setEpsilon(epsilon)

Set the finite difference steps.

Parameters:
epsilonsequence of float

If ConstantStep : Finite difference steps for each dimension.

If BlendedStep : Finite difference step factors for each dimension.

setName(name)

Accessor to the object’s name.

Parameters:
namestr

The name of the object.