# crossc, two functional spatial variables, COUNT and SUM, referencing # different stochastic variables, and an # average functional variable, all cases: # two-dimensional (spatial = Y) ENTITY crossc02 , "" , combines(s, n) { INTEGER depscc02 ~ discrete_uniform(0, 1) REAL depccc02 ~ continuous_uniform(0, 1) REAL scc02 = SUM(& depscc02) REAL ccc02 = COUNT(& depccc02) REAL avgc2 = scc02 / ccc02 } # two-dimensional (spatial = X) ENTITY crossc03 , "" , combines(n, s) { INTEGER depscc03 ~ discrete_uniform(0, 1) REAL depccc03 ~ continuous_uniform(0, 1) REAL scc03 = SUM(& depscc03) REAL ccc03 = COUNT(& depccc03) REAL avgc3 = scc03 / ccc03 }