Click or drag to resize
Accord.NET (logo)

CircularToCircular Method

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double ToCircular(
	this double angle,
	double length,
	bool wrap = true
)
Request Example View Source

Parameters

angle
Type: SystemDouble
The angle to be reconverted into the original unit.
length
Type: SystemDouble
The maximum possible sample value (such as 24 for hour data).
wrap (Optional)
Type: SystemBoolean
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 Value

Type: Double
The original before being converted.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also