public IConstantsTable <T> Merge(IConstantsTable <T> rhs, out IList <int> rhs2MergedMapping) { IList <T> merged; Merge(_constants, rhs.Constants, out merged, out rhs2MergedMapping); return(new ConstantsTable <T>(merged)); }
public ConstantsSet(ConstantsSet constantsSet) { _integers = new ConstantsTable <Int64>(constantsSet.Integers); _doubles = new ConstantsTable <decimal>(constantsSet.Doubles); _normalDistribution = (INormalDistribution)constantsSet.NormalDistribution.Clone(); }
public ConstantsSet(IConstantsTable <Int64> integers, IConstantsTable <decimal> doubles, INormalDistribution normalDistribution) { _integers = integers; _doubles = doubles; _normalDistribution = normalDistribution; }
public ConstantsSet(INormalDistribution normalDistribution) { _integers = new ConstantsTable <Int64>(); _doubles = new ConstantsTable <decimal>(); _normalDistribution = normalDistribution; }
public ConstantsTable(IConstantsTable <T> constants) { _constants = new List <T>(constants.Constants); }