Loading [MathJax]/jax/output/HTML-CSS/jax.js

sknano.structures.compute_M

sknano.structures.compute_M(*Ch)[source][source]

Compute M=mpnq

M is the number of multiples of the translation vector T in the vector NR.

Parameters:

*Ch : {tuple or ints}

Either a 2-tuple of ints or 2 integers giving the chiral indices of the nanotube chiral vector Ch=na1+ma2=(n,m).

Returns:

int

M=mpnq