Check whether a matrix contains NaN ("not a number") elements
Declaring type: MatrixUtils
Namespace: MyMediaLite.DataType
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static bool ContainsNaN (
        Matrix<double> matrix
) 
Parameters
matrix
a matrix
Return Value
true if there are NaN elements in the matrix, false otherwise