PSM.identity.rows

Indicate the stateVector row used to run an identity PSM


Syntax



Description

obj = obj.rows(row)

Indicate the state vector row that should be used as the SST input for the linear PSM when calling the “PSM.estimate” command. The input is a scalar. Uses the same state vector row for each ensemble member and each ensemble in an evolving set.

obj = obj.rows(memberRows)

Indicate which state vector rows to use for each ensemble member. This syntax allows you to use different state vector rows for different ensemble members. The input is a row vector with one element per ensemble member.

obj = obj.rows(evolvingRows)

Indicate which state vector rows to use for different ensembles in an evolving set. This syntax allows you to use different state vector rows for different ensembles in an evolving set. The input should be a 3D array of either size [1 x 1 x nEvolving] or of size [1 x nMembers x nEvolving]. If the second dimension has a size of 1, uses the same rows for all the ensemble members in a particular evolving ensemble. If the second dimension has a size of nMembers, allows you to use differents row for each ensemble member in each evolving ensemble.

rows = obj.rows

Returns the current rows for the PSM object

obj = obj.rows(‘delete’)

Deletes any currently specified rows from the identity PSM object.


Input Arguments

row

column vector, linear indices [nSlopes]
The state vector row that hold the variable used to run the identity PSM. Uses the same row for all ensemble members and ensembles in an evolving set.

memberRows

matrix, linear indices [nSlopes x nMembers]
Indicates which state vector rows to use for each ensemble member. Should be a row vector with one element per ensemble member. Uses the same rows for the ensemble members in different evolving ensembles.

evolvingRows

3*D* array, linear indices [1 x 1|*nMembers* x nEvolving]
Indicates which state vector rows to use for different ensembles in an evolving set. Should be a 3D array, and the number of elements along the third dimension should match the number of ensembles in the evolving set. If the second dimension has a length of 1, uses the same rows for all the ensemble members in each evolving ensemble. If the second dimension has a length equal to the number of ensemble members, allows you to indicate which state vector rows to use for each ensemble member in each evolving ensemble.

Output Arguments

obj

scalar PSM.*identity* object
The identity PSM with updated rows

rows

linear indices, [nSlopes x 1|*nMembers* x 1|*nEvolving*]
The current rows for the identity PSM.