Open
Description
I'd like to be able to define a variable as an integral of another variable over a dimension, something along the lines of:
@parameters t x
@variables y(t,x)
@derivatives Dt'~t
@derivatives Dx'~x
# define new variable which is the integral of y over x
Y(t) = sum(y[t,])
I'm not really fussy about the syntax for this however.