torchsig.utils.dsp.is_multiple_of_4

torchsig.utils.dsp.is_multiple_of_4(number)[source]

Is the number a multiple of 4?

Returns true if the number is a multiple of 4, false otherwise. A number os a multiple of 4 if both the number is even and the number divided by 2 is even.

Parameters:

number – Any number

Returns:

Returns true if number is a multiple of 4, false otherwise

Return type:

bool