Documented lvec function