#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.
|
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.
|
|