public ConstantsSet(ConstantsSet constantsSet) { _integers = new ConstantsTable <Int64>(constantsSet.Integers); _doubles = new ConstantsTable <decimal>(constantsSet.Doubles); _normalDistribution = (INormalDistribution)constantsSet.NormalDistribution.Clone(); }
public ConstantsSet Merge(ConstantsSet constants, out IList <int> integerRhs2MergedMapping, out IList <int> doubleRhs2MergedMapping) { return(new ConstantsSet(Integers.Merge(constants.Integers, out integerRhs2MergedMapping), Doubles.Merge(constants.Doubles, out doubleRhs2MergedMapping), NormalDistribution)); }