vectScalarLam handles int, float, and double now