Returns a scalar function of type scalarFunctionType that invokes vectorFunction with a single row of arguments and returns its single output.