/// <summary> /// Initializes a new instance of the <see cref="RowElimOperNode"/> class. /// </summary> /// <param name="function">The method for the row elimination.</param> public RowElimOperNode(string function) { switch (function) { case "ref": _elimMethod = RowElimMethod.Gauss; break; case "rref": _elimMethod = RowElimMethod.GaussJordan; break; } }
/// <summary> /// Initializes a new instance of the <see cref="RowElimOperNode"/> class as a clone of <paramref name="node"/>. /// </summary> /// <param name="node">The <see cref="RowElimOperNode"/> to clone.</param> public RowElimOperNode(RowElimOperNode node) : base(node) { _elimMethod = node._elimMethod; }
/// <summary> /// Initializes a new instance of the <see cref="RowElimOperNode"/> class. /// </summary> /// <param name="rowElim">The method for the row elimination.</param> public RowElimOperNode(RowElimMethod rowElim) { _elimMethod = rowElim; }