p_check_sparsity: Internal function for checking whether the input is in the...

View source: R/CMF.R

p_check_sparsityR 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.


CMF documentation built on Aug. 10, 2022, 1:06 a.m.