Ejemplo n.º 1
0
 def is_dcp(self):
     return not bu.any(self.cvx_mat & self.conc_mat)
Ejemplo n.º 2
0
 def is_concave(self):
     return not bu.any(self.cvx_mat)
Ejemplo n.º 3
0
 def is_convex(self):
     return not bu.any(self.conc_mat)
Ejemplo n.º 4
0
 def is_affine(self):
     return not bu.any(self.cvx_mat | self.conc_mat)
Ejemplo n.º 5
0
 def is_negative(self):
     return not bu.any(self.pos_mat)
Ejemplo n.º 6
0
 def is_positive(self):
     return not bu.any(self.neg_mat)