List of usage examples for org.apache.commons.math3.linear RealVector getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:com.cloudera.oryx.common.math.VectorsTest.java
@Test public void testLike() { RealVector of = Vectors.of(1.0, -2.0, 7.0); RealVector like = Vectors.like(of);//from w ww. j a v a2 s. c om assertEquals(of.getDimension(), like.getDimension()); assertEquals(0.0, like.getEntry(0)); assertSame(of.getClass(), like.getClass()); }