extract_column_from_csc_matrix: Extract column from compressed sparse column matrix

Description Usage Arguments Value

View source: R/matrix_functions.R

Description

Extract column from compressed sparse column matrix

Usage

1
2
3
4
5
6
extract_column_from_csc_matrix(
  col_nos,
  csc_mat,
  zero_based_idx = TRUE,
  row_subset = NULL
)

Arguments

col_nos

idxs of the columns to extract

csc_mat

a list representing a matrix stored in csc form containing the entries p, i, x, and dim.

zero_based_idx

(boolean) do i and p use zero-based indexing

row_subset

(optional) subset the extracted columns by row index

Value

a matrix containing the extracted columns


Timothy-Barry/ravel documentation built on Oct. 16, 2020, 12:40 a.m.