OptimizationVariable.unpack#

abstractmethod OptimizationVariable.unpack(x)[source]#

Map a solution slice to a labelled DataArray.

Parameters:
xnp.ndarray

1-D array of length size.

Returns:
DataArray

Labelled with dims and coords.