Implementation of the CSparseMatrix class. More...
#include "SparseMatrix.h"
#include "Matlab.h"
#include <assert.h>
#include <math.h>
Go to the source code of this file.
Functions | |
bool | isZero (double x) |
bool | Predicate (const _Entry &d1, const _Entry &d2) |
Implementation of the CSparseMatrix class.
Definition in file SparseMatrix.cpp.
bool isZero | ( | double | x | ) | [inline] |
Verify if x is close to zero
x | input value |
Definition at line 24 of file SparseMatrix.cpp.
{
return (fabs(x) < 1e-9);
}