Formation.SetRandomStates Method

Top 

Description

Populates the Formation with states from a random Gaussian distribution described by the provided covariance matrix. The dimension and order of the covariance matrix is assumed to be consistent with the ProcessAction properties held in the first Spacecraft in the formation. The number of states generated is determined by the size of the provided Formation.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

Formation.SetRandomStates(Array meanState, Matrix covariance)

None

Populates the Formation with states from a random Gaussian distribution described by the provided covariance matrix. The dimension and order of the covariance matrix is assumed to be consistent with the ProcessAction properties held in the first Spacecraft in the formation. The number of states generated is determined by the size of the provided Formation.

Formation.SetRandomStates(Array meanState, Matrix covariance, RandomNumberGenerator random)

None

Populates the Formation with states from a Gaussian distribution described by the provided covariance matrix. The dimension and order of the covariance matrix is assumed to be consistent with the Spacecrafts' ProcessAction settings.

Formation.SetRandomStates(Array meanState, Matrix covariance, String covarianceElementSet)

None

Populates the Formation with states from a random Gaussian distribution described by the provided covariance matrix. The dimension and order of the covariance matrix is assumed to be consistent with the ProcessAction properties held in the first Spacecraft in the formation. The number of states generated is determined by the size of the provided Formation.

Formation.SetRandomStates(Array meanState, Matrix covariance, String covarianceElementSet, RandomNumberGenerator random)

None

Populates the Formation with states from a Gaussian distribution described by the provided covariance matrix. The dimension and order of the covariance matrix is assumed to be consistent with the Spacecrafts' ProcessAction settings.

 

 

See also

Formation Object

Formations Guide