Package schrodinger :: Package application :: Package matsci :: Package nano :: Module plane
[hide private]
[frames] | no frames]

Module plane

Classes and functions for crystal planes.

Copyright Schrodinger, LLC. All rights reserved.

Classes [hide private]
  CrystalPlane
Manage a crystal plane object.
Functions [hide private]
int, int, int
ext_gcd(a, b)
Solve ax + by = gcd(a, b) using the Extended Euclidean Algorithm.
Variables [hide private]
  __doc__ = ...
  _version = '$Revision 0.0 $'
  __package__ = 'schrodinger.application.matsci.nano'
Function Details [hide private]

ext_gcd(a, b)

 

Solve ax + by = gcd(a, b) using the Extended Euclidean Algorithm. Return (1) the greatest common divisor (gcd) of integers a and b and (2) the integer Bezout coefficients x and y.

Parameters:
  • a (int) - the a coefficient
  • b (int) - the b coefficient
Returns: int, int, int
gcd(a, b), Bezout coefficient x, and Bezout coefficient y

Variables Details [hide private]

__doc__

Value:
"""
Classes and functions for crystal planes.

Copyright Schrodinger, LLC. All rights reserved."""