Skip to main content

Eigenvalues of morphic subshifts

Project description

Eigenvalues of morphic subshifts.

This is a Sage optional package. It contains code to compute exact additive eigenvalues of morphic subshifts, that is a substitution subshift or the subshift generated by its image by another substitution.

Installation:

sage -pip install eigenmorphic

Usage:

sage: from eigenmorphic import *

After this command, you can compute eigenvalues of morphic subshifts:

sage: s = WordMorphism("a->ab,b->ac,c->a")
sage: morphic_eigenvalues(s)
Z*{1, b, b^2}
    where b is root of x^3 - x^2 - x - 1

    sage: t = WordMorphism('a->0,b->1,c->1')
    sage: morphic_eigenvalues(s, t)
    Z*{1, b, b^2}
    where b is root of x^3 - x^2 - x - 1

    sage: # regular paperfolding
    sage: t = WordMorphism('a->00,b->01,c->10,d->11')
    sage: s = WordMorphism('a->ca,b->cb,c->da,d->db')
    sage: t(s.fixed_points()[0])
    word: 1101100111001001110110001100100111011001...
    sage: morphic_eigenvalues(s,t)
    1/8Z[1/2]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eigenmorphic-0.1.4.tar.gz (12.5 kB view details)

Uploaded Source

File details

Details for the file eigenmorphic-0.1.4.tar.gz.

File metadata

  • Download URL: eigenmorphic-0.1.4.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for eigenmorphic-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2d3024a672138715bc75518ef22aab953a7169363c75095712e4e473c8998f67
MD5 b457ac8886ff797688b5a1622a521613
BLAKE2b-256 4da01e5608e2eae4d0ba628ec7547ca715f1c9eee29ee69a60848acfd3f8bc5d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page