Matrix.Floor<T> Method

Computes the largest integer less than or equal to the elements of a matrix.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static Matrix<T> Floor<T>(
	this Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A matrix.

Type Parameters

T

Return Value

Matrix<T>
A matrix whose elements are equal to the largest integer less than or equal to the corresponding element of matrix.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Matrix<T>. 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).

Exceptions

ArgumentNullException

matrix is null.

See Also