Hello everyone,

I have c++ function whose the only argument is an array. Also I have a matrix. How can I pass say third column of this matrix as a array into the function without creating a mediated array in the loop.

Is there c++ analogue of M(:,3) existing in MATLAB and Fortran?

Thank you