sim.util.matrix
Class Vector
java.lang.Object
sim.util.matrix.Vector
public class Vector
- extends java.lang.Object
Field Summary |
int |
m
|
double[] |
vals
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
vals
public double[] vals
m
public int m
Vector
public Vector(double[] vals)
Vector
public Vector(int m)
Vector
public Vector(DenseMatrix jam)
minus
public Vector minus(Vector other)
minus
public Vector minus(Vector other,
Vector C)
plus
public Vector plus(Vector other)
plus
public Vector plus(Vector B,
Vector C)
copy
public Vector copy()
copyInto
public Vector copyInto(Vector other)
dot
public double dot(Vector other)
times
public Vector times(double other)
times
public Vector times(double other,
Vector C)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clear
public void clear()
getDenseMatrix
public DenseMatrix getDenseMatrix()