[discretizations] update wrapper class
[functionals] add as_vector() to wrapper class