code: public static double dot(DMatrixD1 a , DMatrixD1 b ) {
          if( !MatrixFeatures_DDRM.isVector(a) || !MatrixFeatures_DDRM.isVector(b))
              throw new RuntimeException("Both inputs must be vectors");
  
          return VectorVectorMult_DDRM.innerProd(a,b);
      }
docs: <p>
  Computes the dot product or inner product between two vectors.  If the two vectors are columns vectors
  then it is defined as:<br>
  {@code dot(a,b) = a<sup>T</sup> * b}<br>
  If the vectors are column or row or both is ignored by this function.
  </p>
  @param a Vector
  @param b Vector
  @return Dot product of the two vectors