Merging changes

This commit is contained in:
Taha committed 2023-09-04 16:25:40 -04:00
1 parent c4216d2272
commit 797816be7e
437 files changed
+54228 -28

No files matched your search

@@ -0,0 +1,57 @@
// // // using System;
// // // namespace BCG
// // // {
// // // public class KeyBasedAddStream : KeyBasedMathStream
// // // {
// // // public KeyBasedAddStream(ViewStream vs1, ViewStream vs2, string keyCol, string colToAdd)
// // // : base(vs1, vs2, keyCol, colToAdd, (d1, d2) => { return d1 + d2; }) { }
// // // }
// // // public class KeyBasedSubtractStream : KeyBasedMathStream
// // // {
// // // public KeyBasedSubtractStream(ViewStream vs1, ViewStream vs2, string keyCol, string colToSubtract)
// // // : base(vs1, vs2, keyCol, colToSubtract, (d1, d2) => { return d1 - d2; }) { }
// // // }
// // // public class KeyBasedMultiplyStream : KeyBasedMathStream
// // // {
// // // public KeyBasedMultiplyStream(ViewStream vs1, ViewStream vs2, string keyCol, string colToMultiply)
// // // : base(vs1, vs2, keyCol, colToMultiply, (d1, d2) => { return d1 * d2; }) { }
// // // }
// // // public class KeyBasedDivideStream : KeyBasedMathStream
// // // {
// // // public KeyBasedDivideStream(ViewStream vs1, ViewStream vs2, string keyCol, string colToDivide)
// // // : base(vs1, vs2, keyCol, colToDivide, (d1, d2) => { return d1 / d2; }) { }
// // // }
// // // public abstract class KeyBasedMathStream : ViewStream
// // // {
// // // public KeyBasedMathStream(ViewStream first, ViewStream second, string keyColName, string valueColumn, Func<double, double, double> math)
// // // {
// // // ViewStream j;
// // // ViewStream m;
// // // string lValueTempName = "keysbasedmathtempleft"+valueColumn;
// // // string rValueTempName = "keysbasedmathtempright"+valueColumn;
// // // j = new JoinStream (first,
// // // keyColName,
// // // string.Format("!{0}:{1} {2} id", valueColumn, lValueTempName, keyColName),
// // // second,
// // // keyColName,
// // // string.Format("!{0}:{1} id", valueColumn, rValueTempName));
// // // m = new MathStream (j,
// // // string.Format("{0} = {1} - {2}", valueColumn, lValueTempName, rValueTempName));
// // // m = new ProjectStream(m, string.Format("!{0} {1}", lValueTempName, rValueTempName));
// // // mySetRealSource(m);
// // // }
// // // }
// // // }