-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,11 +56,10 @@ | |
- git merge upstream/branch-name 合并上游分支到本地,如果出现**fatal: refusing to merge unrelated histories**, 是两个库的commit历史不同,放在错误的设置,加上--allow-unrelated-histories即可 | ||
|
||
### [stash](https://www.git-scm.com/docs/git-stash) | ||
|
||
此操作非常耗时 | ||
- git stash list 罗列出所有的 | ||
- 暂存修改 | ||
- git stash save "message" 给当前的stash加上message说明 | ||
- git stash 等同于上面这一句 | ||
- git stash save "message" 给当前的stash加上message说明 | ||
- git stash 等同于上面这一句 | ||
- git stash pop [--index] [<stash>] 恢复stash中的内容 | ||
- git stash drop [<stash>] 删除对应的stash的id | ||
- git stash clear 清楚所有的 | ||
|
@@ -223,10 +222,10 @@ git remote add origin [email protected]:Username/Repositories_Name.git # 现在这 | |
|
||
## [hook](https://git-scm.com/docs/githooks) | ||
|
||
# Subversion | ||
## Subversion | ||
|
||
|
||
## 常用命令 | ||
### 常用命令 | ||
|
||
- svn up(update) | ||
- svn update -r r644 // 切换到版本644 | ||
|
@@ -239,3 +238,17 @@ git remote add origin [email protected]:Username/Repositories_Name.git # 现在这 | |
- svn revert | ||
- svn merge -r 608:602 "" // 从r608回滚到r602 | ||
- svn info // | ||
|
||
## 规范 | ||
|
||
### angular | ||
- feat 增加新功能 | ||
- fix 修复问题或bug | ||
- style 代码风格与运行结果无关 | ||
- perf 优化/性能提升 | ||
- refactor 重构 | ||
- revert 撤销修改 | ||
- test 测试相关 | ||
- docs 文档/注释 | ||
- chore 依赖更新或脚手架配置修改 | ||
- ci 持续集成或自动部署 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 多项式 | ||
|
||
## 夹逼法 | ||
> "夹逼法" 在数学中是一种求解数值的方法,特别是在逼近理论中。在英文中,它通常被翻译为 "squeezing theorem" 或 "sandwich theorem" | ||
>> 这个术语描述的是一种技巧,通过证明一个未知的数值位于两个已知数值之间,并且这两个已知数值可以无限逼近未知数值,从而证明未知数值的特定属性或精确值。 | ||
## 牛顿拉夫森法 | ||
|
||
牛顿-拉夫森法提供了一种非常有效的方法来寻找多项式的近似根,先假设一个根x,再此处画一条曲线的切线,并找出与该切线与X轴相交的点x1,这样重复下去就可以找到近似的根。用公式表示就是 | ||
|
||
$$ | ||
\text{记}x_{n}\text{为当前根的猜测值,则可以通过计算下一个猜测值}x_{n+1} \newline | ||
x_{n+1} = x_{n} - \frac{f(x_{n})}{f^{'}(x_{n})} | ||
$$ | ||
|
||
通常会收敛到最近的根,但也有例外,会导致得不到解 | ||
|
||
- [牛顿拉夫森方法的意外之喜--分形图形](https://mp.weixin.qq.com/s/vjteWAtDAVHXfRwKE_DeSw) |
This file was deleted.
Oops, something went wrong.