#include "config.hpp"
#include <cstddef>
#include <iostream>
#include <sstream>
#include "big_int.hpp"
#include "rational.hpp"
#include "vector.hpp"
#include "matrix.hpp"
#include "sparse_polynom.hpp"
#include "std_import.hpp"
#include "texout.cpp"
Go to the source code of this file.
Namespaces | |
namespace | Arageli |
Classes | |
struct | Arageli::matrix_line |
A line descriptor for matrix output. More... | |
struct | Arageli::matrix_box |
A box (or frame) descriptor for matrix output. More... | |
struct | Arageli::matrix_frames< In_hor, In_ver, In_box > |
Contains information about horizontals and verticals lines and boxes for matrix output. More... | |
LaTeX output for built-in types and big_int | |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const signed int &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const unsigned int &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const signed short int &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const unsigned short int &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const signed long int &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const unsigned long int &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const float &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const double &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const long double &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
template<typename Out> | |
void | Arageli::output_latex (Out &out, const big_int &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
Matrix frames maker functions. | |
template<typename In_hor, typename In_ver, typename In_box> | |
matrix_frames< In_hor, In_ver, In_box > | Arageli::make_matrix_frames (In_hor hf, In_hor hl, In_ver vf, In_ver vl, In_box bf, In_box bl) |
template<typename In_hor, typename In_ver> | |
matrix_frames< In_hor, In_ver > | Arageli::make_matrix_frames (In_hor hf, In_hor hl, In_ver vf, In_ver vl) |
template<typename In_hor> | |
matrix_frames< In_hor > | Arageli::make_matrix_frames (In_hor hf, In_hor hl) |
matrix_frames | Arageli::make_matrix_frames () |
template<typename In_ver> | |
matrix_frames< const matrix_line *, In_ver > | Arageli::make_matrix_vers (In_ver vf, In_ver vl) |
template<typename In_box> | |
matrix_frames< const matrix_line *, const matrix_line *, In_box > | Arageli::make_matrix_boxes (In_box bf, In_box bl) |
template<typename In_ver, typename In_box> | |
matrix_frames< const matrix_line *, In_ver, In_box > | Arageli::make_matrix_vers_boxes (In_ver vf, In_ver vl, In_box bf, In_box bl) |
Defines | |
#define | ARAGELI_TEXOUT_NUMBER(TYPE) |
#define | ARAGELI_INCLUDE_CPP_WITH_EXPORT_TEMPLATE_TEXOUT |
Enumerations | |
enum | Arageli::ex_environ_priority { Arageli::eep_alone, Arageli::eep_add, Arageli::eep_mul } |
Type of environment (context) for an expression. More... | |
enum | Arageli::matrix_line_type { Arageli::mlt_solid, Arageli::mlt_dot, Arageli::mlt_hatch, Arageli::mlt_chain } |
Type of a line that used in matrix output functions with boxes and dividing lines. More... | |
Functions | |
template<typename Out, typename T> | |
void | Arageli::output_latex_verb (Out &out, const T &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
Verbativ output in LaTeX. | |
template<typename Out, typename T> | |
void | Arageli::output_latex (Out &out, const T &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
Outputs the object in LaTeX notation. Common case. | |
template<typename Out, typename T> | |
void | Arageli::output_latex_math (Out &out, const T &x, bool in_math=false, ex_environ_priority eep=eep_alone) |
Encloses the standard output of x in $ brackets. | |
template<typename Out, typename T> | |
void | Arageli::output_latex (Out &out, const rational< T > &x, bool in_math, ex_environ_priority eep, std::size_t minlensimple, bool externsign=true) |
Outputs a rational in LaTeX notation. | |
template<typename Out, typename T> | |
void | Arageli::output_latex (Out &out, const rational< T > &x, bool in_math, ex_environ_priority eep) |
template<typename Out, typename T> | |
void | Arageli::output_latex (Out &out, const rational< T > &x, bool in_math) |
template<typename Out, typename T> | |
void | Arageli::output_latex (Out &out, const rational< T > &x) |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const vector< T, REFCNT > &x, bool in_math, ex_environ_priority eep, bool hor, const char *first_bracket="(", const char *second_bracket=")", const char *delim=",") |
Outputs a vector in LaTeX notation. | |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const vector< T, REFCNT > &x, bool in_math, ex_environ_priority eep) |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const vector< T, REFCNT > &x, bool in_math) |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const vector< T, REFCNT > &x) |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const matrix< T, REFCNT > &x, bool in_math, ex_environ_priority eep, bool transposed, const char *first_bracket="(", const char *second_bracket=")") |
Outputs a matrix in LaTeX notation. | |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const matrix< T, REFCNT > &x) |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const matrix< T, REFCNT > &x, bool in_math) |
template<typename Out, typename T, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const matrix< T, REFCNT > &x, bool in_math, ex_environ_priority eep) |
template<typename Out, typename F, typename I> | |
void | Arageli::output_latex (Out &out, const monom< F, I > &x, bool in_math, ex_environ_priority eep, bool first, const char *var="x") |
Outputs a monom in LaTeX notation. | |
template<typename Out, typename F, typename I> | |
void | Arageli::output_latex (Out &out, const monom< F, I > &x, bool in_math, ex_environ_priority eep) |
template<typename Out, typename F, typename I> | |
void | Arageli::output_latex (Out &out, const monom< F, I > &x, bool in_math) |
template<typename Out, typename F, typename I> | |
void | Arageli::output_latex (Out &out, const monom< F, I > &x) |
template<typename Out, typename F, typename I, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const sparse_polynom< F, I, REFCNT > &x, bool in_math, ex_environ_priority eep, const char *var) |
Outputs a sparse_polynom in LaTeX notation. | |
template<typename Out, typename F, typename I, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const sparse_polynom< F, I, REFCNT > &x, bool in_math, ex_environ_priority eep) |
template<typename Out, typename F, typename I, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const sparse_polynom< F, I, REFCNT > &x, bool in_math) |
template<typename Out, typename F, typename I, bool REFCNT> | |
void | Arageli::output_latex (Out &out, const sparse_polynom< F, I, REFCNT > &x) |
template<typename T, bool REFCNT, typename Ch, typename ChT, typename In_hor, typename In_ver, typename In_box> | |
void | Arageli::output_latex_matrix_frames (std::basic_ostream< Ch, ChT > &out, const matrix< T, REFCNT > &x, const matrix_frames< In_hor, In_ver, In_box > &mf, bool in_math=false, bool transposed=false, const char *first_bracket="(", const char *second_bracket=")") |
Outputs a matrix in LaTeX notation with lines and boxes. |
Definition in file texout.hpp.
#define ARAGELI_INCLUDE_CPP_WITH_EXPORT_TEMPLATE_TEXOUT |
Definition at line 527 of file texout.hpp.
#define ARAGELI_TEXOUT_NUMBER | ( | TYPE | ) |
Value:
template <typename Out> \ inline void output_latex \ ( \ Out& out, \ const TYPE& x, \ bool in_math = false, \ ex_environ_priority eep = eep_alone \ ) \ { output_latex_math(out, x, in_math, eep); }
Definition at line 93 of file texout.hpp.