Dear Community, I would like to define a Null function such that if I put a list of numbers into it then split zeros, not just only one. I typed the following into Mathematica:
LinearFunction[t_] = t;
NullFunction1[t_] = 0*t;
NullFunction2[t_] = D[t, {t, 2}];
MatrixForm[LinearFunction[Table[i, {i, 1, 10}, {j, 1, 1}]]]
MatrixForm[NullFunction1[Table[i, {i, 1, 10}, {j, 1, 1}]]]
MatrixForm[NullFunction2[Table[i, {i, 1, 10}, {j, 1, 1}]]]
In the first case it gives me a 10x1 column vector, and the other two cases only give me one zero output. I would like to that NullFunction give me 10x1 zero column vector. How should I do this?
Any help would be appreciated!