Processing math: 100%

sknano.core.atoms.StructureAtoms.centroid

StructureAtoms.centroid

Centroid of Atoms.

Computes the position vector of the centroid of the Atoms coordinates.

C=Natomsi=1riNatoms
Returns:

C : Vector

The position vector of the centroid coordinates.