cvxgrp / qcml

A Python parser for generating Python/C/Matlab solver interfaces
Other
42 stars 9 forks source link

Codegen/1 #32

Closed chinasaur closed 10 years ago

chinasaur commented 10 years ago

Two things going on; sorry.

1) Putting codegens' code units into a ._code dict. QCML#printsource() now runs through the dict and prints all code units. There's also Codegen._codekeyorder if you want things printed in a particular order by default.

2) Cleaned up some of the operators for AbstractDim