GithubHelp home page GithubHelp logo

suprdewd / jay Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 10 KB

Given initial terms of an unknown generating function F, conjecture a functional equation that F satisfies.

License: MIT License

Makefile 0.26% Shell 0.18% M4 1.50% Nix 1.83% C++ 96.23%
mathematics generating-function conjecture

jay's Introduction

jay

A simple utility that, given some initial terms of an unknown generating function F, conjectures a functional equation that F satisfies. Inspired by this talk by Jay Pantone.

Synopsis

Usage: jay [OPTION]...
Given initial terms of an unknown generating function F,
conjecture a functional equation that F satisfies.

  -D,  --diff        the highest derivative of F to appear (default: 0)
  -fd, --fdeg        the highest power of F to appear (default: 1)
  -d,  --deg         the highest powers of variables to appear
  -t,  --type        the type of the generating function: ogf, egf (default: ogf)
       --hops        generate output that HOPS understands
  -h,  --help        display this help and exit
  -q,  --quiet       don't log any unnecessary output

The program expects the initial terms to be specified on standard
input in the following format. On the first line an integer 'n',
denoting the number of variables in the generating function. On
each of the following lines, until EOF, one initial term must be
specified in the format 'i_1 i_2 ... i_n c_{i_1, i_2, ..., i_n}',
meaning that 'c_{i_1, i_2, ..., i_n}' is the coefficient of
'x_1^{i_1} x_2^{i_2} ... x_n^{i_n}' in F. The list of initial terms
must be closed down, meaning that if a coefficient is listed, then
all coefficients with smaller indices must be listed as well.

Installing

$ ./autogen.sh
$ ./configure
$ make
# make install

Or, using the Nix package manager:

$ nix-env -f ./default.nix -i

License

MIT: see the LICENSE file.

jay's People

Contributors

suprdewd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

akc

jay's Issues

Can't compile on Ubuntu

Using: Ubuntu 16.04.3 LTS and gcc version 5.4.0 20160609

Making all in src
make[1]: Entering directory '/home/jay/jay/src'
depbase=`echo jay.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DPACKAGE_NAME=\"jay\" -DPACKAGE_TARNAME=\"jay\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"jay\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"jay\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GMP_H=1 -DHAVE_LIBGMPXX=1 -I.     -g -O2 -std=c++0x -MT jay.o -MD -MP -MF $depbase.Tpo -c -o jay.o jay.cpp &&\
mv -f $depbase.Tpo $depbase.Po
g++  -g -O2 -std=c++0x   -o jay jay.o  -lgmpxx
/usr/bin/ld: jay.o: undefined reference to symbol '__gmpq_mul'
//usr/lib/x86_64-linux-gnu/libgmp.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:331: recipe for target 'jay' failed
make[1]: *** [jay] Error 1
make[1]: Leaving directory '/home/jay/jay/src'
Makefile:336: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.