def eigval(self): '''Retorna uma tupla com os autovalores da matriz''' a, b, c, d = self.flat() l1 = (d + a + m.sqrt(d * d - 2 * a * d + a * a + 4 * c * b)) / 2 l2 = (d + a - m.sqrt(d * d - 2 * a * d + a * a + 4 * c * b)) / 2 return (l1, l2)
def radius_cbb(self): return m.sqrt((self.xmax - self.xmin)**2 + (self.ymax - self.ymin)**2) / 2
def radius_cbb(self): return m.sqrt((self.xmax - self.xmin) ** 2 + (self.ymax - self.ymin) ** 2) / 2