Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="d"></param>
 /// <param name="v"></param>
 /// <returns></returns>
 public static ColumnVector operator *(double d, ColumnVector v)
 {
     VectorChecker.ZeroSize(v);
     return(VectorImpl.Mul(new ColumnVector(v.Size), d, v));
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="v"></param>
 /// <param name="d"></param>
 /// <returns></returns>
 public static new ColumnVector Mul(IVector v, double d)
 {
     VectorChecker.ZeroSize(v);
     return(VectorImpl.Mul(new ColumnVector(v.Size), d, v));
 }
Exemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="v"></param>
 /// <param name="d"></param>
 /// <returns></returns>
 public static RowVector operator *(RowVector v, double d)
 {
     VectorChecker.ZeroSize(v);
     return(VectorImpl.Mul(new RowVector(v.Size), d, v));
 }