sknano.structures.compute_M

sknano.structures.compute_M(n, m)[source][source]

Compute \(M = mp - nq\)

\(M\) is the number of multiples of the translation vector \(\mathbf{T}\) in the vector \(N\mathbf{R}\).

Parameters:

n, m : int

Chiral indices defining the nanotube chiral vector \(\mathbf{C}_h = n\mathbf{a}_1 + m\mathbf{a}_2 = (n, m)\).

Returns:

int

\(M = mp - nq\)