| NMathFunctionsCovariance(FloatVector, FloatVector, 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 float Covariance(
FloatVector data1,
FloatVector data2,
BiasType type
)
Public Shared Function Covariance (
data1 As FloatVector,
data2 As FloatVector,
type As BiasType
) As Single
public:
static float Covariance(
FloatVector^ data1,
FloatVector^ data2,
BiasType type
)
static member Covariance :
data1 : FloatVector *
data2 : FloatVector *
type : BiasType -> float32
Parameters
- data1 FloatVector
- The first data set.
- data2 FloatVector
- The second data set.
- type BiasType
- Biased or unbiased.
Return Value
SingleCovariance.
Exceptions See Also