| NMathFunctionsNaNCovariance(DoubleVector, DoubleVector, BiasType) Method |
Computes the covariance of two data sets using the specified bias, excluding
pairs where either value is missing.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double NaNCovariance(
DoubleVector data1,
DoubleVector data2,
BiasType type
)
Public Shared Function NaNCovariance (
data1 As DoubleVector,
data2 As DoubleVector,
type As BiasType
) As Double
public:
static double NaNCovariance(
DoubleVector^ data1,
DoubleVector^ data2,
BiasType type
)
static member NaNCovariance :
data1 : DoubleVector *
data2 : DoubleVector *
type : BiasType -> float
Parameters
- data1 DoubleVector
- The first data set.
- data2 DoubleVector
- The second data set.
- type BiasType
- Biased or unbiased.
Return Value
DoubleCovariance.
Exceptions See Also