📄 flexible_vector.html
字号:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta name="Keywords" content="Compression, Algorithm, Data Compession, Data Coding, Huffman Algorithm, Template Algorithm, non-numerical costs, non-numerical weights, non-numerical frequencies, Fibonacci, C++, STL, UNIX, Solaris, Vinokur">
<meta name="Description" content="This program enables you to use vectors and matrixes with arbitrary bounds.">
<meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; I) [Netscape]">
<meta name="Author" content="Alex Vinokur">
<meta name="KeyWords" content="Arbitrary Bounds, Vector, Matrix, C++, STL, Template">
<title>Flexible Vector and Matrix</title>
</head>
<body>
<pre>
[ Last Modification : 2001/10/30]
---------------------------------
Here is <b><font color="#FF0000">Flexible Vector and Matrix
<i>(Vectors and Matrix with Arbitrary Bounds)</i></font></b>.
The algorithm has been written by Alex Vinokur.
Programming Language : C++.
Any and all comments would be appreciated.
<a href="http://up.to/alexvn">Alex </a><a href="http://go.to/alexv_math">Vinokur
</a> -----------------------------------
<a href="mailto:alexvn@bigfoot.com">alexvn@bigfoot.com</a>, <a href="mailto:alexvn@dr.com">alexvn@dr.com
</a> <a href="mailto:alexv@hitechclub.com">alexv@hitechclub.com
</a> <a href="http://up.to/alexvn">http://up.to/alexvn
</a> <a href="http://go.to/alexv_math">http://go.to/alexv_math
</a> <a href="http:flexible_vector.html">http://alexvn.freeservers.com/s1/flexible_vector.html
</a> <a href="http:flexible_vector.zip">http://alexvn.freeservers.com/s1/flexible_vector.zip
</a> -----------------------------------
</pre>
<table CELLPADDING=20 >
<caption><TBODY>
<br></TBODY></caption>
<tr>
<td BGCOLOR="#FFBBBB">
<pre>
<font size=+1> <b>Content</b>.
1. <a href="#label_Algorithm"><b>Algorithm</b></a>
2. <a href="#label_Classes"><b>Classes</b></a>
3. <a href="#label_Program"><b>Program Files</b></a>
4. <a href="#label_Tests"><b>Tests</b></a>
5. <a href="#label_Compiling"><b>Compiling</b></a>
6. <a href="#label_Running"><b>Running</b></a> (<a href="http:flexible_dir/flexible_log.txt"><b><i>Log File</i></b></a>)
7. <a href="http:flexible_vector.zip"><b>Download</b></a>
</font>
</pre>
</td>
</tr>
</table>
<a NAME="label_Algorithm"></a>
<table CELLPADDING=20 >
<caption><TBODY>
<br></TBODY></caption>
<tr>
<td BGCOLOR="#DDDDEE">
<pre>====================================================
=================== 1. <b><font color="#FF0055">Algorithm</font></b> ===================
Flexible Vector and Matrix Classes enable
to use vectors and matrixes with arbitrary bounds.
Also : see the discussions titled
"<b><font color="#FF5555">It was in Algol60, but missing in STL</font></b>"
started 1999/03/15 in
* <a href="http://groups.google.com/groups?th=a75855057a0a8347">comp.lang.c++
</a> * <a href="http://groups.google.com/groups?th=42ba9de7a52da4c8&rnum=2">comp.lang.c++.modearated
</a> * <a href="http://groups.google.com/groups?th=1e1825b8e27ae145">comp.std.c++
</a>====================================================</pre>
</td>
</tr>
</table>
<a NAME="label_Classes"></a>
<table CELLPADDING=20 >
<caption><TBODY>
<br></TBODY></caption>
<tr>
<td BGCOLOR="#FFEEBB">
<pre>====================================================
================ 2. <b><font color="#FF0055">List Of Classes</font></b> ================
Main template classes used in the algorithm are as following :
1. <font color="#008800"><b>ClassFlexibleVector<T> </b></font>
2. <font color="#008800"><b>ClassVeryFlexibleVector<T> </b></font>
3. <font color="#008800"><b>ClassFlexibleMatrix<T> </b></font>
====================================================</pre>
</td>
</tr>
</table>
<a NAME="label_Program"></a>
<table CELLPADDING=20 >
<caption><TBODY>
<br></TBODY></caption>
<tr>
<td BGCOLOR="#DDEEDD">
<pre>==========================================================================
============================= 3. <b><font color="#FF0055">Program Files</font></b> ===========================
The algorithm contains the following files :
<u><b>Header files</b></u>
1. <a href="http:flexible_dir/defs_h.txt">defs.h</a> Macro & definitions
2. <a href="http:flexible_dir/funcs_h.txt">funcs.h</a> Auxiliary functions (Declaration)
3. <a href="http:flexible_dir/obj_loc_h.txt">obj_loc.h</a> Auxiliary location classes (Definition)
4. <a href="http:flexible_dir/fx_vect_h.txt">fx_vect.h</a> Flexible Vector Classes (Definition)
5. <a href="http:flexible_dir/fx_vect2_h.txt">fx_vect2.h</a> Flexible Vector Classes (Template Implementation)
6. <a href="http:flexible_dir/fx_matr_h.txt">fx_matr.h</a> Flexible Matrix Classes (Definition)
7. <a href="http:flexible_dir/fx_matr2_h.txt">fx_matr2.h</a> Flexible Matrix Classes (Template Implementation)
8. <a href="http:flexible_dir/testfile_h.txt">testfile.h</a> Test Classes and Functions (Declarations, Definition)
<u><b>Source files</b></u>
9. <a href="http:flexible_dir/defs_c.txt">defs.c</a> Initializations
10. <a href="http:flexible_dir/funcs_c.txt">funcs.c</a> Auxiliary functions (Implementation)
11. <a href="http:flexible_dir/obj_loc_c.txt">obj_loc.c</a> Auxiliary location classes (Implementation)
12. <a href="http:flexible_dir/fx_vect_c.txt">fx_vect.c</a> Flexible Vector Classes (Non-Template Implementation)
13. <a href="http:flexible_dir/fx_matr_c.txt">fx_matr.c</a> Flexible Matrix Classes (Non-Template Implementation)
14. <a href="http:flexible_dir/testfile_c.txt">testfile.c</a> Test Classes and Functions (Implementation)
15. <a href="http:flexible_dir/main_c.txt">main.c</a> Test Classes and Functions (Implementation)
==========================================================================</pre>
</td>
</tr>
</table>
<a NAME="label_Tests"></a>
<table CELLPADDING=20 >
<caption><TBODY>
<br></TBODY></caption>
<tr>
<td BGCOLOR="#DDEEFF">
<pre>====================================================
===================== 4. <b><font color="#FF0055">Tests</font></b> =====================
The main program contains the following tests :
<font color="#AA00AA"><b>Vector-Test#1</b>.</font> Show Methods
<font color="#AA00AA"><b>Vector-Test#2</b>.</font> Valid Assignations
<font color="#AA00AA"><b>Vector-Test#3</b>.</font> Invalid Assignations
<font color="#AA00AA"><b>Matrix-Test#1</b>.</font> Show Methods
<font color="#AA00AA"><b>Matrix-Test#2</b>.</font> Valid Assignations
<font color="#AA00AA"><b>Matrix-Test#3</b>.</font> Invalid Assignations
====================================================</td>
</tr>
</table>
<a NAME="label_Compiling"></a>
<table CELLPADDING=20 >
<caption><TBODY>
<br></TBODY></caption>
<tr>
<td BGCOLOR="#DEDEDE">
<pre>====================================================
==================== 5. <b><font color="#FF0055">Compiling</font></b> ==================
//#########################################################
//------------------- System & Compiler ------------------
Windows98
gpp : GNU C++ version 2.95.3 20010315/djgpp (release) (djgpp)
compiled by GNU C version 2.95.3 20010315/djgpp (release).
//-------------------- Compiling : BEGIN ------------------
%gpp *.c
//-------------------- Compiling : END --------------------</pre>
</td>
</tr>
</table>
<a NAME="label_Running"></a>
<table CELLPADDING=20 >
<caption><TBODY>
<br></TBODY></caption>
<tr>
<td BGCOLOR="#FFEEBB">
<pre>====================================================
===================== 6. <b><font color="#FF0055">Running</font></b> ===================
//#########################################################
//-------------------- Running : BEGIN --------------------
%a.exe
//-------------------- Running : END ----------------------
See the results in <a href="http:flexible_dir/flexible_log.txt">Log file</a>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -