Add files
This commit is contained in:
83
python/pybertini/__init__.py
Normal file
83
python/pybertini/__init__.py
Normal file
@@ -0,0 +1,83 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
PyBertini -- Python bindings for Bertini2.
|
||||
|
||||
This code is licensed under the GNU Public License, Version 3, with
|
||||
additional clauses under section 7 as permitted, to protect the
|
||||
Bertini name. See b2/licenses/ for a complete copy of the license,
|
||||
and the licenses of software upon which Bertini depends.
|
||||
|
||||
See the source at https://github.com/bertiniteam/b2
|
||||
"""
|
||||
|
||||
|
||||
### this __init__.py is strongly inspired by that for GalSim
|
||||
### https://github.com/GalSim-developers/GalSim
|
||||
|
||||
from ._version import __version__, __version_info__
|
||||
version = __version__
|
||||
|
||||
|
||||
# put stuff in the pybertini namespace
|
||||
|
||||
import pybertini.function_tree as function_tree
|
||||
|
||||
import pybertini.system as system
|
||||
import pybertini.tracking as tracking
|
||||
import pybertini.endgame as endgame
|
||||
import pybertini.parse as parse
|
||||
import pybertini.container as container
|
||||
import pybertini.logging as logging
|
||||
import pybertini.nag_algorithm as nag_algorithm
|
||||
import pybertini.random as random
|
||||
|
||||
|
||||
import pybertini.multiprec as multiprec
|
||||
|
||||
# some convenience assignments
|
||||
Variable = function_tree.symbol.Variable
|
||||
VariableGroup = function_tree.VariableGroup
|
||||
System = system.System
|
||||
default_precision = multiprec.default_precision
|
||||
|
||||
|
||||
|
||||
# https://stackoverflow.com/questions/44834/what-does-all-mean-in-python
|
||||
# "a list of strings defining what symbols in a module will be exported when from <module> import * is used on the module"
|
||||
__all__ = ['Variable','VariableGroup','system','System',
|
||||
'nag_algorithm','container','default_precision',
|
||||
'tracking','endgame','logging','function_tree','parse','multiprec','random']
|
||||
|
||||
|
||||
|
||||
|
||||
33
python/pybertini/_version.py
Normal file
33
python/pybertini/_version.py
Normal file
@@ -0,0 +1,33 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/_version.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/_version.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/_version.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018-2023 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018-2023
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
__version__ = '1.0.5'
|
||||
__version_info__ = tuple(map(int, __version__.split('.')))
|
||||
32
python/pybertini/algorithms/__init__.py
Normal file
32
python/pybertini/algorithms/__init__.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/algorithms/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/algorithms/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/algorithms/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
"""
|
||||
Various algorithms for numerical algebraic geometry, notable the zero dimensional algorithm, which is used all over the place.
|
||||
"""
|
||||
|
||||
27
python/pybertini/algorithms/zerodim.py
Normal file
27
python/pybertini/algorithms/zerodim.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/algorithms/zerodim.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/algorithms/zerodim.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/algorithms/zerodim.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
51
python/pybertini/container/__init__.py
Normal file
51
python/pybertini/container/__init__.py
Normal file
@@ -0,0 +1,51 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/container/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/container/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/container/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018-2023 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018, 2023
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
container types, coming from C++
|
||||
|
||||
|
||||
"""
|
||||
|
||||
import pybertini._pybertini.container
|
||||
|
||||
from pybertini._pybertini.container import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.container)
|
||||
|
||||
|
||||
vector_types = (ListOfVectorComplexVariablePrecision, ListOfVectorComplexDoublePrecision)
|
||||
|
||||
|
||||
# for v in vector_types:
|
||||
# v.Zero = lambda n: v( (0,)*n )
|
||||
|
||||
87
python/pybertini/endgame/__init__.py
Normal file
87
python/pybertini/endgame/__init__.py
Normal file
@@ -0,0 +1,87 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/endgame/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/endgame/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/endgame/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
"""
|
||||
Endgame-specific things -- endgames, configs
|
||||
***********************************************
|
||||
|
||||
Endgames allow the computation of singular endpoints.
|
||||
|
||||
Flavors
|
||||
=========
|
||||
|
||||
There are two basic flavors of endgame implemented:
|
||||
|
||||
1. Power Series, commonly written PS or PSEG
|
||||
2. Cauchy
|
||||
|
||||
Both estimate the cycle number and use it to compute a root at a time which is never tracked to. PSEG uses Hermite interpolation and extrapolation, and Cauchy uses loops around the target time coupled with the `Cauchy integral formula <https://en.wikipedia.org/wiki/Cauchy%27s_integral_formula>`_. Both continue until two successive approximations of the root match to a given tolerance (:py:attr:`pybertini.endgame.config.Endgame.final_tolerance`).
|
||||
|
||||
The implementations of the endgames go with a particular tracker, hence there are six provided endgame types. Choose the one that goes with your selected tracker type. Adaptive Multiple Precision is a good choice.
|
||||
|
||||
|
||||
Implementation reference
|
||||
=========================
|
||||
|
||||
AMP Endgames
|
||||
-------------
|
||||
|
||||
* :class:`~pybertini.endgame.AMPCauchyEG`
|
||||
* :class:`~pybertini.endgame.AMPPSEG`
|
||||
|
||||
Fixed Double Precision Endgames
|
||||
---------------------------------
|
||||
|
||||
* :class:`~pybertini.endgame.FixedDoublePSEG`
|
||||
* :class:`~pybertini.endgame.FixedDoublePSEG`
|
||||
|
||||
Fixed Multiple Precision Endgames
|
||||
-------------------------------------
|
||||
|
||||
* :class:`~pybertini.endgame.FixedMultiplePSEG`
|
||||
* :class:`~pybertini.endgame.FixedMultiplePSEG`
|
||||
|
||||
"""
|
||||
|
||||
import pybertini._pybertini.endgame
|
||||
|
||||
from pybertini._pybertini.endgame import *
|
||||
|
||||
__all__ = ['AMPCauchyEG',
|
||||
'AMPPSEG',
|
||||
'FixedDoubleCauchyEG',
|
||||
'FixedDoublePSEG',
|
||||
'FixedMultipleCauchyEG',
|
||||
'FixedMultiplePSEG',
|
||||
'__doc__',
|
||||
'__loader__',
|
||||
'__name__',
|
||||
'__package__',
|
||||
'__spec__',
|
||||
'config',
|
||||
'observers']
|
||||
41
python/pybertini/endgame/config/__init__.py
Normal file
41
python/pybertini/endgame/config/__init__.py
Normal file
@@ -0,0 +1,41 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/endgame/config/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/endgame/config/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/endgame/config/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
"""
|
||||
|
||||
Configs for endgames
|
||||
|
||||
"""
|
||||
|
||||
import pybertini._pybertini.endgame.config
|
||||
|
||||
from pybertini._pybertini.endgame.config import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.endgame.config)
|
||||
43
python/pybertini/function_tree/__init__.py
Normal file
43
python/pybertini/function_tree/__init__.py
Normal file
@@ -0,0 +1,43 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/function_tree/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/function_tree/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/function_tree/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
import pybertini._pybertini
|
||||
import pybertini._pybertini.function_tree
|
||||
|
||||
# from pybertini._pybertini import function_tree
|
||||
from pybertini._pybertini.container import VariableGroup
|
||||
|
||||
from pybertini._pybertini.function_tree import *
|
||||
|
||||
|
||||
VariableGroup.__str__ = lambda vg: '[{}]'.format( ','.join([str(v) for v in vg]) )
|
||||
|
||||
__all__ = dir(pybertini._pybertini.function_tree)
|
||||
|
||||
37
python/pybertini/function_tree/root/__init__.py
Normal file
37
python/pybertini/function_tree/root/__init__.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/function_tree/root/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/function_tree/root/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/function_tree/root/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
import pybertini._pybertini
|
||||
import pybertini._pybertini.function_tree.root
|
||||
|
||||
from pybertini._pybertini.function_tree.root import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.function_tree.root)
|
||||
|
||||
37
python/pybertini/function_tree/symbol/__init__.py
Normal file
37
python/pybertini/function_tree/symbol/__init__.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/function_tree/symbol/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/function_tree/symbol/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/function_tree/symbol/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
import pybertini._pybertini
|
||||
import pybertini._pybertini.function_tree.symbol
|
||||
|
||||
from pybertini._pybertini.function_tree.symbol import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.function_tree.symbol)
|
||||
|
||||
42
python/pybertini/logging/__init__.py
Normal file
42
python/pybertini/logging/__init__.py
Normal file
@@ -0,0 +1,42 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/logging/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/logging/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/logging/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Parsing functions, taking strings and producing various other things
|
||||
"""
|
||||
|
||||
|
||||
import pybertini._pybertini.logging
|
||||
from pybertini._pybertini.logging import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.logging)
|
||||
|
||||
44
python/pybertini/multiprec/__init__.py
Normal file
44
python/pybertini/multiprec/__init__.py
Normal file
@@ -0,0 +1,44 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/multiprec/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/multiprec/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/multiprec/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018-2023 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018, summer 2023
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Multiprecision types
|
||||
|
||||
|
||||
"""
|
||||
|
||||
import pybertini._pybertini.multiprec
|
||||
|
||||
from pybertini._pybertini.multiprec import *
|
||||
|
||||
|
||||
__all__ = dir(pybertini._pybertini.multiprec)
|
||||
44
python/pybertini/nag_algorithm/__init__.py
Normal file
44
python/pybertini/nag_algorithm/__init__.py
Normal file
@@ -0,0 +1,44 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/nag_algorithms/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/nag_algorithms/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/nag_algorithms/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2023 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2023
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
nag_algorithms
|
||||
"""
|
||||
|
||||
|
||||
import pybertini._pybertini.nag_algorithms
|
||||
from pybertini._pybertini.nag_algorithms import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.nag_algorithms)
|
||||
|
||||
|
||||
# DoublePrecisionTotalDegree = pybertini._pybertini.nag_algorithms.ZeroDimCauchyDoublePrecisionTotalDegree
|
||||
42
python/pybertini/parse/__init__.py
Normal file
42
python/pybertini/parse/__init__.py
Normal file
@@ -0,0 +1,42 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/parse/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/parse/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/parse/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Parsing functions, taking strings and producing various other things
|
||||
"""
|
||||
|
||||
|
||||
import pybertini._pybertini.parse
|
||||
from pybertini._pybertini.parse import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.parse)
|
||||
|
||||
4
python/pybertini/random/__init__.py
Normal file
4
python/pybertini/random/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import pybertini._pybertini.random
|
||||
from pybertini._pybertini.random import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.random)
|
||||
56
python/pybertini/system/__init__.py
Normal file
56
python/pybertini/system/__init__.py
Normal file
@@ -0,0 +1,56 @@
|
||||
# coding : utf-8
|
||||
#
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/system/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/system/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/system/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Provides utilities for working with systems of functions -- polynomials are intended, although you can work with functions involving things like trig functions, arbitrary powers, etc.
|
||||
|
||||
Making a new `System` is the starting point you want, probably:
|
||||
|
||||
::
|
||||
|
||||
sys = pybertini.system.System()
|
||||
|
||||
-----------
|
||||
|
||||
There are also things available in the `start_system` submodule.
|
||||
|
||||
"""
|
||||
|
||||
import pybertini._pybertini.system
|
||||
|
||||
from pybertini._pybertini.system import * # brings the type System
|
||||
from pybertini._pybertini.system import start_system
|
||||
|
||||
__all__ = dir(pybertini._pybertini.system)
|
||||
__all__.extend(['start_system'])
|
||||
41
python/pybertini/system/start_system/__init__.py
Normal file
41
python/pybertini/system/start_system/__init__.py
Normal file
@@ -0,0 +1,41 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/start_system/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/start_system/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/start_system/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Start systems
|
||||
|
||||
"""
|
||||
import pybertini._pybertini.system.start_system
|
||||
from pybertini._pybertini.system.start_system import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.system.start_system)
|
||||
|
||||
44
python/pybertini/tracking/__init__.py
Normal file
44
python/pybertini/tracking/__init__.py
Normal file
@@ -0,0 +1,44 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/tracking/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/tracking/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/tracking/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Tracking-specific things -- trackers, configs
|
||||
"""
|
||||
import pybertini._pybertini.tracking
|
||||
from pybertini._pybertini.tracking import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.tracking)
|
||||
|
||||
|
||||
AMPTracker.observers = pybertini._pybertini.tracking.observers.amp
|
||||
DoublePrecisionTracker.observers = pybertini._pybertini.tracking.observers.double
|
||||
MultiplePrecisionTracker.observers = pybertini._pybertini.tracking.observers.multiple
|
||||
39
python/pybertini/tracking/config/__init__.py
Normal file
39
python/pybertini/tracking/config/__init__.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/tracking/config/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/tracking/config/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/tracking/config/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Tracking-specific configs
|
||||
"""
|
||||
import pybertini._pybertini.tracking.config
|
||||
from pybertini._pybertini.tracking.config import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.tracking.config)
|
||||
|
||||
39
python/pybertini/tracking/observers/__init__.py
Normal file
39
python/pybertini/tracking/observers/__init__.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/tracking/observers/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/tracking/observers/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/tracking/observers/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Observers built to watch a tracker
|
||||
"""
|
||||
import pybertini._pybertini.tracking.observers
|
||||
from pybertini._pybertini.tracking.observers import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.tracking.observers)
|
||||
|
||||
39
python/pybertini/tracking/observers/amp/__init__.py
Normal file
39
python/pybertini/tracking/observers/amp/__init__.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/tracking/observers/amp/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/tracking/observers/amp/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/tracking/observers/amp/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Observers built to watch an adaptive precision tracker
|
||||
"""
|
||||
import pybertini._pybertini.tracking.observers.amp
|
||||
from pybertini._pybertini.tracking.observers.amp import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.tracking.observers.amp)
|
||||
|
||||
39
python/pybertini/tracking/observers/double/__init__.py
Normal file
39
python/pybertini/tracking/observers/double/__init__.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/tracking/observers/double/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/tracking/observers/double/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/tracking/observers/double/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Observers built to watch a pure-double precision tracker
|
||||
"""
|
||||
import pybertini._pybertini.tracking.observers.double
|
||||
from pybertini._pybertini.tracking.observers.double import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.tracking.observers.double)
|
||||
|
||||
39
python/pybertini/tracking/observers/multiple/__init__.py
Normal file
39
python/pybertini/tracking/observers/multiple/__init__.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# This file is part of Bertini 2.
|
||||
#
|
||||
# python/pybertini/tracking/observers/multiple/__init__.py is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# python/pybertini/tracking/observers/multiple/__init__.py is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with python/pybertini/tracking/observers/multiple/__init__.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Copyright(C) 2018 by Bertini2 Development Team
|
||||
#
|
||||
# See <http://www.gnu.org/licenses/> for a copy of the license,
|
||||
# as well as COPYING. Bertini2 is provided with permitted
|
||||
# additional terms in the b2/licenses/ directory.
|
||||
|
||||
# individual authors of this file include:
|
||||
#
|
||||
# silviana amethyst
|
||||
# UWEC
|
||||
# Spring 2018
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
"""
|
||||
Observers built to watch a fixed-multiple precision tracker
|
||||
"""
|
||||
import pybertini._pybertini.tracking.observers.multiple
|
||||
from pybertini._pybertini.tracking.observers.multiple import *
|
||||
|
||||
__all__ = dir(pybertini._pybertini.tracking.observers.multiple)
|
||||
|
||||
Reference in New Issue
Block a user