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 mm
values, I get three lists output: The list of V[m_]V[m]
values, the list of mm
values for which m>=1m >= 1
, and the list of mm
values for which m<1m < 1
.
I only require an output list of the V[m_]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.