| NMathFunctionsCovariance(Double, Double, BiasType) Method |
Computes the covariance of two data sets using the specified bias.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double Covariance(
double[] data1,
double[] data2,
BiasType type
)
Public Shared Function Covariance (
data1 As Double(),
data2 As Double(),
type As BiasType
) As Double
public:
static double Covariance(
array<double>^ data1,
array<double>^ data2,
BiasType type
)
static member Covariance :
data1 : float[] *
data2 : float[] *
type : BiasType -> float
Parameters
- data1 Double
- The first data set.
- data2 Double
- The second data set.
- type BiasType
- Biased or unbiased.
Return Value
DoubleCovariance.
Exceptions See Also