自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Feiyuemoxuan的博客

学习笔记

  • 博客(13)
  • 收藏
  • 关注

原创 passing ‘const XXX’ as ‘this’ argument discards qualifiers

错误分析错误代码:// DataPointBase.hclass DataPointBase { public: DataPointBase() = default; explicit DataPointBase(std::vector<std::string> &_keys); std::vector<std::string> Keys() const; double &operator[](const std::string&

2021-03-30 11:28:03 2940

原创 Intellij IDEA: Cannot resolve symbol ‘var‘

开始怀疑是jdk的版本的问题(并没有什么依据,无脑更新)初始的jdk的版本是1.8.0_231, x86_64,通过以下命令查看java -version查看当前然后上官网安装了新的jdk: 1.8.0_271, x86_64;

2020-12-30 15:58:08 4019

翻译 [官方文档翻译]Mac使用VS Code配置C++编译和调试环境

Mac使用VSCode配置C++编译和调试环境这是一篇翻译稿,原文为VSCode官方Docs。文章目录Mac使用VSCode配置C++编译和调试环境Prerequisites确保安装了Clang创建 Hello World添加hello world源码文件在这个教程中,你将学会如何在macOS环境下配置VS Code来使用clang/LLVM编译器和调试器。Prerequisites在开始这个教程之前,你需要先安装好:MacOS 版的Visual Studio Code;VSCode C++

2020-11-26 19:01:47 11234 18

原创 [Python #1] argparse: unrecognized arguments

Python argparse: unrecognized arguments问题代码:#!/usr/bin/pythonimport sysimport argparsedef main(argv): parser = argparse.ArgumentParser(description="generate points file for profile fitting") parser.add_argument('-e', '--gAe', type=float, na

2020-11-12 16:25:32 11017 2

转载 利用递推快速计算方差和均值

问题来源:算法第四版习题1.2.18,累加器的方差里用递推来计算平均值和方差:public class Accumulator { private double m; private double s; private int N; public void addDateValue(double x) { N++; s=s+1.0*...

2020-06-23 10:12:43 935

转载 SVD详细介绍-理论公式证明及低秩近似和特征降维

第一部分:矩阵的奇异值分解:矩阵的奇异值分解证明过程中会用到五个定理,先作为补充知识展示这五个定理:定理一:A是对称矩阵,则不同特征值对应的特征向量是正交的。证明:设,是矩阵A的特征向量...

2020-03-29 15:37:44 1363 1

原创 如何使用CLion进行远程调试?

操作步骤准备编译程序配置CLion合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入准备CLion;一个通过cmake编译的...

2020-02-11 20:57:11 4021 1

原创 [Work Summary #4]Negative Bin Content and Data Reading Error

Problem description:When plotting the spectrum of each isotope of MC data, I get an spectrum with negative bin content.float weight(0), energy(0), vertx(0), verty(0), vertz(0);h_iso->Fill(energy...

2019-10-14 20:53:52 180

原创 [Work Summary #3] No such file or directory

Basic idea:set the path of the file and then include it and link the libraries.But , if you find you have set the path and include it and the problem still exists, you need to delete the Makefiles a...

2019-04-17 23:07:01 333

转载 [Work Summary #2]‘cout’ does not name a type || Error: illegal pointer to class object

Solution:https://stackoverflow.com/questions/9935027/cout-does-not-name-a-typeyou should not use cout out of a function, basically in main. Also, for other funtion or method is the same.

2019-04-05 17:31:38 1075

原创 [OpenCV Problems #1] exit code 139

[OpenCV Problems #1]exit code 139Description:cv::Mat g_srcImage = cv::imread("/Pictures/hit.jpg", 1);cv::imshow("name", g_srcImage);problem occured after running: *** Break *** segmentation viol...

2019-03-24 10:43:05 778

翻译 [Work Summary #1]Use different compiler with CMake(指定GCC版本进行编译)

[Work Summary #1] Use different compiler with CMake1. How do I use a different compilerMethod 1: use environment variables(使用环境变量)For C and C++, set the CC and CXX environment variables. This metho...

2019-03-23 10:31:56 263

转载 「转载」Linux串口通信详解

Linux串口编程详解http://www.adamjiang.com/pukiwiki/index.php?Linux%E4%B8%B2%E5%8F%A3%E7%BC%96%E7%A8%8B%E8%AF%A6%E8%A7%A3[&amp;amp;nbsp;Front page&amp;amp;nbsp;] &amp;amp;nbsp; [&amp;amp;nbsp;Diff&amp;amp;nbsp;|&amp;amp;nbsp;

2018-12-15 10:43:41 501 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除