#MATLAB, 16 bytes
MATLAB, 16 bytes
@(A,v,l)A*v==v*l
Rather trivial answer. Defines an anonymous function taking the inputs, and calculates element-wise equality of the resulting vectors. A single zero in a logical array makes an array falsey in MATLAB.
#MATLAB, 16 bytes
@(A,v,l)A*v==v*l
Rather trivial answer. Defines an anonymous function taking the inputs, and calculates element-wise equality of the resulting vectors. A single zero in a logical array makes an array falsey in MATLAB.
MATLAB, 16 bytes
@(A,v,l)A*v==v*l
Rather trivial answer. Defines an anonymous function taking the inputs, and calculates element-wise equality of the resulting vectors. A single zero in a logical array makes an array falsey in MATLAB.