Description
Adds a new correlation matrix to the collection. To add a simple 2x2 correlation matrix, you may want to use the simpler AddDependency method.
Syntax
object.Add(name as String, size as Integer, Optional numInstances as Integer = 1)
Arguments
name (Required String) – the name of the correlation matrix. Two correlation matrices in the collection can not have the same name.
size (Required Integer) – the size of the matrix. A 3x3 matrix has a size of 3.
numInstances (Optional Integer) – the number of independent groups of inputs that will be correlated with the correlation matrix. If this argument is not supplied, the default number of instances is one.
Return Value
(RDKCorrelation) – the new correlation object.
Example
'Make a new 3x3 correlation matrix
RDKApp.Correlations.Add("myMatrix", 3)