Community Profile

photo

fowinec


Last seen: oltre un anno fa Attivo dal 2022

Statistiche

  • Knowledgeable Level 1
  • First Answer

Visualizza badge

Content Feed

Visto da

Risposto
带参数的数值积分,帮忙看下哪错了。
对于这类带(向量化)参数的积分,可以用向量化积分函数一次性计算,不需要循环调用来调用多次积分函数。另外,楼上版主说得对,尽量用匿名函数代替inline函数,inline函数调用开销比较大,而且使用很不灵活,尤其是参数传递方面,像你这里,参数k就无法传递进去...

oltre un anno fa | 0

| accettato