symsolve v3.2.3¶
Mercurial revision 5786:5c8b45563631 | 2026-08-04
Description¶
symsolve is a tool designed to compute the product of two matrices using sparse matrix representations to reduce RAM usage.
⚠️ Warning: This tool is not parallelized yet.
Usage¶
symsolve [OPTIONS]
Options¶
Option |
Description |
|---|---|
|
Display this help message and exit. |
|
Path to the ASCII file containing the matrix to solve. |
|
Path to the ASCII file containing the right-hand side (RHS) vector. |
|
Path to the output file where the solution will be saved. Default: |
Examples¶
Basic Usage¶
Compute the product of a matrix and a RHS vector, saving the result to the default output file:
symsolve -m matrix.dat -r rhs.dat
Custom Output File¶
Specify a custom output file:
symsolve -m matrix.dat -r rhs.dat -o solution.dat
Help Message¶
Display the help message:
symsolve -h
# or
symsolve --help
Environment Variables¶
This tool does not use any environment variables for configuration. It relies solely on command-line arguments.
Notes¶
Input Files:
Both the matrix (
-m) and RHS (-r) files must be provided in ASCII format.The matrix file should contain entries in the format:
<row> <column> <value>.The RHS file should contain a list of values, one per line.
Output:
If no output file is specified (
-o), the result is saved tototo.datby default.The output file contains the solution vector, with one value per line.
Performance:
The tool uses sparse matrix storage to optimize memory usage.
Currently, no parallelization is implemented. Performance may be limited for very large matrices.
Error Handling:
If either the matrix or RHS file is missing, the tool will display an error message and exit.
See Also¶
LAPACK (for linear algebra routines)