title: Inline vector operations in C
body: <p>I am using C to do some scientific computing, and need to move around a lot of vectors.</p>
  
  <p>I've defined some basic Multiply and Add functions of the form </p>
  
  <pre><code>add(int size, double *out, double *x, double *y)
  </code></pre>
  
  <p>But for complex operations the code quickly becomes long and hard to read.</p>
  
  <p>Is it possible to define inline operators (V1 + V2) ? Or any general best practices that will make it easier to spot check code for math errors? Perhaps some #define shenanigans?</p>