class SparseDoubleVector extends AbstractVector {

	@Override
	public void multiplyByVectorPairwise(final double[] vectorAsArray) {
		this.setIsChanged();
		SparseVector vector = this.internalVector;
		int[] indexes = vector.getIndex();
		for (int i = 0; i < indexes.length; i++) {
			vector.set(indexes[i], vector.get(indexes[i]) * vectorAsArray[indexes[i]]);
		}
	}

	public  SparseDoubleVector(final int[] indices, final double[] values, final int dimension);
	public  SparseDoubleVector(final int dimension);
	public  SparseDoubleVector(final double[] data);
	public  SparseDoubleVector(final SparseVector mtjVector);

}