trieste.types#

This module contains type aliases.

Module Contents#

TensorType[source]#

Type alias for tensor-like types.

S[source]#

Unbound type variable.

T[source]#

Unbound type variable.

State[source]#

A State produces a value of type T, given a state of type S, and in doing so can update the state. If the state is updated, it is not updated in-place. Instead, a new state is created. This is a referentially transparent alternative to mutable state.