public void VisitReference(ReferenceTo refTo) { throw new NotSupportedException("Global variables cannot be references."); }
public void VisitReference(ReferenceTo refTo) { throw new NotImplementedException(); }
public bool VisitReference(ReferenceTo refTo) { return(Find(refTo.Referent)); }
public int VisitReference(ReferenceTo ptr) { throw new NotImplementedException(); }
public Expression VisitReference(ReferenceTo refTo) { return(refTo.Referent.Accept(this)); }
public string VisitReference(ReferenceTo refTo) { return(DefaultPrefix); }
public DataType VisitReference(ReferenceTo refTo) { refTo.Referent = refTo.Referent.Accept(this); return(refTo); }
public IEnumerable <WorkItem> VisitReference(ReferenceTo refTo) { throw new NotImplementedException(); }
public Expression VisitReference(ReferenceTo refTo) { throw new NotImplementedException(); }
void ReferenceTo(ReferenceTo r) { WriteSpace(); fmt.Write('&'); TypeQualifierList(r); }
public SerializedType VisitReference(ReferenceTo refTo) { throw new NotImplementedException(); }
private double[] LevelProfileData(ReferenceTo mode) { double[] leveledData = new double[rawData.Length]; // calculate mode dependend parameters switch (mode) { case ReferenceTo.None: break; case ReferenceTo.First: intercept = FirstValue; break; case ReferenceTo.Last: intercept = LastValue; break; case ReferenceTo.Center: intercept = CenterValue; break; case ReferenceTo.Minimum: intercept = MinimumValue; break; case ReferenceTo.Maximum: intercept = MaximumValue; break; case ReferenceTo.Average: intercept = AverageValue; break; case ReferenceTo.Central: intercept = CentralValue; break; case ReferenceTo.Bias: intercept = BiasValue; break; case ReferenceTo.Line: case ReferenceTo.LinePositive: intercept = FirstValue; slopeX = (LastValue - FirstValue) / (rawData.Length - 1); break; case ReferenceTo.Lsq: case ReferenceTo.LsqPositive: FitLsqLine(); break; } // now level the data for (int i = 0; i < rawData.Length; i++) { leveledData[i] = sign * (rawData[i] - (intercept + (slopeX * (double)i))); } // check if positive values were asked for if (mode == ReferenceTo.LinePositive || mode == ReferenceTo.LsqPositive) { double min = leveledData.Min(); for (int i = 0; i < leveledData.Length; i++) { leveledData[i] = leveledData[i] - min; } } return(leveledData); }
void ReferenceTo(ReferenceTo r) { WriteSpace(); Formatter.Write('&'); TypeQualifierList(r); }