Is there an elegant way to sum columns in a Vector of Static arrays in Julia?

前端 未结 0 1461
灰色年华
灰色年华 2021-01-15 01:44

I store velocities for particles as a Vector of SVectors. Each row is an SVector with that indices x, y, z velocity.

SVectors are great for their speed in arithmetic,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题