How to quickly find out the two vectors in the logarithm of the same element?
CodePudding user response:
1, use the minus sign (-) can2, set_intersection
CodePudding user response:
How is negative in the array mixed makeCodePudding user response:
Abs () using the absolute value functionCodePudding user response:
With the abs ()CodePudding user response:
You mean integer? Directly converted to int, depends on your rounding strategy, can judge for yourself a little bit, is rounded, truncate or rounding to 0 (inert rounding),