python/pycubool/vector.py
def equals(self, other) -> bool:
        """
        Compare two vectors. Returns true if they are equal.

        :param other: Other vector to compare
        :return: True if vectors are equal
        """

        if not self.nrows == other.nrows:
            return False
        if not self.nvals == other.nvals:
            return False

        self_rows = self.to_list()
        other_rows = self.to_list()

        for i in range(len(self_rows)):
            if self_rows[i] != other_rows[i]:
                return False

        return True

        Compare two vectors. Returns true if they are equal.

        :param other: Other vector to compare
        :return: True if vectors are equal
        
Compare two vectors. Returns true if they are equal.
Compare two vectors . Returns true if they are equal .
def equals(self, other) -> bool:
        if not self.nrows == other.nrows:
            return False
        if not self.nvals == other.nvals:
            return False
        self_rows = self.to_list()
        other_rows = self.to_list()
        for i in range(len(self_rows)):
            if self_rows[i] != other_rows[i]:
                return False
        return True
def equals ( self , other ) -> bool : if not self . nrows == other . nrows : return False if not self . nvals == other . nvals : return False self_rows = self . to_list ( ) other_rows = self . to_list ( ) for i in range ( len ( self_rows ) ) : if self_rows [ i ] != other_rows [ i ] : return False return True
Compare two vectors.
Compare two vectors .
"""
        Compare two vectors. Returns true if they are equal.

        :param other: Other vector to compare
        :return: True if vectors are equal
        """
True if vectors are equal
True if vectors are equal
self
other
Other vector to compare
Other vector to compare