Method | Description | |
---|---|---|
AngularDeviation ( double angles ) : double |
Computes the Angular Deviation of the given angles.
|
|
AngularDeviation ( double samples, double length ) : double |
Computes the circular angular deviation of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
AngularDeviation ( int samples, double cos, double sin ) : double |
Computes the Angular Deviation of the given angles.
|
|
CentralMoments ( double angles, int order ) : Complex |
Computes the complex circular central moments of the given circular angles.
|
|
Concentration ( double angles ) : double |
Computes the concentration (kappa) of the given angles.
|
|
Concentration ( double angles, double mean ) : double |
Computes the concentration (kappa) of the given angles.
|
|
Distance ( double x, double y ) : double |
Computes the angular distance between two angles.
|
|
Distance ( double x, double y, double length ) : double |
Computes the distance between two circular samples.
|
|
Distance ( double cosx, double sinx, double cosy, double siny ) : double |
Computes the angular distance between two angles.
|
|
Kurtosis ( double angles ) : double |
Computes the circular kurtosis of the given circular angles.
|
|
Mean ( double angles ) : double |
Computes the Mean direction of the given angles.
|
|
Mean ( double samples, double length ) : double |
Computes the circular Mean direction of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
Mean ( int samples, double cos, double sin ) : double |
Computes the Mean direction of the given angles.
|
|
Median ( double angles ) : double |
Computes the circular Median direction of the given angles.
|
|
Median ( double samples, double length ) : double |
Computes the circular Median of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
NoncentralMoments ( double angles, int order ) : Complex |
Computes the complex circular non-central moments of the given circular angles.
|
|
Quartiles ( double angles, |
Computes the circular quartiles of the given circular angles.
|
|
Quartiles ( double angles, |
Computes the circular quartiles of the given circular angles.
|
|
Quartiles ( double samples, double length, |
Computes the circular quartiles of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
Quartiles ( double samples, double length, |
Computes the circular quartiles of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
Quartiles ( double angles, double &q1, double &q3, bool wrap = true ) : double |
Computes the circular quartiles of the given circular angles.
|
|
Quartiles ( double samples, double length, double &q1, double &q3, bool wrap = true ) : double |
Computes the circular quartiles of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
Quartiles ( double samples, double length, double &q1, double &q3, double median, bool wrap = true ) : double |
Computes the circular quartiles of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
Resultant ( double angles ) : double |
Computes the mean resultant vector length (r) of the given angles.
|
|
Resultant ( double samples, double length ) : double |
Computes the resultant vector length (r) of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
Resultant ( int samples, double cos, double sin ) : double |
Computes the mean resultant vector length (r) of the given angles.
|
|
Skewness ( double angles ) : double |
Computes the circular skewness of the given circular angles.
|
|
StandardDeviation ( double angles ) : double |
Computes the Standard Deviation of the given angles.
|
|
StandardDeviation ( double samples, double length ) : double |
Computes the circular standard deviation of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
StandardDeviation ( int samples, double cos, double sin ) : double |
Computes the Standard Deviation of the given angles.
|
|
StandardError ( double angles, double alpha ) : double |
Computes the standard error of the given angles.
|
|
StandardError ( double samples, double length, double alpha ) : double |
Computes the circular standard error of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
StandardError ( int samples, double cos, double sin, double alpha ) : double |
Computes the standard error of the given angles.
|
|
Sum ( double angles, double &cos, double &sin ) : void |
Computes the sum of cosines and sines for the given angles.
|
|
ToCircular ( this angle, double length, bool wrap = true ) : double |
Transforms angular data back into circular data (reverts the ToRadians(double[], double, bool) transformation.
|
|
ToRadians ( this sample, double length ) : double |
Transforms circular data into angles (normalizes the data to be between -PI and PI).
|
|
ToRadians ( this samples, double length, bool inPlace = false ) : double[] |
Transforms circular data into angles (normalizes the data to be between -PI and PI).
|
|
Variance ( double angles ) : double |
Computes the Variance of the given angles.
|
|
Variance ( double samples, double length ) : double |
Computes the circular variance of the given circular samples. The minimum possible value for a sample must be zero and the maximum must be indicated in the parameter length.
|
|
Variance ( int samples, double cos, double sin ) : double |
Computes the Variance of the given angles.
|
|
WeightedConcentration ( double angles, double weights ) : double |
Computes the Weighted Concentration of the given angles.
|
|
WeightedConcentration ( double angles, double weights, double mean ) : double |
Computes the Weighted Concentration of the given angles.
|
|
WeightedMean ( double angles, double weights ) : double |
Computes the Weighted Mean of the given angles.
|
Method | Description | |
---|---|---|
estimateKappa ( double r ) : double |
Computes the maximum likelihood estimate of kappa given by Best and Fisher (1981). This method implements the approximation to the Maximum Likelihood Estimative of the kappa concentration parameter as suggested by Best and Fisher (1981), cited by Zheng Sun (2006) and Hussin and Mohamed (2008). Other useful approximations are given by Suvrit Sra (2009). References: |
public static AngularDeviation ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static AngularDeviation ( double samples, double length ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
return | double |
public static AngularDeviation ( int samples, double cos, double sin ) : double | ||
samples | int | The number of samples. |
cos | double | The sum of the cosines of the samples. |
sin | double | The sum of the sines of the samples. |
return | double |
public static CentralMoments ( double angles, int order ) : Complex | ||
angles | double | |
order | int | |
return | Complex |
public static Concentration ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static Concentration ( double angles, double mean ) : double | ||
angles | double | A double array containing the angles in radians. |
mean | double | The mean of the angles, if already known. |
return | double |
public static Distance ( double x, double y ) : double | ||
x | double | The first angle. |
y | double | The second angle. |
return | double |
public static Distance ( double x, double y, double length ) : double | ||
x | double | The first sample. |
y | double | The second sample. |
length | double | The maximum possible value of the samples. |
return | double |
public static Distance ( double cosx, double sinx, double cosy, double siny ) : double | ||
cosx | double | The cosine of the first sample. |
sinx | double | The sin of the first sample. |
cosy | double | The cosine of the second sample. |
siny | double | The sin of the second sample. |
return | double |
public static Kurtosis ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static Mean ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static Mean ( double samples, double length ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
return | double |
public static Mean ( int samples, double cos, double sin ) : double | ||
samples | int | The number of samples. |
cos | double | The sum of the cosines of the samples. |
sin | double | The sum of the sines of the samples. |
return | double |
public static Median ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static Median ( double samples, double length ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
return | double |
public static NoncentralMoments ( double angles, int order ) : Complex | ||
angles | double | |
order | int | |
return | Complex |
public static Quartiles ( double angles, |
||
angles | double | A double array containing the angles in radians. |
range | The sample quartiles, as an out parameter. | |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static Quartiles ( double angles, |
||
angles | double | A double array containing the angles in radians. |
range | The sample quartiles, as an out parameter. | |
median | double | The angular median, if already known. |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static Quartiles ( double samples, double length, |
||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
range | The sample quartiles, as an out parameter. | |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static Quartiles ( double samples, double length, |
||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
range | The sample quartiles, as an out parameter. | |
median | double | The median value of the |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static Quartiles ( double angles, double &q1, double &q3, bool wrap = true ) : double | ||
angles | double | A double array containing the angles in radians. |
q1 | double | The first quartile, as an out parameter. |
q3 | double | The third quartile, as an out parameter. |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static Quartiles ( double samples, double length, double &q1, double &q3, bool wrap = true ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
q1 | double | The first quartile, as an out parameter. |
q3 | double | The third quartile, as an out parameter. |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static Quartiles ( double samples, double length, double &q1, double &q3, double median, bool wrap = true ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
q1 | double | The first quartile, as an out parameter. |
q3 | double | The third quartile, as an out parameter. |
median | double | The median value of the |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static Resultant ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static Resultant ( double samples, double length ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
return | double |
public static Resultant ( int samples, double cos, double sin ) : double | ||
samples | int | The number of samples. |
cos | double | The sum of the cosines of the samples. |
sin | double | The sum of the sines of the samples. |
return | double |
public static Skewness ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static StandardDeviation ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static StandardDeviation ( double samples, double length ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
return | double |
public static StandardDeviation ( int samples, double cos, double sin ) : double | ||
samples | int | The number of samples. |
cos | double | The sum of the cosines of the samples. |
sin | double | The sum of the sines of the samples. |
return | double |
public static StandardError ( double angles, double alpha ) : double | ||
angles | double | A double array containing the angles in radians. |
alpha | double | The confidence level. Default is 0.05. |
return | double |
public static StandardError ( double samples, double length, double alpha ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
alpha | double | The confidence level. Default is 0.05. |
return | double |
public static StandardError ( int samples, double cos, double sin, double alpha ) : double | ||
samples | int | The number of samples. |
cos | double | The sum of the cosines of the samples. |
sin | double | The sum of the sines of the samples. |
alpha | double | The confidence level. Default is 0.05. |
return | double |
public static Sum ( double angles, double &cos, double &sin ) : void | ||
angles | double | A double array containing the angles in radians. |
cos | double | The sum of cosines, returned as an out parameter. |
sin | double | The sum of sines, returned as an out parameter. |
return | void |
public static ToCircular ( this angle, double length, bool wrap = true ) : double | ||
angle | this | The angle to be reconverted into the original unit. |
length | double | The maximum possible sample value (such as 24 for hour data). |
wrap | bool | /// Whether range values should be wrapped to be contained in the circle. If /// set to false, range values could be returned outside the [+pi;-pi] range. /// |
return | double |
public static ToRadians ( this sample, double length ) : double | ||
sample | this | The sample to be transformed. |
length | double | The maximum possible sample value (such as 24 for hour data). |
return | double |
public static ToRadians ( this samples, double length, bool inPlace = false ) : double[] | ||
samples | this | The samples to be transformed. |
length | double | The maximum possible sample value (such as 24 for hour data). |
inPlace | bool | Whether to perform the transformation in place. |
return | double[] |
public static Variance ( double angles ) : double | ||
angles | double | A double array containing the angles in radians. |
return | double |
public static Variance ( double samples, double length ) : double | ||
samples | double | A double array containing the circular samples. |
length | double | The maximum possible value of the samples. |
return | double |
public static Variance ( int samples, double cos, double sin ) : double | ||
samples | int | The number of samples. |
cos | double | The sum of the cosines of the samples. |
sin | double | The sum of the sines of the samples. |
return | double |
public static WeightedConcentration ( double angles, double weights ) : double | ||
angles | double | A double array containing the angles in radians. |
weights | double | An unit vector containing the importance of each angle
/// in |
return | double |
public static WeightedConcentration ( double angles, double weights, double mean ) : double | ||
angles | double | A double array containing the angles in radians. |
weights | double | An unit vector containing the importance of each angle
/// in |
mean | double | The mean of the angles, if already known. |
return | double |
public static WeightedMean ( double angles, double weights ) : double | ||
angles | double | A double array containing the angles in radians. |
weights | double | An unit vector containing the importance of each angle
/// in |
return | double |