aima.learning.neural
Class Vector

java.lang.Object
  extended by aima.util.Matrix
      extended by aima.learning.neural.Vector
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Vector
extends Matrix

See Also:
Serialized Form

Constructor Summary
Vector(int size)
           
Vector(java.util.List<java.lang.Double> lst)
           
 
Method Summary
 Vector copyVector()
           
 double getValue(int i)
           
 int indexHavingMaxValue()
           
 Vector minus(Vector v)
           
 Vector plus(Vector v)
           
 void setValue(int index, double value)
           
 int size()
           
 
Methods inherited from class aima.util.Matrix
arrayLeftDivide, arrayLeftDivideEquals, arrayRightDivide, arrayRightDivideEquals, arrayTimes, arrayTimesEquals, clone, constructWithCopy, copy, createDiagonalMatrix, det, get, getArray, getArrayCopy, getColumnDimension, getColumnPackedCopy, getMatrix, getMatrix, getMatrix, getMatrix, getRowDimension, getRowPackedCopy, identity, inverse, lu, minus, minusEquals, norm1, normInf, plus, plusEquals, print, print, print, print, random, read, set, setMatrix, setMatrix, setMatrix, setMatrix, solve, solveTranspose, times, times, timesEquals, toString, trace, transpose, uminus
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vector

public Vector(int size)

Vector

public Vector(java.util.List<java.lang.Double> lst)
Method Detail

getValue

public double getValue(int i)

setValue

public void setValue(int index,
                     double value)

copyVector

public Vector copyVector()

size

public int size()

minus

public Vector minus(Vector v)

plus

public Vector plus(Vector v)

indexHavingMaxValue

public int indexHavingMaxValue()