toJavaMatrix: Utility function for converting an R matrix (numeric matrix) to Java matrix.

Description

Internal function used for converting an R matrix to a Matrix object in Java. Matrix class is a custom Java class used for storing matrices by the implementation of ExtraTrees in Java.

Usage

toJavaMatrix( m )

Arguments

m

matrix of numeric values.

Value

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