Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Linear Algebra and the C Language/a0ae

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

__NOTOC__ Code study: dot_R(); /* ------------------------------------ */ /* ------- u.v = v^t u ---------------- */ /* ------------------------------------ */ double dot_R( double **u, double **v ) { double **vt = i_mR(R1, rsize_R(v)); double **vtu = i_mR(R1, C1); double udotv; transpose_mR(v,vt); mul_mR(vt,u,vtu); udotv = vtu[R1][C1]; f_mR(vt); f_mR(vtu); return (udotv); } /* ------------------------------------ */ /* ------------------------------------ */