Moving functions around into the new framework. Added requiresProblem annotation.

This commit is contained in:
rowanc1
2014-01-16 10:06:00 -08:00
parent 124337024c
commit 2f5b7ae8f7
4 changed files with 81 additions and 34 deletions
-13
View File
@@ -55,19 +55,6 @@ class Problem(object):
def RHS(self, value):
self._RHS = value
@property
def P(self):
"""
Projection matrix.
.. math::
d_\\text{pred} = Pu(m)
"""
return self._P
@P.setter
def P(self, value):
self._P = value
@utils.count
def dpred(self, m, u=None):
"""