by Nikolai Shokhirev
(Development . . . Please check later)
Algebra is about indexed objects (tensors, vectors, matrices).
The objects support the arbitrary boundaries of arrays:
![]() |
![]() |
|
Column Vector: C[Lo1..Hi1] |
Row Vector R[Lo1..Hi1 |
|
|
2D Matrix [Lo1..Hi1,Lo2..Hi2] |
![]() |
|
3D Matrix |
(Pictures by Max Shokhirev)
The arbitrary indexing may be convenient, for example, in treatment of some problems in physics:
.
The default is the FORTRAN-like (one-based) indexing. This indexing is the most common in mathematics. The base can be changed dynamically.
In order to simplify the use of algebra objects and avoid memory leaks, the interface-based approach was chosen.
Below are several simplified examples (see the Examples directory).
The Object Algebra units are available in the Download section
|
|
Please e-mail me at nikolai@shokhirev.com |
ŠNikolai V. Shokhirev, 2002-2006