摘要: \documentclass[UTF8]{ctexart}\begin{document}你好,world!\end{document} 阅读全文
posted @ 2021-04-25 20:31 好问雷 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Python使用Eigen加速代码运行 阅读全文
posted @ 2020-12-05 21:31 好问雷 阅读(1140) 评论(0) 推荐(1) 编辑
摘要: install.packages(packageName) install.packages(path_to_file, repos = NULL, type="source")R CMD build githubPackagePathinstall.packages(path_to_file, r 阅读全文
posted @ 2020-08-18 10:05 好问雷 阅读(2166) 评论(0) 推荐(0) 编辑
摘要: 明明已经安装了sctransfer,但仍然显示没有该模块 Error in py_module_import(module, convert = convert) : ModuleNotFoundError: No module named 'sctransfer' 解决方法在.R 文件的第一行 ( 阅读全文
posted @ 2020-06-10 23:26 好问雷 阅读(1622) 评论(0) 推荐(0) 编辑
摘要: 第一步,采用 cd .. 将当前路径设置为该盘符的根目录 第二步,采用 C: 将盘符设置为C盘然后使用 cd 命令将路径切换到指定位置 阅读全文
posted @ 2019-12-24 15:32 好问雷 阅读(4378) 评论(0) 推荐(1) 编辑
摘要: step 1: 下载ARPACK , mingw-w64-install 和 mingw-get-inst-20120426.exe; step 2: 安装 MinGW-64默认安装路径即可. step 2: 因为需要使用MinGW shell,所以需要安装mingw-get-inst-201204 阅读全文
posted @ 2019-01-14 16:58 好问雷 阅读(973) 评论(0) 推荐(0) 编辑
摘要: >>help gpuThere are several options available for using your computer's graphics processing unit (gpu) for matrix operations. - Transfer data between 阅读全文
posted @ 2019-01-06 16:01 好问雷 阅读(1308) 评论(0) 推荐(0) 编辑
摘要: 在command window中输入 >> profile on>> profile clear>> profile viewer 就会出现如下窗口 在将头所指向的位置输入需要测试的函数 按enter开始测试,最终会得到每行代码的运行时间 阅读全文
posted @ 2019-01-06 15:54 好问雷 阅读(571) 评论(0) 推荐(0) 编辑
摘要: Eigen 矩阵乘法的速度 < MKL矩阵乘法的速度,MKL矩阵乘法的速度与matlab矩阵乘法的速度相差不大,但matlab GPU版本的矩阵乘法速度是CUP的两倍,在采用float数据类型时10000*10000的矩阵乘法不到1秒 阅读全文
posted @ 2019-01-06 15:44 好问雷 阅读(2130) 评论(4) 推荐(1) 编辑
摘要: 注:else 表示当条件不满时执行后面的额语句 注:else 当i遍历完成后执行后面的语句 阅读全文
posted @ 2018-04-30 14:07 好问雷 阅读(188) 评论(0) 推荐(0) 编辑