Skip to contents

Coercion methods to convert in-memory matrix objects to dbMatrix objects. Creates a new in-memory DuckDB connection.

Value

A database-backed matrix object. Dense inputs return a dbDenseMatrix, while sparse Matrix::dgCMatrix inputs return a dbSparseMatrix.