Feeds
提问
How to rewrite a conditional recursive funtion without for-loop
Hi, I have another problem with a recursive function that is a drag on performance (especially if m is a large number). The prob...
9 years 前 | 3 个回答 | 0
3
个回答提问
How to rewrite recursive funtion without for-loop
Hi, I am struggling with a recursive function that includes multiplication as well as a vector. Is there a way to speed up perf...
9 years 前 | 1 个回答 | 0
1
个回答提问
How do I set a conditional condition in an optimization probem using Linprog
I want to optimize my bond portfolio using Linprog. But how do I incorporate the conditional condition that: if I choose a bond ...
10 years 前 | 1 个回答 | 0
1
个回答提问
How can I create a matrix based on a double vector lookup?
I have three vectors of same length: a=[5;10;10;15;15;15;20;20;20] b=[3;3;5;3;5;10;3;5;10] c=[0.2;0.3;-0.1;0....
12 years 前 | 1 个回答 | 0
