sim.util.matrix
Class Vector

java.lang.Object
  extended by sim.util.matrix.Vector

public class Vector
extends java.lang.Object


Field Summary
 int m
           
 double[] vals
           
 
Constructor Summary
Vector(DenseMatrix jam)
           
Vector(double[] vals)
           
Vector(int m)
           
 
Method Summary
 void clear()
           
 Vector copy()
           
 Vector copyInto(Vector other)
           
 double dot(Vector other)
           
 DenseMatrix getDenseMatrix()
           
 Vector minus(Vector other)
           
 Vector minus(Vector other, Vector C)
           
 Vector plus(Vector other)
           
 Vector plus(Vector B, Vector C)
           
 Vector times(double other)
           
 Vector times(double other, Vector C)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vals

public double[] vals

m

public int m
Constructor Detail

Vector

public Vector(double[] vals)

Vector

public Vector(int m)

Vector

public Vector(DenseMatrix jam)
Method Detail

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()