摘要: 样本(\\(x_{i}\\),\\(y_{i}\\))个数为\\(m\\): $$\{x_{1},x_{2},x_{3}...x_{m}\}$$ $$\{y_{1},y_{2},y_{3}...y_{m}\}$$ 其中\\(x_{i}\\)为\\(n\\)维向量: $$x_{i}=\{x_{i1}, 阅读全文
posted @ 2019-06-20 17:07 JohnRed 阅读(119) 评论(0) 推荐(0) 编辑
摘要: ``` string& insert (size_t pos, const string& str); string& insert (size_t pos, const string& str, size_t subpos, size_t sublen); string& insert (size_t pos, const char* s); string& insert (si... 阅读全文
posted @ 2019-06-20 15:28 JohnRed 阅读(2114) 评论(0) 推荐(0) 编辑
摘要: ``` string& append (const string& str); string& append (const string& str, size_t subpos, size_t sublen); string& append (const char* s); string& append (const char* s, size_t n); string& append (s... 阅读全文
posted @ 2019-06-20 15:23 JohnRed 阅读(1877) 评论(0) 推荐(0) 编辑
摘要: ``` string& assign (const string& str); string& assign (const string& str, size_t subpos, size_t sublen); string& assign (const char* s); string& assign (const char* s, size_t n); string& assign (siz... 阅读全文
posted @ 2019-06-20 15:21 JohnRed 阅读(2332) 评论(0) 推荐(0) 编辑
摘要: ``` string(); string (const string& str); string (const string& str, size_t pos, size_t len = npos); string (const char* s); string (const char* s, size_t n); string (size_t n, char c); /* std::strin... 阅读全文
posted @ 2019-06-20 15:08 JohnRed 阅读(7896) 评论(0) 推荐(0) 编辑
摘要: loop=1 while [ "$loop" -le 10 ] do echo "loop:$loop" loop=$(($loop+2)) done while true do echo "while true:test" done 阅读全文
posted @ 2019-06-20 10:44 JohnRed 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 数字循环 sum=0 for((i=1;i 阅读全文
posted @ 2019-06-20 10:42 JohnRed 阅读(1536) 评论(0) 推荐(0) 编辑