Example #1
0
 public void Dispose()
 {
     if (m_id >= 0)
     {
         LSqrDll.DeleteMatrix(m_id);
         m_id = -1;
     }
 }
Example #2
0
 public void InsertValue(int idx, double val)
 {
     LSqrDll.InsertValue(m_id, idx, val);
 }
Example #3
0
 public void NewRow()
 {
     LSqrDll.NewRow(m_id);
 }
Example #4
0
 public LSqrSparseMatrix()
 {
     m_id = LSqrDll.NewMatrix();
 }