public void copyFrom(NRvector <T, A> from) { if (size() != from.size()) { throw new Exception(); } System.Array.Copy(from.v, 0, v, 0, from.v.Length); }
public void copyTo(NRvector <T, A> to) { if (size() != to.size()) { throw new Exception(); } System.Array.Copy(v, 0, to.v, 0, v.Length); }