/** * <a href="http://math.nist.gov/javanumerics/jama/">Jama</a> [math.nist.gov] style: * construct a 2D real matrix from <code>double[][]</code> * * Note: array is converted to Short[] * * @param name - array name * @param vals - two-dimensional array of values */ public MLInt16(String name, short[][] vals) { this(name, short2DToShort(vals), vals.length); }
/** * <a href="http://math.nist.gov/javanumerics/jama/">Jama</a> [math.nist.gov] style: * construct a 2D real matrix from <code>double[][]</code> * * Note: array is converted to Short[] * * @param name - array name * @param vals - two-dimensional array of values */ public MLInt16(String name, short[][] vals) { this(name, short2DToShort(vals), vals.length); }
/** * <a href="http://math.nist.gov/javanumerics/jama/">Jama</a> [math.nist.gov] style: * construct a 2D real matrix from <code>double[][]</code> * * Note: array is converted to Short[] * * @param name - array name * @param vals - two-dimensional array of values */ public MLInt16( String name, short[][] vals ) { this( name, short2DToShort(vals), vals.length ); }
/** * <a href="http://math.nist.gov/javanumerics/jama/">Jama</a> [math.nist.gov] style: * construct a 2D real matrix from <code>double[][]</code> * * Note: array is converted to Short[] * * @param name - array name * @param vals - two-dimensional array of values */ public MLInt16( String name, short[][] vals ) { this( name, short2DToShort(vals), vals.length ); }