在c ++中有移位操作
>> right shift << left shift
这被认为是非常快的. 我试图在R中应用相同的但似乎是错的.
在R中有类似的操作是否与此一样快?
提前致谢.
r
r ×1