|
11 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
| 14 | + |
14 | 15 | """ |
15 | | -Lightweight ``mole`` module. |
| 16 | +Lightweight :mod:`~pyscfad.gto.mole` module. |
16 | 17 | """ |
17 | | - |
18 | 18 | from __future__ import annotations |
19 | 19 | from collections.abc import Callable |
20 | 20 | import contextlib |
@@ -212,12 +212,12 @@ def intor( |
212 | 212 | `0` (no symmetry), `1` (hermitian), and `2` (anti-hermitian). |
213 | 213 | aosym: Permutation symmetry of 2e integrals, can be |
214 | 214 | `s1`, `s2`, `s4`, and `s8`. |
215 | | - out: Not used. |
| 215 | + out: Unused. |
216 | 216 | shls_slice: Label the start-stop shells for each index in the integral. |
217 | 217 | For example, the 8-element tuple for the 2e integral |
218 | 218 | tensor ``(ij|kl) = intor('int2e')`` are specified as |
219 | 219 | ``(i0, i1, j0, j1, k0, k1, l0, l1)``. |
220 | | - grids: Not used. |
| 220 | + grids: Unused. |
221 | 221 |
|
222 | 222 | Returns: |
223 | 223 | Computed integral as an array. |
@@ -311,7 +311,7 @@ def from_pyscf( |
311 | 311 | trace_coords: bool = False, |
312 | 312 | trace_basis: bool = False, |
313 | 313 | ) -> MoleLite: |
314 | | - """Initialize from :class:`pyscf.gto.Mole` object. |
| 314 | + """Initialize from the pyscf :class:`~pyscf.gto.mole.Mole` object. |
315 | 315 | """ |
316 | 316 | if not mol._built: |
317 | 317 | raise KeyError(f"{mol} not built") |
@@ -348,7 +348,7 @@ def to_pyscf( |
348 | 348 | output: str | None = None, |
349 | 349 | max_memory: int | None = None, |
350 | 350 | ) -> MoleBase: |
351 | | - """Convert to :class:`pyscf.gto.Mole` object. |
| 351 | + """Convert to the pyscf :class:`~pyscf.gto.mole.Mole` object. |
352 | 352 | """ |
353 | 353 | coords = ops.to_numpy(self.coords) |
354 | 354 | atom = [[a, tuple(x.tolist())] for a, x in zip(self.symbols, coords)] |
@@ -382,6 +382,7 @@ def gaussian_int( |
382 | 382 | alpha: ArrayLike, |
383 | 383 | ) -> Array: |
384 | 384 | r"""Gaussian integral. |
| 385 | +
|
385 | 386 | Computes :math:`\int_0^\infty x^n exp(-\alpha x^2) dx`. |
386 | 387 | """ |
387 | 388 | from pyscfad.scipy.special import gamma |
@@ -457,7 +458,7 @@ def make_env( |
457 | 458 | mol: MoleLite, |
458 | 459 | ) -> tuple[numpy.ndarray, numpy.ndarray, Array]: |
459 | 460 | """Make ``_atm``, ``_bas``, and ``_env`` for |
460 | | - interfacing with libcint. |
| 461 | + interfacing with ``libcint``. |
461 | 462 | """ |
462 | 463 | pre_env = np.zeros(PTR_ENV_START) |
463 | 464 | _env = [pre_env] |
|
0 commit comments