p_check_sparsity {CMF}R Documentation

Internal function for checking whether the input is in the right format

Description

Internal function for checking whether the input is in the right format

Usage

p_check_sparsity(mat, max_row, max_col)

Arguments

mat

An input matrix of class matrix

max_row

Maximum row index for mat

max_col

Maximum column index for mat

Value

TRUE if the input is in coordinate/triplet format. FALSE otherwise.


[Package CMF version 1.0.3 Index]