IntegrationAlgorithm

class IntegrationAlgorithm(*args)

Base class for integration algorithms.

Attributes
thisown

The membership flag

Methods

getClassName()

Accessor to the object’s name.

getId()

Accessor to the object’s id.

getImplementation(*args)

Accessor to the underlying implementation.

getName()

Accessor to the object’s name.

integrate(*args)

Integrate a function on an interval.

setName(name)

Accessor to the object’s name.

getClassName()

Accessor to the object’s name.

Returns
class_namestr

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

getId()

Accessor to the object’s id.

Returns
idint

Internal unique identifier.

getImplementation(*args)

Accessor to the underlying implementation.

Returns
implImplementation

The implementation class.

getName()

Accessor to the object’s name.

Returns
namestr

The name of the object.

integrate(*args)

Integrate a function on an interval.

Parameters
functionFunction

The function to integrate.

intervalInterval

The integration domain.

Returns
valuePoint

The integral value.

setName(name)

Accessor to the object’s name.

Parameters
namestr

The name of the object.