I hereby claim:
- I am freeboson on github.
- I am freeboson (https://keybase.io/freeboson) on keybase.
- I have a public key whose fingerprint is 714B D8C2 5E25 EBA2 BAC6 9A3E 8FDE 553C 4577 F2E8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
using StaticArrays | |
function gravitate!(x::AbstractArray{<:Real, 2}, a::AbstractArray{<:Real, 2}, | |
m::AbstractArray{<:Real, 1}) | |
@assert size(x) == size(a) | |
@assert size(m)[1] == size(x)[1] | |
@assert size(x)[2] == 3 | |
G = 6.6742367e-11 | |
fill!(a, 0) |