Curl computation

Hello every one,

I have a problem when I want to compute Curl of my function,
fespace Rh(Th, Edge03d);
Rh [lxx, lyy, lzz];
func lx= x^2;
func ly= x^2+3+y;
func lz= 5.;
[lxx,lyy,lzz]= 2*Curl(lx,ly,lz);

It gives me an error : dy(lz) error operator, do you know what is the problem?

Thanks.

I think the differentiation dx() works only on fespace function.
Here you apply it to func