WPILibC++ 2027.0.0-alpha-5
Loading...
Searching...
No Matches
all_finite.hpp File Reference
#include <cmath>
#include <Eigen/SparseCore>

Go to the source code of this file.

Functions

template<typename Derived>
bool all_finite (const Eigen::SparseCompressedBase< Derived > &mat)
 Returns true if elements of sparse matrix are all finite.

Function Documentation

◆ all_finite()

template<typename Derived>
bool all_finite ( const Eigen::SparseCompressedBase< Derived > & mat)

Returns true if elements of sparse matrix are all finite.

Parameters
matSparse matrix.
Returns
True if elements of sparse matrix are all finite.