| Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
|
|
|
#1 |
|
高级会员
注册日期: 2019-11-21
帖子: 3,017
声望力: 67 ![]() |
I've been looking all over for a more "eigen" way of implementing the functionality of Matlab's Logical indexing. Here's the best I could come up with. (Focusing on an int array here for simplicity) Here's the output I get: Does anyone know how to do this in a more 'eigen' way, or just a faster way than looping through the arrays? More answer... |
|
|
|