Utility function for converting an R SparseMatrix (package Matrix) to Java (column) sparse matrix.

Description

Internal function used for converting an R SparseMatrix (package Matrix) to a CSparseMatrix object in Java. CSparseMatrix class is a custom Java class used for storing sparse matrices by the implementation of ExtraTrees in Java.

Usage

1

Arguments

m

matrix of numeric values.

Value

reference to Java matrix with the same contents as the input R matrix.

Author(s)

Jaak Simm