Example #1
0
 public void SetValue(int row, int col, float value)
 {
     if (row >= GetRows() || col >= GetCols())
     {
         Debug.Log("Setting out of bounds at [" + row + ", " + col + "].");
         return;
     }
     Eigen.SetValue(Ptr, row, col, value);
 }
 public void SetValue(int row, int col, float value)
 {
     if (row >= GetRows() || col >= GetCols())
     {
         Debug.Log("Accessing out of bounds.");
         return;
     }
     Eigen.SetValue(Ptr, row, col, value);
 }