It is supposed to be able to solve any geometrical optics system using matrix algebra. But now, it just wants to infinitely loop itself.
When I compile it, all I get is:
This is a program that will perform matrix computations to output a system matrix, provided enough inputs are given. How many elements does this system have? Note that a thick lens counts as three elements: This is a program that will perform matrix computations to output a system matrix, provided enough inputs are given.
Thank you for your help