Custom linear operators in ViennaCL

45 views Asked by At

Is is possible to pass custom linear operators (like CUSP's http://cusplibrary.github.io/classcusp_1_1linear__operator.html) to ViennaCL's solvers?

Thanks.

1

There are 1 answers

0
Karl Rupp On BEST ANSWER

Yes, it is possible for iterative solvers. An example can be found in examples/tutorial/matrix-free.cpp or here: http://viennacl.sourceforge.net/doc/matrix-free_8cpp-example.html