Skip to content

Releases: edelveart/figuratenum

v3.0.0a0 — Visualizing Phase Portraits and Generating Functions

25 Feb 19:46

Choose a tag to compare

What's new in v3.0.0a0?

Generalized Pronic & Centered Hypertetrahedron Phase Portraits

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() class
  • DiscreteViz() 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 (m and k) based on the chosen sequence
  • Returns a matplotlib.figure.Figure object, 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

14 Jan 22:54

Choose a tag to compare

What’s new in v2.1.1?

Example of Gaussian Graph Visualization

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 k values 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

31 Aug 03:40

Choose a tag to compare

What’s new in v2.1.0?

Example of Gaussian Graph Visualization

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: numpy and matplotlib (install via pip 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

27 Aug 04:40

Choose a tag to compare

Description

  • Added cheatsheet with all available commands for quick reference.
  • Imported missing centered polygonal number generators.
  • Added missing k parameter in the generalized_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

10 Jul 23:48

Choose a tag to compare

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

22 Jun 05:32

Choose a tag to compare

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

02 Apr 00:16

Choose a tag to compare

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

01 Apr 20:58

Choose a tag to compare

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 FigurateNum serves as a general container for all sequences.
  • The NumberCollector class 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 _numbers suffix has been removed from method names.
  • For example:
    - Before: pentatope_numbers()
    - Now: pentatope()

v1.0.3 - Updated social image URL

17 Mar 00:08

Choose a tag to compare

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

14 Mar 16:34

Choose a tag to compare

  • Added total download count from Pepy to the README.