~ubuntu-branches/ubuntu/precise/brian/precise

« back to all changes in this revision

Viewing changes to dev/ideas/codegen_rewrite/independent_work_to_do.txt

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2012-01-02 12:49:11 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120102124911-6r1rmqgt5vr22ro3
Tags: 1.3.1-1
* Fresh upstream release
* Boosted policy compliance to 3.9.2 (no changes)
* Added up_skip_tests_with_paths patch to avoid test failures on custom 
  test scripts with hardcoded paths

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Some ideas for mini-projects which can be done semi-independently
2
 
=================================================================
3
 
 
4
 
Degeneracy
5
 
----------
6
 
 
7
 
Handle degeneracy correctly in LinearStateUpdater
8
 
 
9
 
Reducing systems of equations to standard form
10
 
----------------------------------------------
11
 
 
12
 
Given a system of equations of a form like the following:
13
 
 
14
 
  a * d2x/dt2 + b * d2y/dt2 = c
15
 
  d * d2x/dt2 + e * d2y/dt2 = f
16
 
  
17
 
Write a module using Sympy to simplify to a system of first order ODEs. Note
18
 
that Sympy doesn't support the d2x/dt2 syntax, for example, so you would
19
 
need to do some pattern matching and replacement preprocessing beforehand,
20
 
e.g. replace 'dNX/dtN' with a fixed symbol, say _diff_N_X and have a lookup
21
 
table that matches symbols _diff_N_X to the original pattern 'dNX/dtN' and to
22
 
the pair (N, X) identifying the equation and order of the differential. With
23
 
these symbols, the equations could be solved using Sympy, and then reduced by
24
 
introducing auxiliary variables.