Creates a new matrix with the same dimensions as a given matrix, whose values are the result of applying the ceiling rounding function to each element of the matrix.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static DoubleMatrix Ceil(
	DoubleMatrix A
)
Visual Basic (Declaration)
Public Shared Function Ceil ( _
	A As DoubleMatrix _
) As DoubleMatrix
Visual C++
public:
static DoubleMatrix^ Ceil(
	DoubleMatrix^ A
)

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix.

Return Value

A new matrix.

Remarks

B[i,j] = System.Math.Ceil(A[i,j])

See Also