Translate python code to c#/c++


I wonder if there is an easy to translate the following python code to c# without looping over all indices?

normPic = Pic - min(Pic(:));
normPic = normPic ./ max(normPic(:));
colormap jet

that’s not python code. that might be matlab

and what specific issue do you have in understanding that code or translating it to C++ or C# (pick one, they aren’t equivalent)