@@ -63,7 +63,7 @@ for ``t \\leq 0``. Hence the problem is discontinuous at ``t = 0`` for all ``u
6363
6464An analytical solution of this problem is provided for ``t \\ in (-\\ infty,10]``.
6565"""
66- prob_dde_1delay (u₀) = ConstantLagDDEProblem (f_1delay, t-> [0.0 ], [u₀], [ 1 ], (0.0 , 10.0 ))
66+ prob_dde_1delay (u₀) = DDEProblem (f_1delay, t-> [0.0 ], [u₀], (0.0 , 10.0 ), [ 1 ] )
6767
6868# ## Not in-place function
6969
@@ -83,7 +83,7 @@ Same as [`prob_dde_1delay`](@ref), but purposefully implemented with a not in-pl
8383function.
8484"""
8585prob_dde_1delay_notinplace (u₀) =
86- ConstantLagDDEProblem (f_1delay_notinplace, t-> [0.0 ], [u₀], [ 1 ], (0.0 , 10.0 ))
86+ DDEProblem (f_1delay_notinplace, t-> [0.0 ], [u₀], (0.0 , 10.0 ), [ 1 ] )
8787
8888# ### Scalar history function
8989
@@ -94,7 +94,7 @@ Same as [`prob_dde_1delay_notinplace`](@ref), but purposefully implemented with
9494history function.
9595"""
9696prob_dde_1delay_scalar_notinplace (u₀) =
97- ConstantLagDDEProblem (f_1delay_notinplace, t-> 0.0 , u₀, [ 1 ], (0.0 , 10.0 ))
97+ DDEProblem (f_1delay_notinplace, t-> 0.0 , u₀, (0.0 , 10.0 ), [ 1 ] )
9898
9999# # Two constant delays
100100
@@ -157,7 +157,7 @@ for ``t \\leq 0``. Hence the problem is discontinuous at ``t = 0`` for all ``u
157157
158158An analytical solution of this problem is provided for ``t \\ in (-\\ infty,1]``.
159159"""
160- prob_dde_2delays (u₀) = ConstantLagDDEProblem (f_2delays, t-> [0.0 ], [u₀], [1 // 3 , 1 // 5 ],( 0.0 , 1.0 ) )
160+ prob_dde_2delays (u₀) = DDEProblem (f_2delays, t-> [0.0 ], [u₀], ( 0.0 , 1.0 ), [1 // 3 , 1 // 5 ])
161161
162162# ## Not in-place function
163163
@@ -177,7 +177,7 @@ Same as [`prob_dde_2delays`](@ref), but purposefully implemented with a not in-p
177177function.
178178"""
179179prob_dde_2delays_notinplace (u₀) =
180- ConstantLagDDEProblem (f_2delays_notinplace, t-> [0.0 ], [u₀], [1 // 3 , 1 // 5 ], ( 0.0 , 1.0 ) )
180+ DDEProblem (f_2delays_notinplace, t-> [0.0 ], [u₀], ( 0.0 , 1.0 ), [1 // 3 , 1 // 5 ])
181181
182182# ### Scalar history function
183183
@@ -188,7 +188,7 @@ Same as [`prob_dde_2delays_notinplace`](@ref), but purposefully implemented with
188188history function.
189189"""
190190prob_dde_2delays_scalar_notinplace (u₀) =
191- ConstantLagDDEProblem (f_2delays_notinplace, t-> 0.0 , u₀, [1 // 3 , 1 // 5 ], ( 0.0 , 1.0 ) )
191+ DDEProblem (f_2delays_notinplace, t-> 0.0 , u₀, ( 0.0 , 1.0 ), [1 // 3 , 1 // 5 ])
192192
193193# DDE examples without analytical solution
194194
@@ -219,8 +219,8 @@ u(t) = \\begin{cases}
219219
220220for ``t \\ leq 0``. Hence the problem is discontinuous at ``t = 0``.
221221"""
222- prob_dde_1delay_long = ConstantLagDDEProblem (f_1delay_long, t-> [0.0 ], [1.0 ], [ 0.2 ],
223- (0.0 , 100.0 ))
222+ prob_dde_1delay_long = DDEProblem (f_1delay_long, t-> [0.0 ], [1.0 ],
223+ (0.0 , 100.0 ),[ 0.2 ] )
224224
225225# ## Not in-place function
226226
@@ -233,14 +233,14 @@ Same as [`prob_dde_1delay_long`](@ref), but purposefully implemented with a not
233233function.
234234"""
235235prob_dde_1delay_long_notinplace =
236- ConstantLagDDEProblem (f_1delay_long_notinplace, t-> [0.0 ], [1.0 ], [ 0.2 ], (0.0 , 100.0 ))
236+ DDEProblem (f_1delay_long_notinplace, t-> [0.0 ], [1.0 ], (0.0 , 100.0 ), [ 0.2 ] )
237237
238238"""
239239Same as [`prob_dde_1delay_long_notinplace`](@ref), but purposefully implemented with a
240240scalar history function.
241241"""
242242prob_dde_1delay_long_scalar_notinplace =
243- ConstantLagDDEProblem (f_1delay_long_notinplace, t-> 0.0 , 1.0 , [ 0.2 ], (0.0 , 100.0 ))
243+ DDEProblem (f_1delay_long_notinplace, t-> 0.0 , 1.0 , (0.0 , 100.0 ), [ 0.2 ] )
244244
245245# # Two constant delays
246246
@@ -269,8 +269,8 @@ u(t) = \\begin{cases}
269269
270270for ``t < 0``. Hence the problem is discontinuous at ``t = 0``.
271271"""
272- prob_dde_2delays_long = ConstantLagDDEProblem (f_2delays_long, t-> [0.0 ], [1.0 ], [ 1 // 3 , 1 // 5 ],
273- (0.0 , 100.0 ))
272+ prob_dde_2delays_long = DDEProblem (f_2delays_long, t-> [0.0 ], [1.0 ],
273+ (0.0 , 100.0 ), [ 1 // 3 , 1 // 5 ] )
274274
275275# ## Not in-place function
276276
@@ -285,8 +285,8 @@ Same as [`prob_dde_2delays_long`](@ref), but purposefully implemented with a not
285285function.
286286"""
287287prob_dde_2delays_long_notinplace =
288- ConstantLagDDEProblem (f_2delays_long_notinplace, t-> [0.0 ], [1.0 ], [ 1 // 3 , 1 // 5 ],
289- (0.0 , 100.0 ))
288+ DDEProblem (f_2delays_long_notinplace, t-> [0.0 ], [1.0 ],
289+ (0.0 , 100.0 ), [ 1 // 3 , 1 // 5 ] )
290290
291291# ### Scalar history function
292292
@@ -295,5 +295,5 @@ Same as [`prob_dde_2delays_long_notinplace`](@ref), but purposefully implemented
295295history function.
296296"""
297297prob_dde_2delays_long_scalar_notinplace =
298- ConstantLagDDEProblem (f_2delays_long_notinplace, t-> 0.0 , 1.0 , [ 1 // 3 , 1 // 5 ] ,
299- (0.0 , 100.0 ))
298+ DDEProblem (f_2delays_long_notinplace, t-> 0.0 , 1.0 ,
299+ (0.0 , 100.0 ), [ 1 // 3 , 1 // 5 ] )
0 commit comments