| 
            
              ToolsRandomCovariance Method 
             | 
          
        
          
    Namespace: 
   Accord.Statistics
    Assembly:
   Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntaxpublic static double[,] RandomCovariance(
	int size,
	double minValue,
	double maxValue
)
Public Shared Function RandomCovariance ( 
	size As Integer,
	minValue As Double,
	maxValue As Double
) As Double(,)
 Request Example
		View SourceParameters
- size
 - Type: SystemInt32
The size of the square matrix. - minValue
 - Type: SystemDouble
The minimum value for a diagonal element. - maxValue
 - Type: SystemDouble
The maximum size for a diagonal element. 
Return Value
Type: 
DoubleA square, positive-definite matrix which 
              can be interpreted as a covariance matrix.
See Also