public float GetValue(int row, int col) { if (row >= GetRows() || col >= GetCols()) { Debug.Log("Getting out of bounds at [" + row + ", " + col + "]."); return(0f); } return(Eigen.GetValue(Ptr, row, col)); }
public float GetValue(int row, int col) { if (row >= GetRows() || col >= GetCols()) { Debug.Log("Accessing out of bounds."); return(0f); } return(Eigen.GetValue(Ptr, row, col)); }