version 1.6, 2005/03/24 22:07:15 |
version 1.8, 2005/03/26 23:25:46 |
|
|
$OpenXM: OpenXM/src/asir-contrib/guideline.txt,v 1.5 2005/03/24 09:09:34 takayama Exp $ |
$OpenXM: OpenXM/src/asir-contrib/guideline.txt,v 1.7 2005/03/24 23:41:16 takayama Exp $ |
|
|
How to commit your asir program to asir-contrib? [2005, 3/24] |
How to commit your asir program to asir-contrib? [2005, 3/24] |
|
|
1. The name of your source code should be |
1. The name of your source code should be |
yourname_xyz.rr |
yourname_xyz.rr |
|
if xyz is a general name like matrix, prime, resultant, etc. |
The part "yourname" may be your nickname. |
The part "yourname" may be your nickname. |
Example: noro_matrix.rr |
Example: noro_matrix.rr |
|
If xyz is not a general name, the part yourname_ is not necessary. |
|
|
Your asir source should be at asir-contrib/packages/src. |
Your asir source should be at asir-contrib/packages/src. |
Or, you may make a new directory under asir-contrib/packages/src |
Or, you may make a new directory under asir-contrib/packages/src |
to put your programs and data. |
to put your programs and data. |
Example: asir-contrib/packages/src/todo_parametrize |
Example: asir-contrib/packages/src/todo_parametrize |
|
|
Your may use both your own directory and the top level source code. |
Your may use both your own directory and the top level source code |
|
to load sources in the own directory. |
Example: asir-contrib/packages/src/naka_mora |
Example: asir-contrib/packages/src/naka_mora |
asir-contrib/packages/src/naka_mora.rr |
asir-contrib/packages/src/naka_mora.rr |
|
|
2. Please encapsulate your source code with module. |
2. Please encapsulate your source code with modules. |
When you use the module name which represents a mathematical notion |
When you use the module name which represents a mathematical notion |
or a data structure, |
or a data structure, |
the module name should be |
the module name should be |
Line 37 How to commit your asir program to asir-contrib? [2005 |
|
Line 40 How to commit your asir program to asir-contrib? [2005 |
|
asir-contrib/packages/doc/todo_parametrize/todo_parametrize_ja.texi |
asir-contrib/packages/doc/todo_parametrize/todo_parametrize_ja.texi |
|
|
4. If you want to embed your manual in the source, you are welcome |
4. If you want to embed your manual in the source, you are welcome |
to use "oxweave" or "gdoc" (see http://texinfo.org). |
to use "oxweave & gentexi" or "gdoc" (see http://texinfo.org). |
|
|
5. Please refer to papers that explain algorithms in your package |
5. Please refer to papers that explain algorithms in your package |
from your texinfo manual. |
from your texinfo manual. |
Line 45 How to commit your asir program to asir-contrib? [2005 |
|
Line 48 How to commit your asir program to asir-contrib? [2005 |
|
6. Please include test data that you used to check the correctness |
6. Please include test data that you used to check the correctness |
of your implementation or to make demonstrations. |
of your implementation or to make demonstrations. |
|
|
|
7. About function names of your module. |
|
Please use any names you like. |
|
However, please also include "long function names" separated by "_" |
|
such as "total_degree". |
|
|
Directory structure |
Directory structure |
Windows: |
Windows: |