7 lines
168 B
Mathematica
7 lines
168 B
Mathematica
|
function[e] = calculate_aggregates(e)
|
||
|
|
||
|
for a = 1:length(e.aggregates)
|
||
|
display(sprintf('calculating aggregate %d...', a));
|
||
|
e = e.calculate_aggregate(a);
|
||
|
|
||
|
end
|