libigl v2.5.0
Loading...
Searching...
No Matches
isdiag.h File Reference
#include "igl_inline.h"
#include <Eigen/Sparse>
#include "isdiag.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Derived >
bool igl::isdiag (const Eigen::SparseCompressedBase< Derived > &A)
 Determine if a given matrix is diagonal: all non-zeros lie on the main diagonal.