Click or drag to resize
Accord.NET (logo)

CircularSum Method

Computes the sum of cosines and sines for the given angles.

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static void Sum(
	double[] angles,
	out double cos,
	out double sin
)
Request Example View Source

Parameters

angles
Type: SystemDouble
A double array containing the angles in radians.
cos
Type: SystemDouble
The sum of cosines, returned as an out parameter.
sin
Type: SystemDouble
The sum of sines, returned as an out parameter.
See Also