示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="rv"></param>
 /// <param name="cv"></param>
 /// <returns></returns>
 public static double operator *(RowVector rv, ColumnVector cv)
 {
     VectorChecker.MismatchSize(rv, cv);
     return(VectorImpl.Dot(rv, cv));
 }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="v1"></param>
 /// <param name="v2"></param>
 /// <returns></returns>
 public static double operator *(IVector v1, ColumnVector v2)
 {
     VectorChecker.MismatchSize(v1, v2);
     return(VectorImpl.Dot(v1, v2));
 }