python/pycubool/vector.py
def reduce(self, time_check=False):
        """
        Reduce vector to int value.

        >>> vector = Vector.from_list(5, [2, 3, 4])
        >>> print(vector.reduce())
        '3'

        :param time_check: Pass True to measure and log elapsed time of the operation
        :return: Int sum of vector values
        """

        value = ctypes.c_uint(0)

        status = wrapper.loaded_dll.cuBool_Vector_Reduce(
            ctypes.byref(value),
            self.hnd,
            ctypes.c_uint(bridge.get_reduce_hints(time_check=time_check))
        )

        bridge.check(status)
        return int(value.value)

        Reduce vector to int value.

        >>> vector = Vector.from_list(5, [2, 3, 4])
        >>> print(vector.reduce())
        '3'

        :param time_check: Pass True to measure and log elapsed time of the operation
        :return: Int sum of vector values
        
Reduce vector to int value.
Reduce vector to int value .
def reduce(self, time_check=False):
        value = ctypes.c_uint(0)
        status = wrapper.loaded_dll.cuBool_Vector_Reduce(
            ctypes.byref(value),
            self.hnd,
            ctypes.c_uint(bridge.get_reduce_hints(time_check=time_check))
        )
        bridge.check(status)
        return int(value.value)
def reduce ( self , time_check = False ) : value = ctypes . c_uint ( 0 ) status = wrapper . loaded_dll . cuBool_Vector_Reduce ( ctypes . byref ( value ) , self . hnd , ctypes . c_uint ( bridge . get_reduce_hints ( time_check = time_check ) ) ) bridge . check ( status ) return int ( value . value )
Reduce vector to int value.
Reduce vector to int value .
"""
        Reduce vector to int value.

        >>> vector = Vector.from_list(5, [2, 3, 4])
        >>> print(vector.reduce())
        '3'

        :param time_check: Pass True to measure and log elapsed time of the operation
        :return: Int sum of vector values
        """
Int sum of vector values
Int sum of vector values
self
time_check
Pass True to measure and log elapsed time of the operation
Pass True to measure and log elapsed time of the operation