Content  


MATLAB Interface

After compilation of the MATLAB interface for ViennaCL (see the provided documentation for detailed instructions), an iterative solver call for a system matrix 'A' and a right hand side vector 'rhs' is simply

Example usage of the MATLAB interface
result = viennacl_cg(A, rhs);        %CG solver
result = viennacl_bicgstab(A, rhs);  %BiCGStab solver
result = viennacl_gmres(A, rhs);     %GMRES solver