Skip to contents

A matrix in compressed sparse column form, a dgCMatrix (package Matrix) in R.

Usage

type_sparse_matrix(type = type_double(), nrow = NULL, ncol = NULL)

Arguments

type

An r8_field_type: type_double() or type_logical().

nrow

Optional Integer: The number of rows.

ncol

Optional Integer: The number of columns.

Value

An r8_field_type.

Examples

type_sparse_matrix()
#> <r8 field type> sparse matrix of double