(self, matrix, name='quadratic')
Initialization, see `QuadraticLyapunovFunction`.
Initialization, see `QuadraticLyapunovFunction`.
Initialization see QuadraticLyapunovFunction .
def __init__(self, matrix, name='quadratic'):
        """Initialization, see `QuadraticLyapunovFunction`."""
        super(QuadraticFunction, self).__init__(name=name)

        self.matrix = np.atleast_2d(matrix).astype(config.np_dtype)
        self.ndim = self.matrix.shape[0]
def __init__ ( self , matrix , name = 'quadratic' ) : super ( QuadraticFunction , self ) . __init__ ( name = name ) self . matrix = np . atleast_2d ( matrix ) . astype ( config . np_dtype ) self . ndim = self . matrix . shape [ 0 ]