public ScalarField2D(Func <double, double, double> d_fxy, LinearSpace d_x, LinearSpace d_y) { fxy = d_fxy; x = d_x; y = d_y; field = new double[x.N, y.N]; this.Fill(); }
public ComplexLinearSpace(int dimMag, int dimPhase, bool degNOTRAD = true) { this.Mag = new Microwave.LinearSpace(0, 1.0, dimMag); if (degNOTRAD) { this.Phase = new Microwave.LinearSpace(0, 360.0, dimPhase); } else { this.Phase = new Microwave.LinearSpace(0, 2 * Math.PI, dimPhase); } }
public XY(double[] d_x, double[] d_y) { this.x = new Microwave.LinearSpace(d_x[0], d_x[d_x.Length - 1] + (d_x[1] - d_x[0]), d_x.Length); this.y = d_y; this.N = d_y.Length; }
public XY(LinearSpace d_x) { this.x = d_x; this.y = new double[d_x.N]; this.N = d_x.N; }
public XY(LinearSpace d_x, double[] d_y) { this.x = d_x; this.y = d_y; this.N = d_x.N; }
public ComplexLinearSpace(LinearSpace d_Mag, LinearSpace d_Phase) { this.Mag = d_Mag; this.Phase = d_Phase; }
public ComplexLinearSpace() { this.Mag = new Microwave.LinearSpace(0, 1.0, (int)100); this.Phase = new Microwave.LinearSpace(0, 360.0, (int)100); }