WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
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.