(self, child, i=0, j=0)
| 162 | self.solver.addConstraint(c | 'required') |
| 163 | |
| 164 | def add_child(self, child, i=0, j=0): |
| 165 | # np.ix_ returns the cross product of i and j indices |
| 166 | self.children[np.ix_(np.atleast_1d(i), np.atleast_1d(j))] = child |
| 167 | |
| 168 | def parent_constraints(self, parent): |
| 169 | # constraints that are due to the parent... |