project()

Contents

project()#

ROM.project(states)#

Project a high-dimensional state vector to the subset of the high-dimensional space that can be represented by the basis.

This is done by

  1. expressing the state in low-dimensional latent coordinates, then

  2. reconstructing the high-dimensional state corresponding to those coordinates.

In other words, project(Q) is equivalent to decode(encode(Q)).

Parameters:
states(n, …) ndarray

Matrix of n-dimensional state vectors, or a single state vector.

Returns:
state_projected(n, …) ndarray

Matrix of n-dimensional projected state vectors, or a single projected state vector.