Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename math to mathutils (issue #23) #28

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qstack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
from qstack import basis_opt
from qstack import spahm
from qstack import regression
from qstack import math
from qstack import mathutils
from qstack import orcaio
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion qstack/orcaio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import numpy as np
from qstack.math.matrix import from_tril
from qstack.mathutils.matrix import from_tril
from qstack.tools import reorder_ao

def read_density(mol, basename, directory='./', version=500, openshell=False, reorder_dest='pyscf'):
Expand Down
2 changes: 1 addition & 1 deletion qstack/regression/hyperparameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from sklearn.model_selection import train_test_split, KFold
from qstack.regression.kernel_utils import get_kernel, defaults, ParseKwargs
from qstack.tools import correct_num_threads
from qstack.math.fps import do_fps
from qstack.mathutils.fps import do_fps

def hyperparameters(X, y,
sigma=defaults.sigmaarr, eta=defaults.etaarr, gkernel=defaults.gkernel, gdict=defaults.gdict,
Expand Down
2 changes: 1 addition & 1 deletion qstack/regression/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from sklearn.model_selection import train_test_split
from qstack.regression.kernel_utils import get_kernel, defaults, ParseKwargs
from qstack.tools import correct_num_threads
from qstack.math.fps import do_fps
from qstack.mathutils.fps import do_fps


def regression(X, y, read_kernel=False, sigma=defaults.sigma, eta=defaults.eta,
Expand Down
2 changes: 1 addition & 1 deletion qstack/spahm/rho/sym.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np
from pyscf import gto, data
from qstack import compound
from qstack.math.matrix import sqrtm
from qstack.mathutils.matrix import sqrtm


def idxl0(i, l, ao):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np
from qstack import compound, tools
from qstack.fields.decomposition import decompose
from qstack.math.matrix import from_tril
from qstack.mathutils.matrix import from_tril


def test_reorder_pyscf_gpr():
Expand Down
Loading