Hi,

I'm trying to use vnl_conjugate_gradient to solve my system of linear equations (Ax=b), but I have no idea how to construct a  vnl_cost_function object which represents my system of linear equations, or how to represent the matrix A and vector b.

Thanks,
 
nan