-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aef5cc0
commit 5264a65
Showing
32 changed files
with
994 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
from sympy import Eq, Poly, Rational, Symbol | ||
from typing import Any, Dict, Optional, Tuple | ||
|
||
def pxpz0_from_xiv0(parameters: Dict[str, Any], pz0_xiv0_eqn: Eq, poly_px_xiv0_eqn: Eq) -> Tuple[Any, Any]: ... | ||
def gradient_value(x_: float, pz_: float, px_poly_eqn: Eq, do_use_newton: bool = ...) -> float: ... | ||
def px_value_search(x_: float, pz_: float, px_poly_eqn: Eq, method: str = ..., px_guess: float = ..., px_var_: Symbol = ..., pz_var_: Symbol = ..., bracket: Tuple[float, float] = ...) -> float: ... | ||
def px_value(x_: float, pz_: float, px_poly_eqn: Eq, px_var_: Symbol = ..., pz_var_: Symbol = ...) -> float: ... | ||
def find_dzdx_poly_root(dzdx_poly_: Poly, xhat_: float, xivhat0_: float, guess: float = ..., eta_: Optional[Rational] = ..., method: str = ..., bracket: Tuple[float, float] = ...) -> Any: ... | ||
def pxpz0_from_xiv0( | ||
parameters: Dict[str, Any], pz0_xiv0_eqn: Eq, poly_px_xiv0_eqn: Eq | ||
) -> Tuple[Any, Any]: ... | ||
def gradient_value( | ||
x_: float, pz_: float, px_poly_eqn: Eq, do_use_newton: bool = ... | ||
) -> float: ... | ||
def px_value_search( | ||
x_: float, | ||
pz_: float, | ||
px_poly_eqn: Eq, | ||
method: str = ..., | ||
px_guess: float = ..., | ||
px_var_: Symbol = ..., | ||
pz_var_: Symbol = ..., | ||
bracket: Tuple[float, float] = ..., | ||
) -> float: ... | ||
def px_value( | ||
x_: float, | ||
pz_: float, | ||
px_poly_eqn: Eq, | ||
px_var_: Symbol = ..., | ||
pz_var_: Symbol = ..., | ||
) -> float: ... | ||
def find_dzdx_poly_root( | ||
dzdx_poly_: Poly, | ||
xhat_: float, | ||
xivhat0_: float, | ||
guess: float = ..., | ||
eta_: Optional[Rational] = ..., | ||
method: str = ..., | ||
bracket: Tuple[float, float] = ..., | ||
) -> Any: ... | ||
def make_dzdx_poly(dzdx_Ci_polylike_eqn_: Eq, sub_: Dict) -> Poly: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
import numpy as np | ||
from typing import Any, Callable, Dict, Tuple | ||
|
||
def solve_ODE_system(model: Callable, method: str, do_dense: bool, ic: Tuple[float, float, float, float], t_array: np.ndarray, x_stop: float = ...) -> Any: ... | ||
def solve_Hamiltons_equations(model: Callable, method: str, do_dense: bool, ic: Tuple[float, float, float, float], parameters: Dict, t_array: np.ndarray, x_stop: float = ..., t_lag: float = ...) -> Tuple[Any, Dict[str, np.ndarray]]: ... | ||
def solve_ODE_system( | ||
model: Callable, | ||
method: str, | ||
do_dense: bool, | ||
ic: Tuple[float, float, float, float], | ||
t_array: np.ndarray, | ||
x_stop: float = ..., | ||
) -> Any: ... | ||
def solve_Hamiltons_equations( | ||
model: Callable, | ||
method: str, | ||
do_dense: bool, | ||
ic: Tuple[float, float, float, float], | ||
parameters: Dict, | ||
t_array: np.ndarray, | ||
x_stop: float = ..., | ||
t_lag: float = ..., | ||
) -> Tuple[Any, Dict[str, np.ndarray]]: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
def report_progress(i: int, n: int, progress_was: float = ..., pc_step: float = ..., is_initial_step: bool = ...) -> float: ... | ||
def report_progress( | ||
i: int, | ||
n: int, | ||
progress_was: float = ..., | ||
pc_step: float = ..., | ||
is_initial_step: bool = ..., | ||
) -> float: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.