contextFold.common
Interface Dotable<T>

All Known Implementing Classes:
AbstractFeatureVector, DenseFeatureVector, SparseFeatureVector

public interface Dotable<T>


Method Summary
 float dot(T other)
          Computes the dot-product of two vectors.
 

Method Detail

dot

float dot(T other)
Computes the dot-product of two vectors.

Parameters:
other - another vector.
Returns:
the dot-product of this and other.