|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Matrix to LaTeX table conversion utilities. More...
#include <fstream>#include <ostream>#include <string>Go to the source code of this file.
Classes | |
| struct | Aleph::Default_Row_Formatter< Mat > |
| Default row index formatter. More... | |
| struct | Aleph::Default_Col_Formatter< Mat > |
| Default column index formatter. More... | |
| struct | Aleph::Default_Entry_Formatter< Mat > |
| Default entry formatter. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| template<typename Mat , class RowIndexFormatter , class ColIndexFormatter , class EntryFormatter > | |
| void | Aleph::mat_to_latex (Mat &mat, long n, long m, std::ostream &out, const std::string &prefix="", const std::string &suffix="") |
| Generate LaTeX tabular representation of a matrix. | |
| template<typename Mat , class RowIndexFormatter , class ColIndexFormatter , class EntryFormatter > | |
| void | Aleph::mat_to_latex (Mat &mat, long n, long m, std::ofstream &out, const std::string &prefix="", const std::string &suffix="") |
| Overload for std::ofstream output. | |
| template<typename Mat > | |
| void | Aleph::mat_to_latex_simple (Mat &mat, long n, long m, std::ostream &out, const std::string &prefix="", const std::string &suffix="") |
| Generate LaTeX table with default formatters. | |
Matrix to LaTeX table conversion utilities.
This file provides utilities for generating LaTeX tabular representations of matrices. It is particularly useful for visualizing adjacency matrices, distance matrices from Floyd-Warshall, and path matrices.
The function generates a tabular environment with:
Definition in file mat_latex.H.