Displaying 7 results from an estimated 7 matches for "su3".
Did you mean:
su
2010 Mar 05
0
MGCP FXO endpoint
...get an extension call a telephone number through that fxo
endpoint.
Since with zaptel channels it is done like:
exten => 0999,1,Dial(DAHDI/2-1/111) --> being 111 the phone number I
want to call.
I thought that for mgcp it would be the same, and I did:
exten => 5200,1,Dial(MGCP/aaln/S0/SU3/0 at ARMARIO11/111)
aaln/S0/SU3/0 --> is an endpoint at ARMARIO11
The problem is that asterisk detects try to find host ARMARIO11/111
instead of calling number 111 in that FXO port.
Here is the debug:
-- Executing [5200 at internal:1]
Dial("MGCP/aaln/S0/SU2/0 at Ignacio-1",
&qu...
2017 Sep 02
2
Strange lazy evaluation of default arguments
Another way to avoid the problem is to not redefine variables that are
arguments. E.g.,
> Su3 <- function(u=100, l=u, mu=0.53, sigma2=4.3^2, verbose)
{
if (verbose) {
print(c(u, l, mu))
}
uNormalized <- u/sqrt(sigma2)
lNormalized <- l/sqrt(sigma2)
muNormalized <- mu/sqrt(sigma2)
c(uNormalized, lNormalized, muNormalized)
}
> Su3(verbose=TRUE)...
2017 Sep 02
0
Strange lazy evaluation of default arguments
...ards,
Matthias
Von: William Dunlap
Gesendet: Samstag, 2. September 2017 19:41
An: Rui Barradas
Cc: Matthias Gondan; r-help at r-project.org
Betreff: Re: [R] Strange lazy evaluation of default arguments
Another way to avoid the problem is to not redefine variables that are arguments.? E.g.,
> Su3 <- function(u=100, l=u, mu=0.53, sigma2=4.3^2, verbose)
? {
? ? if (verbose) {
? ? ? print(c(u, l, mu))
? ? }
? ? uNormalized <- u/sqrt(sigma2)
? ? lNormalized <- l/sqrt(sigma2)
? ? muNormalized <- mu/sqrt(sigma2)
? ? c(uNormalized, lNormalized, muNormalized)
? }
> Su3(verbose=TRUE)...
2017 Sep 02
0
Strange lazy evaluation of default arguments
Hello,
One way of preventing that is to use ?force.
Just put
force(l)
right after the commented out print and before you change 'u'.
Hope this helps,
Rui Barradas
Citando Matthias Gondan <matthias-gondan at gmx.de>:
> Dear R developers,
>
> sessionInfo() below
>
> Please have a look at the following two versions of the same function:
>
> 1. Intended
2017 Sep 02
6
Strange lazy evaluation of default arguments
Dear R developers,
sessionInfo() below
Please have a look at the following two versions of the same function:
1. Intended behavior:
> Su1 = function(u=100, l=u, mu=0.53, sigma2=4.3^2)
+ {
+ print(c(u, l, mu)) # here, l is set to u?s value
+ u = u/sqrt(sigma2)
+ l = l/sqrt(sigma2)
+ mu = mu/sqrt(sigma2)
+ print(c(u, l, mu))
+ }
>
> Su1()
[1] 100.00 100.00 0.53
[1]
2002 Oct 30
1
Crontab ??
**********************************************************************
Este email assim como os ficheiros que possa ter em anexo s?o confidenciais
e para uso exclusivo da pessoa ou organiza??o para o qual foi enviado.
Se recebeu este email por engano por favor notifique Redes@bnc.pt
Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
n?o tendo sido encontrados virus.
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...qc%r^nsmH*oNUG1Xi!)~!ve+8aK6gZ}c7nL=Fa!DBRM8z3-GWFv`
z67>L-3IKGruQI_~iVXGEa*tf~OXmF{15S|V`6#N!4Em9QVz<Tg^2PKVfwU?>2!%}u
z1%@P0^~;~bj?rrsL)cMdXl^e+Z+jKx&o-FvCZ_#fLCvc7hiqgwiIx7=^wN)5E0KP7
z48XlPK-=%3+~)%awozZri;HxQ@@bJ&m`<HttNfiQB(K|2hf5vlTuV&_mL^B4f8Wd*
z?)l1KTE=lXY1?6KVLuO;dSU3F2-_5-?mG-ED3ok|*mrwTVSDa)BVdQ!dU}4vDB_6G
zmO0BD%oi7~v{@;Q9y?m0zH8jCM!;z&!b9VUvT65djg8Rr<X^ZS>`kWNtQs)+7ufU9
z?;7u^Q-$m7ydu!M9>7=&%bCnkx4dGv+!tKY7fgXElcDz-zr_dNQY!_}2nuuo6fA&N
zm_`OMfFv5CwReaLB8PrC?r2$`3E;g)**t|vzqgQek-go$_X}No-?*3Hh-am5)X>+!
zi27smGR{j at M=zDHuve8HeO`0<_...