gemseo / algos / sequence_transformer

Show inherited members

no_transformation module

The sequence transformer which does nothing.

class gemseo.algos.sequence_transformer.no_transformation.NoTransformation[source]

Bases: SequenceTransformer

A SequenceTransformer which leaves the sequence unchanged.

compute_transformed_iterate(current_iterate, next_iterate)[source]

Compute the next transformed iterate.

Parameters:
  • current_iterate (ndarray[Any, dtype[_ScalarType_co]]) – The current iterate \(x_n\).

  • next_iterate (ndarray[Any, dtype[_ScalarType_co]]) – The new iterate \(G(x_n)\).

Returns:

The next transformed iterate \(x_{n+1}\).

Return type:

ndarray[Any, dtype[_ScalarType_co]]