root/src/v_prod.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. v_prod

   1 
   2 void v_prod( double *A, double *B, double *C )
   3 /*********************************************************/
   4 /*    Vektormultiplikation: C = A x B                    */
   5 /*********************************************************/
   6 {
   7       C[0]=A[1]*B[2]-A[2]*B[1];
   8       C[1]=A[2]*B[0]-A[0]*B[2];
   9       C[2]=A[0]*B[1]-A[1]*B[0];
  10 }
  11 

/* [<][>][^][v][top][bottom][index][help] */