public class Vector extends Matrix
| Constructor and Description |
|---|
Vector(int size, VectorType
|
| Modifier and Type | Method and Description |
|---|---|
double |
distance(Vector
|
int |
getSize()
|
double |
getValue(int p)
|
double |
norm()
|
Vector |
normalized()
|
void |
setValue(int p, double v)
|
String |
toString()
|
String |
toString(int k)
|
Vector |
transponate()
|
add, determinant, getDimension, getHeight, getIdentity, getValue, getWidth, initRandom, invert, isScalar, isVector, multiply, multiplyFromRight, setValue, solve, subtract, toScalar, toVectorpublic Vector(int size,
VectorType type) public void setValue(int p,
double v)public double getValue(int p)
public int getSize()
public StringtoString()
public StringtoString(int k)
public double distance(Vectorprev)
public double norm()
public Vectornormalized()
public Vectortransponate()