extraTrees (version 1.0.5)

toJavaCSMatrix: 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

toJavaCSMatrix( m )

Arguments

m
matrix of numeric values.

Value

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