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

Uploaded Source

File details

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

File metadata

  • Download URL: eigenmorphic-0.1.2.tar.gz
  • Upload date:
  • Size: 11.8 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.2.tar.gz
Algorithm Hash digest
SHA256 707eb9447ee61818bdd3abbd87018ffe9e912f71a9831dd1e85081e0fe604b36
MD5 5960ffb209c9b5c53734c58856781fb9
BLAKE2b-256 c66e5c8de3a42070935c3bcf139019c76a0bfc55c3b2b12ffaed6f5291c0dd94

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