I'm facing a simple problem actually:
for (int i = 0; i < noutput_items; i++){ out[i] = in[i] * in[i]; }
When I want to formalize this as a math expression, how do I issue the limits?
$\sum_{i=0}^{noutput\_items} in_i$ was my initial guess, but of course it's not a sum. It's a while ago when I last checked how sequences can be expressed with integrals or as sums... Could somebody help me to refresh my memory :)
Best, Marius