Click or drag to resize
Accord.NET (logo)

MatrixRound Method (Double, Int32)

Rounds a double-precision floating-point number array to a specified number of fractional digits.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double[] Round(
	double[] vector,
	int decimals = 0
)
Request Example View Source

Parameters

vector
Type: SystemDouble
decimals (Optional)
Type: SystemInt32

Return Value

Type: Double
See Also