Template Function MatrixTools::isLaplacian

Function Documentation

template<typename Matrix>
bool MatrixTools::isLaplacian(const Matrix &matrix)

Checks if matrix is a Laplacian matrix.

Parameters:

matrix

Returns:

True if matrix is a Laplacian matrix, false otherwise.