I modified the doc of from_elem, from_fn, Because it returns an owned vector