Deviation Scaling / Code Review / Couple Structs

条评论
Deviation Scaling 背景是给一些点构成的曲线做延长,只要插入一个点,那么很自然的就拿点集的最后两个点,沿这个向量 v⃗\vec{v}v 追加一个固定长度(假设为 L)的向量就可以了。 问题出现在,当 ∣∣v⃗∣∣||{\v...

阅读全文

blog setup

条评论
Image This is photo loading test: Math Inline math: θ=0\theta = 0θ=0 Multiline math equation: iℏ∂∂tψ=−ℏ22m∇2ψ+Vψi\hba...

阅读全文

Hello World

条评论
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hex...

阅读全文

Lambda vs Bind

条评论
Source Code 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950// https://godbo...

阅读全文

传参也要讲究基本法

条评论
AI Summary(DeepSeek R1) 在代码设计中,避免将庞大的结构体透传至底层函数,以减少认知负荷与依赖耦合。传递完整结构体会迫使开发者逐层理解无关字段,增加维护难度,同时引发编译效率问题。 优化方案是解构参数,仅传递必要字段...

阅读全文