a scalar is a single value
a vector is an ordered set of values
a reduction produces a scalar from a vector:
intVector A(10);
int x;
A = 4;
x = sum(A); // x gets the sum of all elements of A
x = min_value(A); // x gets the minimum of all elements of A
x = max_value(A); // x gets the maximum of all elements of A
. . .
next...
prev...
begin lecture again...