Check sparsity of matrix

check_sparsity(x)

Arguments

x

A matrix.

Value

Sparsity of matrix