zhouzhou113's recent timeline updates
zhouzhou113

zhouzhou113

V2EX member #283638, joined on 2018-01-17 15:05:40 +08:00
zhouzhou113's recent replies
Jan 12, 2019
Replied to a topic by zhouzhou113 Ubuntu cuda+ubuntu+nsight+动态并行报错
@pwrliang 恩恩,编译通过了,谢谢
Jan 12, 2019
Replied to a topic by zhouzhou113 Ubuntu cuda+ubuntu+nsight+动态并行报错
ubuntu14.04 cuda8.0 自带的 nsight
借楼咨询楼主什么渠道入的 9.7,迫于贫穷也有入二手的打算
Aug 7, 2018
Replied to a topic by zhouzhou113 2018 求助一个数学小问题
式子写错了。。更正如下:
V(t) = d + a*t + b*pow(t,2) + c*pow(t,3)
S(t) = d*t + (1/2)*a*pow(t,2) + (1/3)*b*pow(t,3) + (1/4)*c*pow(t,4)
其中 t 是自变量,S(t)是对 V(t)的积分,现在想求 V(S)的表达式,不知道怎样消元变量 t
我是题主,clion 显示的问题解决了,谢谢大家~~~
@justou
尝试调用了 gsl 库 gsl/gsl_integration.h,函数是正弦函数,类似 “ f = pow(x, 4)*sin(a*x + b*pow(x, 2) + c*pow(x, 3) + d*pow(x, 4))” ,因为参数的原因,函数很有可能不收敛,gsl 库会报错如下并终止程序:

gsl: ../../integration/qags.c:563: ERROR: integral is divergent, or slowly convergent
Default GSL error handler invoked.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


我的期望是即使函数发散也能返回一个标志不影响程序继续,而不是直接终止报错。想请教一下这种情况可以考虑怎样解决,或者有什么方法可以找到 gsl 的源码自己修改?比较小白,灰常感谢~
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   763 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms · UTC 21:01 · PVG 05:01 · LAX 14:01 · JFK 17:01
♥ Do have faith in what you're doing.