---------------------------------------------------------------------------------------- initialize
| 62 | //---------------------------------------------------------------------------------------- |
| 63 | // initialize |
| 64 | bool CSparseMatrix::initialize(unsigned int _iHeight, unsigned int _iWidth, |
| 65 | unsigned long _lSize) |
| 66 | { |
| 67 | m_iHeight = _iHeight; |
| 68 | m_iWidth = _iWidth; |
| 69 | m_lSize = _lSize; |
| 70 | |
| 71 | m_pfValues = new float32[_lSize]; |
| 72 | m_piColIndices = new unsigned int[_lSize]; |
| 73 | m_plRowStarts = new unsigned long[_iHeight+1]; |
| 74 | m_bInitialized = true; |
| 75 | |
| 76 | return m_bInitialized; |
| 77 | } |
| 78 | |
| 79 | |
| 80 | std::string CSparseMatrix::description() const |
nothing calls this directly
no outgoing calls
no test coverage detected