internal ColView(Matrix <TRowKey, TColKey, TValue> matrix, TColKey colKey) { if (!matrix.ContainsColKey(colKey)) { throw new IndexOutOfRangeException(string.Format("{0} is not a col key in the matrix", colKey)); } _matrix = matrix; _colKey = colKey; }
public bool ContainsKey(TColKey colKey) { return(_matrix.ContainsColKey(colKey) && !_matrix.IsMissing(_rowKey, colKey)); }