<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
debugutils.hpp File Reference
#include <complex>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include "tlapack/base/utils.hpp"
Include dependency graph for debugutils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<TLAPACK_MATRIX matrix_t>
void tlapack::print_matrix (const matrix_t &A)
 Prints a matrix a to std::out.
 
template<TLAPACK_MATRIX matrix_t>
std::string tlapack::visualize_matrix (const matrix_t &A)
 Constructs a json string representing the matrix for use with vscode-debug-visualizer.
 
template<TLAPACK_MATRIX matrix_t>
std::string tlapack::visualize_matrix_table (const matrix_t &A)
 Constructs a json string representing the matrix for use with vscode-debug-visualizer.
 
template<TLAPACK_MATRIX matrix_t>
std::string tlapack::visualize_matrix_text (const matrix_t &A)
 Constructs a json string representing the matrix for use with vscode-debug-visualizer.
 

Detailed Description

Author
Thijs Steel, KU Leuven, Belgium

Function Documentation

◆ print_matrix()

template<TLAPACK_MATRIX matrix_t>
void tlapack::print_matrix ( const matrix_t A)

Prints a matrix a to std::out.

Parameters
Am by n matrix

◆ visualize_matrix()

template<TLAPACK_MATRIX matrix_t>
std::string tlapack::visualize_matrix ( const matrix_t A)

Constructs a json string representing the matrix for use with vscode-debug-visualizer.

Returns
String containing JSON representation of A
Parameters
Am by n matrix

◆ visualize_matrix_table()

template<TLAPACK_MATRIX matrix_t>
std::string tlapack::visualize_matrix_table ( const matrix_t A)

Constructs a json string representing the matrix for use with vscode-debug-visualizer.

Returns
String containing JSON representation of A
Parameters
Am by n matrix

◆ visualize_matrix_text()

template<TLAPACK_MATRIX matrix_t>
std::string tlapack::visualize_matrix_text ( const matrix_t A)

Constructs a json string representing the matrix for use with vscode-debug-visualizer.

Returns
String containing JSON representation of A
Parameters
Am by n matrix