@staticmethod
def _check_scalars(scalars, point_length):
    """
        Verifies that there are the same number of points and scalars.

        Args:
            scalars (iterable): All of the scalars
            point_length (int): Count of all of the points
        """
    if len(scalars) != point_length:
        raise ValueError(
            'Length of scalars must be equal to the length of points.')
