Loading [MathJax]/extensions/tex2jax.js
WPILibC++ 2025.3.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
Spy.hpp File Reference
#include <fstream>
#include <string>
#include <string_view>
#include <Eigen/SparseCore>
#include <wpi/SmallVector.h>
#include "sleipnir/util/SymbolExports.hpp"

Go to the source code of this file.

Namespaces

namespace  sleipnir
 

Functions

SLEIPNIR_DLLEXPORT void sleipnir::Spy (std::ostream &file, const Eigen::SparseMatrix< double > &mat)
 Write the sparsity pattern of a sparse matrix to a file.
 
SLEIPNIR_DLLEXPORT void sleipnir::Spy (std::string_view filename, const Eigen::SparseMatrix< double > &mat)
 Write the sparsity pattern of a sparse matrix to a file.