3_PowerRadiated/measuredPowerLienardWiechert/hertzianDipole.h
//dot product of two 3-vectors:
dot product of two 3-vectors.
dot product of two 3 - vectors .
double dotProduct3vectors(double *vec1, double *vec2){
  int i;
  double product = 0.0;
  for (i=0;i<3;i++){
    product = vec1[i]*vec2[i] + product;
  }
  return product;
}
double dotProduct3vectors ( double * vec1 , double * vec2 ) { int i ; double product = 0.0 ; for ( i = 0 ; i < 3 ; i ++ ) { product = vec1 [ i ] * vec2 [ i ] + product ; } return product ; }
dot product of two 3-vectors:
dot product of two 3 - vectors :