I'm wondering how to add several values together. For example, I have a table1:
#|a1|a2|a3
-|--|--|--
1|##|##|##
2|##|##|##
3|##|##|##
and a table2:
#|b1|b2|b3
-|--|--|--
1|##|##|##
2|##|##|##
3|##|##|##
I want to get:
y = sum(a1) + b1(3) -- Sum of a1 and the third element of b1.
Also, How can I do more complex functions like:
y = (a1(2) * 3 + b2(2) * a3(2)) / avg(b1)