| NMathFunctionsCovariance(Int32, Int32, 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(
int[] data1,
int[] data2,
BiasType type
)
Public Shared Function Covariance (
data1 As Integer(),
data2 As Integer(),
type As BiasType
) As Double
public:
static double Covariance(
array<int>^ data1,
array<int>^ data2,
BiasType type
)
static member Covariance :
data1 : int[] *
data2 : int[] *
type : BiasType -> float
Parameters
- data1 Int32
- The first data set.
- data2 Int32
- The second data set.
- type BiasType
- Biased or unbiased.
Return Value
DoubleCovariance.
Exceptions See Also