We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 018ae48 commit fb03bccCopy full SHA for fb03bcc
PLM.py PLM/PLM.pyPLM.py renamed to PLM/PLM.py
@@ -53,6 +53,15 @@ def volume(self) -> float:
53
float: lattice
54
"""
55
return np.sqrt(np.linalg.det(self.basis * self.basis.T))
56
+
57
58
+ def det(self) -> float:
59
+ """Other name of volume.
60
61
+ Returns:
62
+ float: Determinant of lattice.
63
+ """
64
+ return np.sqrt(np.linalg.det(self.basis * self.basis.T))
65
66
67
def dual(self):
PLM/__init__.py
@@ -0,0 +1 @@
1
+from PLM import PLM
main.py
setup.py
@@ -0,0 +1,8 @@
+from setuptools import setup, find_packages
2
3
+setup(
4
+ name='PythonLatticeModule',
5
+ version='0.1',
6
+ author='satoshin',
7
+ packages=find_packages()
8
+)
0 commit comments