GiNaC  1.8.0
Namespaces | Functions
matrix.cpp File Reference

Implementation of symbolic matrices. More...

#include "matrix.h"
#include "numeric.h"
#include "lst.h"
#include "idx.h"
#include "indexed.h"
#include "add.h"
#include "power.h"
#include "symbol.h"
#include "operators.h"
#include "normal.h"
#include "archive.h"
#include "utils.h"
#include <algorithm>
#include <iostream>
#include <map>
#include <sstream>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

 GiNaC
 

Functions

 GiNaC::GINAC_IMPLEMENT_REGISTERED_CLASS_OPT (matrix, basic, print_func< print_context >(&matrix::do_print). print_func< print_latex >(&matrix::do_print_latex). print_func< print_tree >(&matrix::do_print_tree). print_func< print_python_repr >(&matrix::do_print_python_repr)) matrix
 Default ctor. More...
 
 GiNaC::GINAC_BIND_UNARCHIVER (matrix)
 
ex GiNaC::lst_to_matrix (const lst &l)
 Convert list of lists to matrix. More...
 
ex GiNaC::diag_matrix (const lst &l)
 Convert list of diagonal elements to matrix. More...
 
ex GiNaC::diag_matrix (std::initializer_list< ex > l)
 
ex GiNaC::unit_matrix (unsigned r, unsigned c)
 Create an r times c unit matrix. More...
 
ex GiNaC::symbolic_matrix (unsigned r, unsigned c, const std::string &base_name, const std::string &tex_base_name)
 Create an r times c matrix of newly generated symbols consisting of the given base name plus the numeric row/column position of each element. More...
 
ex GiNaC::reduced_matrix (const matrix &m, unsigned r, unsigned c)
 Return the reduced matrix that is formed by deleting the rth row and cth column of matrix m. More...
 
ex GiNaC::sub_matrix (const matrix &m, unsigned r, unsigned nr, unsigned c, unsigned nc)
 Return the nr times nc submatrix starting at position r, c of matrix m. More...
 

Detailed Description

Implementation of symbolic matrices.

Definition in file matrix.cpp.


This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.