Package grscheller.boring_math
Libraries of a mathematical nature with example executables.
Expand source code
# Copyright 2016-2024 Geoffrey R. Scheller
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Libraries of a mathematical nature with example executables."""
__version__ = "0.3.1"
__author__ = "Geoffrey R. Scheller"
__copyright__ = "Copyright (c) 2016-2024 Geoffrey R. Scheller"
__license__ = "Apache License 2.0"
from .integer_math import gcd, lcm, coprime, iSqrt, isSqr, primes
from .integer_math import comb, fibonacci
from .pythag3 import Pythag3
from .recursive import ackermann_list
Sub-modules
grscheller.boring_math.cli
-
Entry points for automatically generated CLI scripts …
grscheller.boring_math.integer_math
-
Library of functions and classes of an integer pure math nature.
grscheller.boring_math.pythag3
-
Pythagorean triple iterator class …
grscheller.boring_math.recursive
-
Recursive function module …