Is there anything like vmap to vectorize a computation

according to this:

this is not really working afaik