| NMathFunctionsRound(DoubleMatrix, Int32) Method |
Creates a new matrix with the same dimensions as a given matrix, whose values
are the result of rounding each element to the specified number of digits.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleMatrix Round(
DoubleMatrix A,
int digits
)
Public Shared Function Round (
A As DoubleMatrix,
digits As Integer
) As DoubleMatrix
public:
static DoubleMatrix^ Round(
DoubleMatrix^ A,
int digits
)
static member Round :
A : DoubleMatrix *
digits : int -> DoubleMatrix
Parameters
- A DoubleMatrix
- A matrix.
- digits Int32
- Number of digits.
Return Value
DoubleMatrixA new matrix.
Remarks B[i,j] = System.Math.Round(A[i,j], d)
See Also