using System; namespace Science.Mathematics.OrdinaryDifferentialEquation { /// /// BoundaryCondition /// public class BoundaryCondition { private double x1, x2; private Function.ToLastType l; private Function.ToLastType s; public BoundaryCondition() { } public BoundaryCondition(double start, Function.ToLastType load, double end, Function.ToLastType score) { x1 = start; l = load; x2 = end; s = score; } public double Start { get{return x1;} set{x1=value;} } public double End { get{return x2;} set{x2=value;} } public Function.ToLastType Load { get { return l; } set {l = value;} } public Function.ToLastType Score { get { return s; } set {s = value;} } } }