code: public double dot( T v ) {
          convertType.specify(this,v);
          T A = convertType.convert(this);
          v = convertType.convert(v);
  
          if( !isVector() ) {
              throw new IllegalArgumentException("'this' matrix is not a vector.");
          } else if( !v.isVector() ) {
              throw new IllegalArgumentException("'v' matrix is not a vector.");
          }
  
          return A.ops.dot(A.mat,v.getMatrix());
      }
docs: Computes the dot product (a.k.a. inner product) between this vector and vector 'v'.
  
  @param v The second vector in the dot product.  Not modified.
  @return dot product