class DenseVector extends Vector {

    @Override
    public double dot(Vector vec) {
        if (vec instanceof DenseVector) {
            return BLAS.dot(this, (DenseVector) vec);
        } else {
            return ((SparseVector) vec).dot(this);
        }
    }

    public  DenseVector();
    public  DenseVector(int n);
    public  DenseVector(double[] data);

}