MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
-3

for example

int a[100];

int w = 3;

for ( int i = 0; i < 5 ; i++) {

for ( int j = 0; j < 10 ; j++)

{

    a[j+(i*w)] =  i + j ;

}

}

How i write for that

Thank you

flag
What do you mean by "in terms of mathematics" ? – Ralph Mar 5 2012 at 11:00
i do not know to much but something like this C ={ x ∈ R^2 | x = (A \ B) U (B \ A) :A, B ∈ R^2 } thank you – kitti Mar 5 2012 at 12:31
As a set I would write the array probably as $a = \lbrace (j+iw,i+j)\mid 0 \le i < 5, 0\le j < 10 \rbrace = \lbrace (k+2i,k) \mid 0 \le i < 5, 0 \le k < 14 \rbrace $. – Ralph Mar 5 2012 at 13:33

closed as off topic by Deane Yang, Vladimir Dotsenko, Mariano Suárez-Alvarez, Neil Strickland, Andrew Stacey Mar 5 2012 at 11:35

Browse other questions tagged or ask your own question.