org.apache.mahout.math.hadoop.decomposer
Class EigenVector
java.lang.Object
org.apache.mahout.math.AbstractVector
org.apache.mahout.math.DenseVector
org.apache.mahout.math.hadoop.decomposer.EigenVector
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<Vector.Element>, Vector
public class EigenVector
- extends DenseVector
TODO this is a horrible hack. Make a proper writable subclass also.
Methods inherited from class org.apache.mahout.math.DenseVector |
addAll, addTo, assign, assign, clone, dot, dotSelf, equals, getLengthSquared, getNumNondefaultElements, getQuick, isDense, isSequentialAccess, iterateNonZero, iterator, like, matrixLike, setQuick, viewPart |
Methods inherited from class org.apache.mahout.math.AbstractVector |
aggregate, aggregate, asFormatString, assign, assign, assign, assign, cross, decodeVector, divide, get, getDistanceSquared, getElement, hashCode, logNormalize, logNormalize, logNormalize, maxValue, maxValueIndex, minus, minValue, minValueIndex, norm, normalize, normalize, plus, plus, set, size, times, times, toString, zSum |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
EigenVector
public EigenVector(DenseVector v,
double eigenValue,
double cosAngleError,
int order)
getEigenValue
public double getEigenValue()
getCosAngleError
public double getCosAngleError()
getIndex
public int getIndex()
parseMetaData
protected double[] parseMetaData()
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.