public Vector zero() { for (VectorEntry e : this) e.set(0); return this; }
public Vector zero() { for (VectorEntry e : this) e.set(0); return this; }
@Override public void setValue( double value) { this.internalEntry.set(value); }
@Override public void setValue( double value) { this.internalEntry.set(value); }
@Override public void setValue( double value) { this.internalEntry.set(value); }
public void set(double value) { entry.set(value); }
public void set(double value) { entry.set(value); }
public void set(double value) { entry.set(value); }
public void set(double value) { entry.set(value); }
public Vector scale(double alpha) { if (alpha == 0) return zero(); else if (alpha == 1) return this; for (VectorEntry e : this) e.set(alpha * e.get()); return this; }
public Vector scale(double alpha) { if (alpha == 0) return zero(); else if (alpha == 1) return this; for (VectorEntry e : this) e.set(alpha * e.get()); return this; }