compute_M¶
-
sknano.core.structures.
compute_M
(*Ch)[source] [edit on github][source]¶ Compute M=mp−nq
M is the number of multiples of the translation vector T in the vector NR.
Parameters: *Ch – Either a 2-tuple of ints or 2 integers giving the chiral indices of the nanotube chiral vector Ch=na1+ma2=(n,m).
Returns: M=mp−nq Return type: int