getp.cc
来自「The Little Green BATS is the first and s」· CC 代码 · 共 10 行
CC
10 行
#include "montecarlodistribution.ih"double MonteCarloDistribution::getP(Vector3D const &x) const{ for (vector<Particle>::const_iterator iter = d_particles.begin(); iter != d_particles.end(); iter++) if (iter->coords == x) return iter->p; return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?