public MergeDataSeriesOperation(double first, DataSeriesExpression second, OperationType operation) : this(new ValueOperation(first), second, operation) { }
public MergeDataSeriesOperation(DataSeriesExpression first, double second, OperationType operation) : this(first, new ValueOperation(second), operation) { }
public static FunctionExpression Sum(DataSeriesExpression operation) { return(new AggregateFunction(operation, (double newValue, double aggregated) => newValue + aggregated)); }
public MergeDataSeriesOperation(DataSeriesExpression first, DataSeriesExpression second, OperationType operation) { this.first = first; this.second = second; this.operation = operation; }
public static FunctionExpression Min(DataSeriesExpression operation) { return(new AggregateFunction(operation, (double newValue, double aggregated) => newValue < aggregated ? newValue : aggregated, double.MaxValue)); }