Releases: edelveart/figuratenum
v3.0.0a0 — Visualizing Phase Portraits and Generating Functions
What's new in v3.0.0a0?
Phase Portraits of Generalized Pronic (2D) and Centered Hypertetrahedron (4D)
Inspired by Elias Wegert (2012)
A single interface for everything: plane, space, and multidimensional.
ComplexViz()classDiscreteViz()class (formerly known as FigurateViz)
Configurable plot types:
- pure_phase_portrait → phase color only
- phase_contours → phase + contour lines
- modulus_contours → phase + modulus contours
- enhanced_phase_portrait → phase + modulus and phase contours
Full appearance control:
- Resolution, figure size (
figsize), number of lines, brightness - Colormap (
cmap_color) and optional axes - Optional Poincaré mask (
poincare_disk) with configurable radius - Automatic validation of parameters (
mandk) based on the chosen sequence - Returns a
matplotlib.figure.Figureobject, allowing immediate display or further manipulation of the figure.
Thank you for being a part of the FigurateNum community!
If you find the new hypertetrahedron generator helpful, feel free to give us a ⭐️ and share your thoughts with us!
v2.1.1 — Performance Optimizations and LaTeX Cheat Sheet
What’s new in v2.1.1?
5D Hyperoctahedron
-
Optimized performance: The generators now include incremental optimizations for faster performance, using precomputed values alongside the reference implementation from the original book.
-
Faster computations: The updated implementation reduces redundant recalculations, ensuring faster results, particularly for large
kvalues and high-dimensional cases. -
LaTeX Cheat Sheet: A helpful LaTeX cheat sheet has been added to the repository for easy reference and quick access:
PDF Cheat Sheet with LaTeX commands and examples. -
Errata of the book: The errata is now editable in the repository and downloadable as a PDF:
Errata Figurate Numbers (2012).
Thank you for being a part of the FigurateNum community!
If you find the new hypertetrahedron generator helpful, feel free to give us a ⭐️ and share your thoughts with us!
v2.1.0 — Graph Visualization for Figurate Numbers
What’s new in v2.1.0?
FigurateViz: A beauty visualization tool that allows you to plot figurate number sequences as elegant polar coordinate Gaussian plots. This addition opens up a fresh, graphical way to explore and analyze the intricate patterns of figurate numbers.
- Highly customizable with options for colors, visibility of elements, rotation, and export capabilities (SVG, PDF, PNG).
- Seamlessly integrates with any figurate number sequence, supporting both lists and tuples of integers.
- Requires optional dependencies:
numpyandmatplotlib(install viapip install figuratenum[figurate-viz]).
Why FigurateViz?
Visualization helps to reveal hidden symmetries and structures in mathematical sequences. With FigurateViz, you can:
- Gain deeper intuition about figurate numbers through stunning polar graphs.
- Export high-quality images for presentations, papers, or teaching.
- Interactively explore the geometry behind the numbers without leaving your Python environment.
Thank you for being part of the FigurateNum community!
If you enjoy the new visualizations, please give us a ⭐️ and share your creations!
v2.0.4 - CheatSheet and Patch Fixes
Description
- Added cheatsheet with all available commands for quick reference.
- Imported missing centered polygonal number generators.
- Added missing
kparameter in thegeneralized_nexus(k, start_num = 0)sequence. - Added more specific tests for each sequence class to ensure better coverage and accuracy.
v2.0.3 - Introduce new ZooFigurateNum class
Description
- Fix problem with replacing internal anchor links with absolute GitHub URLs for PyPI compatibility
- Add cuban_prime number sequences
- Add pell number sequences
v2.0.2 - Bug Fixes in Space and Multidimensional FigurateNum Class
Description
- Fixed missing parameter handling in nexus method
- Fixed missing parameter handling in generalized_mgonal_pyramidal method
- Enforced integer type constraint in generalized_k_dimensional_hypertetrahedron method
v2.0.1 - Bug Fixes & New Figurate Number Sequences
Description:
- Bug Fixes: Fixed an issue related to hypercube numbers.
- New Sequences Added: The following new geometric sequences have been added:
- Tesseract (tesseract)
- Hypercube (hypercube)
- Pentachoron (pentachoron)
- Octachoron (octachoron)
- Cell_5
- Cell_8
- Cell_16
- Cell_24
- Cell_120
- Cell_600
v2.0.0 - Breaking Changes: Class Overhaul & Method Updates
BREAKING CHANGES
Class restructuring:
- Three new specialized classes have been added:
PlaneFigurateNum(for plane figurate numbers)SpaceFigurateNum(for space figurate numbers)MultidimensionalFigurateNum(for multidimensional figurate numbers)
- The main class
FigurateNumserves as a general container for all sequences. - The
NumberCollectorclass has been introduced for performing basic operations on sequences.
Instance methods:
- All methods are now instance methods, meaning you must create an instance of the class before calling them.
Method renaming and signature changes:
- Several methods have been renamed, and the
_numberssuffix has been removed from method names. - For example:
- Before:pentatope_numbers()
- Now:pentatope()
v1.0.3 - Updated social image URL
What's New:
- The URL for the social image (logo) has been updated to ensure proper display on PyPI and other related services.
Note: No functionality changes have been made to the package; this update only affects the logo image URL for visual improvements on PyPI and other platforms.
v1.0.2 - Added Total Downloads to README
- Added total download count from Pepy to the README.
