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.8.tar.gz (14.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: eigenmorphic-0.1.8.tar.gz
  • Upload date:
  • Size: 14.3 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.8.tar.gz
Algorithm Hash digest
SHA256 ed67361eaefe70822dec6c1b2023a7c4a9eacb69a9d193985f548e7fd733e9f2
MD5 2a9e9bf8d1c70768e87b8d6d129bc8f1
BLAKE2b-256 9fed96075fc650c39c08075b9cc3a2c8642056210433d562d51f553a03b7a9d1

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