public final class VectorParameters extends Object implements Parameters<VectorParameters>
Modifier and Type | Field and Description |
---|---|
double[] |
vector |
Constructor and Description |
---|
VectorParameters(double[] vec) |
VectorParameters(int ndims) |
Modifier and Type | Method and Description |
---|---|
void |
addInplace(double value) |
void |
addInplace(VectorParameters other) |
void |
multiplyInplace(double value) |
void |
multiplyInplace(VectorParameters other) |
public double[] vector
public VectorParameters(int ndims)
public VectorParameters(double[] vec)
public void multiplyInplace(VectorParameters other)
multiplyInplace
in interface Parameters<VectorParameters>
public void addInplace(VectorParameters other)
addInplace
in interface Parameters<VectorParameters>
public void multiplyInplace(double value)
multiplyInplace
in interface Parameters<VectorParameters>
public void addInplace(double value)
addInplace
in interface Parameters<VectorParameters>