[Jama] Faster arraycopy

9 views
Skip to first unread message

Earl Bosch

unread,
Oct 14, 2016, 7:25:44 AM10/14/16
to ja...@list.nist.gov
This should be faster for your matrix copy (Matrix.java):

public Matrix copy() {
Matrix X = new Matrix(m, n);
System.arraycopy(A, 0, X.A, 0, A.length);
return X;
}

Regards,
Earl

Reply all
Reply to author
Forward
0 new messages