/** * {@inheritDoc} * * NOTE: This produces a dense vector because a sparse vector with one * element is less memory efficient than a dense vector with two elements. * * @return {@inheritDoc} */ @Override final public Vector2D createVector2D( final double x, final double y) { return new CustomDenseVectorFactory.DenseVector2D(x, y); }
/** * {@inheritDoc} * * NOTE: This produces a dense vector because a sparse vector with one * element is less memory efficient than a dense vector with two elements. * * @return {@inheritDoc} */ @Override final public Vector2D createVector2D( final double x, final double y) { return new CustomDenseVectorFactory.DenseVector2D(x, y); }
/** * {@inheritDoc} * * NOTE: This produces a dense vector because a sparse vector with one * element is less memory efficient than a dense vector with two elements. * * @return {@inheritDoc} */ @Override final public Vector2D createVector2D( final double x, final double y) { return new CustomDenseVectorFactory.DenseVector2D(x, y); }
@Override final public Vector2D createVector2D( final double x, final double y) { return new DenseVector2D(x, y); }
@Override final public Vector2D createVector2D( final double x, final double y) { return new DenseVector2D(x, y); }
@Override final public Vector2D createVector2D( final double x, final double y) { return new DenseVector2D(x, y); }