Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NumericMatrixFactor" /> class.
 /// </summary>
 /// <param name="matrix">The items.</param>
 /// <param name="exponent">The exponent.</param>
 /// <param name="sequence">The sequence.</param>
 public NumericMatrixFactor(NumericMatrixFactor matrix, IExpression?exponent = null, INumeric?sequence = null)
     : this(matrix.Group, matrix.GroupingStyle, matrix.Items, exponent ?? matrix.Exponent, sequence ?? matrix.Sequence, matrix.Editable)
 {
 }
Exemplo n.º 2
0
        ///// <summary>
        ///// True if we should make rows/columns have the same sizes.
        ///// </summary>
        //private readonly bool UniformRowSize;

        ///// <summary>
        ///// True if we should make rows/columns have the same sizes.
        ///// </summary>
        //private readonly bool UniformColSize;
        #endregion

        #region Constructors
        /// <summary>
        /// Initializes a new instance of the <see cref="NumericMatrixFactor" /> class.
        /// </summary>
        /// <param name="matrix">The items.</param>
        /// <param name="exponent">The exponent.</param>
        /// <param name="sequence">The sequence.</param>
        public NumericMatrixFactor(NumericMatrixFactor matrix, double?exponent = null, double?sequence = null)
            : this(matrix.Group, matrix.GroupingStyle, matrix.Items, exponent is null ? matrix.Exponent : new NumericFactor(exponent.Value), sequence is null ? matrix.Sequence : new NumericFactor(sequence.Value), matrix.Editable)
        {
        }