|
CircularDistance Method (Double, Double, Double, Double)
|
Computes the angular distance between two angles.
Namespace:
Accord.Statistics
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double Distance(
double cosx,
double sinx,
double cosy,
double siny
)
Public Shared Function Distance (
cosx As Double,
sinx As Double,
cosy As Double,
siny As Double
) As Double
Request Example
View SourceParameters
- cosx
- Type: SystemDouble
The cosine of the first sample. - sinx
- Type: SystemDouble
The sin of the first sample. - cosy
- Type: SystemDouble
The cosine of the second sample. - siny
- Type: SystemDouble
The sin of the second sample.
Return Value
Type:
DoubleThe distance between the two angles.
See Also