예제 #1
0
 /// <inheritdoc/>
 public Element <T> FindElement(MatrixLocation location) => Matrix.FindElement(ExternalToInternal(location));
예제 #2
0
 /// <inheritdoc/>
 public bool RemoveElement(MatrixLocation location)
 {
     location = ExternalToInternal(location);
     return(Matrix.RemoveElement(location));
 }
 /// <inheritdoc/>
 public T this[MatrixLocation location]
 {
     get => _parent.Matrix[location];
 /// <summary>
 /// Initializes a new instance of the <see cref="Element"/> class.
 /// </summary>
 /// <param name="location">The location of the element.</param>
 public Element(MatrixLocation location)
 {
     Value  = default;
     Row    = location.Row;
     Column = location.Column;
 }