Table of Contents

Method CircularVariance

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

CircularVariance(ReadOnlySpan<double>)

Computes the circular variance of angles in degrees as 1 - R, where R is the mean resultant length.

public static double CircularVariance(ReadOnlySpan<double> anglesDeg)

Parameters

anglesDeg ReadOnlySpan<double>

Angles in degrees.

Returns

double

Circular variance in [0,1], or NaN for an empty input.