/// <summary> /// Transforms the indices from internal to external indices. /// </summary> /// <remarks> /// Opposite of <see cref="ExternalToInternal(LinearSystemIndices)"/>. /// </remarks> /// <param name="indices">The row/column indices.</param> public void InternalToExternal(LinearSystemIndices indices) { indices.Row = Row.Reverse(indices.Row); indices.Column = Column.Reverse(indices.Column); }
/// <summary> /// Transforms the indices from external to internal indices. /// </summary> /// <remarks> /// Opposite of <see cref="InternalToExternal(LinearSystemIndices)"/>. /// </remarks> /// <param name="indices">The row/column indices.</param> public void ExternalToInternal(LinearSystemIndices indices) { indices.Row = Row[indices.Row]; indices.Column = Column[indices.Column]; }