|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.AbstractVector
org.apache.mahout.math.DenseVector
org.apache.mahout.math.DenseVectorWritable
public class DenseVectorWritable
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.mahout.math.DenseVector |
---|
DenseVector.Element |
Field Summary |
---|
Fields inherited from class org.apache.mahout.math.DenseVector |
---|
values |
Fields inherited from class org.apache.mahout.math.AbstractVector |
---|
lengthSquared, size |
Constructor Summary | |
---|---|
DenseVectorWritable()
|
|
DenseVectorWritable(DenseVector v)
|
Method Summary | |
---|---|
void |
readFields(java.io.DataInput dataInput)
|
void |
write(java.io.DataOutput dataOutput)
|
Methods inherited from class org.apache.mahout.math.DenseVector |
---|
addAll, addTo, assign, assign, clone, dot, equals, getElement, getLengthSquared, getNumNondefaultElements, getQuick, iterateAll, iterateNonZero, like, like, matrixLike, setQuick, size, viewPart |
Methods inherited from class org.apache.mahout.math.AbstractVector |
---|
aggregate, aggregate, asFormatString, assign, assign, assign, assign, cross, decodeVector, divide, dotSelf, equivalent, get, get, getDistanceSquared, getLabelBindings, getName, hashCode, maxValue, maxValueIndex, minus, norm, normalize, normalize, plus, plus, set, set, set, setLabelBindings, setName, strictEquivalence, times, times, zSum |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DenseVectorWritable()
public DenseVectorWritable(DenseVector v)
Method Detail |
---|
public void write(java.io.DataOutput dataOutput) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void readFields(java.io.DataInput dataInput) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |