numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
format_sparse_matrix.h File Reference

Definition of format_sparse_matrix function. More...

#include <cstdint>
#include <Eigen/Core>
#include <Eigen/SparseCore>
#include <fmt/base.h>
#include "num_collect/base/concepts/sparse_matrix.h"
#include "num_collect/base/exception.h"
#include "num_collect/logging/logging_macros.h"
+ Include dependency graph for format_sparse_matrix.h:

Go to the source code of this file.

Classes

struct  fmt::formatter< num_collect::util::impl::sparse_matrix_format_view< Matrix > >
 fmt::formatter for num_collect::util::impl::sparse_matrix_format_view. More...
 
class  num_collect::util::impl::sparse_matrix_format_view< Matrix >
 Class of expressions to format sparse matrices. More...
 

Namespaces

namespace  fmt
 Namespace of fmt library.
 
namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::util
 Namespace of utilities.
 
namespace  num_collect::util::impl
 Namespace of internal implementations.
 

Enumerations

enum class  num_collect::util::sparse_matrix_format_type : std::uint8_t { num_collect::util::one_line , num_collect::util::multi_line }
 Enumeration of matrix format types. More...
 

Functions

template<base::concepts::sparse_matrix Matrix>
auto num_collect::util::format_sparse_matrix (const Matrix &mat, sparse_matrix_format_type type=sparse_matrix_format_type::one_line)
 Format a sparse matrix.
 

Detailed Description

Definition of format_sparse_matrix function.

Definition in file format_sparse_matrix.h.