Skip to main content
1 of 2

Selecting only list of function output from piecewise function output

Say I have a piecewise function:

V[m_] := Piecewise[{{(1 + m)^2, m >= 1}, {Log[m], m < 1}}]

And I input a large list of m values, I get three lists output: The list of V[m_] values, the list of m values for which m>=1, and the list of m values for which m<1.

I only require an output list of the V[m_] values. How do I get rid of the other two lists?

Apologies if this is an obvious question! Any help would be greatly appreciated.