Exemplo n.º 1
0
        /// <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;
            }
        }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <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;
 }