public override double SumSquaredDiffs(BaseVector y) { if (y is SparseVector) { return SparseVector.SumSquaredDiffs(this, (SparseVector)y); } if (y is DoubleArrayVector) { return SumSquaredDiffs(this, (DoubleArrayVector)y); } return SumSquaredDiffs(this, (FloatArrayVector)y); }
public override double Dot(BaseVector y) { if (y is SparseVector) { return SparseVector.Dot(this, (SparseVector)y); } if (y is DoubleArrayVector) { return Dot(this, (DoubleArrayVector)y); } return Dot(this, (FloatArrayVector)y); }
public override double SumSquaredDiffs(BaseVector y) { if (y is FloatArrayVector) { return(SumSquaredDiffs((FloatArrayVector)y, this)); } if (y is DoubleArrayVector) { return(SumSquaredDiffs((DoubleArrayVector)y, this)); } return(SumSquaredDiffs(this, (SparseVector)y)); }
public override double Dot(BaseVector y) { if (y is FloatArrayVector) { return(Dot((FloatArrayVector)y, this)); } if (y is DoubleArrayVector) { return(Dot((DoubleArrayVector)y, this)); } return(Dot(this, (SparseVector)y)); }
public abstract double Dot(BaseVector svmVector);
public abstract double SumSquaredDiffs(BaseVector y1);
public abstract double SumSquaredDiffs(BaseVector y1);
public abstract double Dot(BaseVector svmVector);