摘要: 使用boost/multiprecision/cpp_dec_float.hpp #include <boost/multiprecision/cpp_dec_float.hpp> using boost::multiprecision::number; using boost::multiprec 阅读全文
posted @ 2024-04-18 22:40 鸭子船长 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 检查.cshrc等初始化文件是否会打印信息 将打印信息全部去掉后,即可正常 阅读全文
posted @ 2023-11-17 16:07 鸭子船长 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 转自: https://www.cnblogs.com/sddai/p/10332573.html 参考文献: 1.python 皮尔森相关系数 https://www.cnblogs.com/lxnz/p/7098954.html 2.统计学之三大相关性系数(pearson、spearman、ke 阅读全文
posted @ 2023-11-08 13:08 鸭子船长 阅读(62) 评论(0) 推荐(0) 编辑
摘要: windows下编辑的脚本,拿到linux上面执行 windows下的换行符为\r\n ,叫做CRLF linux下的换行符为\n,叫做LF 需要进行转换 解决办法: 用vim打开该sh文件,输入: :set ff 回车,显示fileformat=dos,重新设置下文件格式: :set ff=uni 阅读全文
posted @ 2023-10-04 19:05 鸭子船长 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jiangkejie/p/15250760.html 公式推导 https://mathworld.wolfram.com/Erf.html erf的定义 函数erf(x)在数学中为误差函数(也称之为高斯误差函数,error function or G 阅读全文
posted @ 2023-08-23 16:06 鸭子船长 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 正态分布: https://www.zhihu.com/question/407449062/answer/2512469930 对数正态分布: https://zhuanlan.zhihu.com/p/490650039 阅读全文
posted @ 2023-03-20 19:58 鸭子船长 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Linux中用gnuplot命令画图 binwidth = <something> # set width of x values in each bin bin(val) = binwidth * floor(val/binwidth) plot "datafile" using (bin($2) 阅读全文
posted @ 2023-02-27 10:21 鸭子船长 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/wzd5230/p/6150259.html 进入正题前,我们先来回顾下电容的充放电时间计算公式,假设有电源Vu通过电阻R给电容C充电,V0为电容上的初始电压值,Vu为电容充满电后的电压值,Vt为任意时刻t时电容上的电压值,那么便可以得到如下的计 阅读全文
posted @ 2022-09-20 15:27 鸭子船长 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: 通过stringstream类来进行int 和string 的转换。stringstream的头文件是sstream使用stringstream对象简化类型转换 stringstream 我发现重复写入时会出现前面的东西还留在stream中。这时,我首先想到的是clear()函数,这个函数是用来清空 阅读全文
posted @ 2022-08-31 17:23 鸭子船长 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 对于cell的delay的计算,由于规模的原因,是不可能通过晶体管级仿真进行的。 所以引入了静态时序分析的概念。 而在静态时序分析中,cell delay,是通过查找表并进行插值来得到的,从而大大减少了计算量,提高了工具的运行速度。 对cell delay的表征(characterization), 阅读全文
posted @ 2022-08-23 10:12 鸭子船长 阅读(441) 评论(0) 推荐(0) 编辑