search for: setpar

Displaying 20 results from an estimated 38 matches for "setpar".

Did you mean: setcar
2006 Jan 08
1
confint/nls
...ns <- getRHS.noVarying() *************** *** 331,337 **** else { vary }, envir = thisEnv) ! gradCall[[length(gradCall)]] <<- useParams if(all(useParams)) { assign("setPars", setPars.noVarying, envir = thisEnv) assign("getPars", getPars.noVarying, envir = thisEnv) --- 331,337 ---- else { vary }, envir = thisEnv) ! gradCall[[length(gradCall)-1]] &lt...
2011 Oct 31
1
Question about copying reference objects using the initialize method
...method is to use the minimum information to build the oject. So passing a long list of arguments is not a good idea. 4) Another option is to first build the object and then set the parameters myClass = setRefClass("myClass", fields = list(value = "numeric") ) myClass$methods(setPar = function(extValue = 1, ...){ value <<- extValue return() }) newObject = myClass$new() newObject$setPar(extValue = 2) copyObject = newObject$copy() It works fine. Anyway I am curious to know if there is any way to use the initialize method with arguments that is not a problem with...
2010 Aug 13
2
Unable to retrieve residual sum of squares from nls output
...> ..$ formula :function () > ..$ deviance :function () > ..$ lhs :function () > ..$ gradient :function () > ..$ conv :function () > ..$ incr :function () > ..$ setVarying:function (vary = rep(TRUE, length(useParams))) > ..$ setPars :function (newPars) > ..$ getPars :function () > ..$ getAllPars:function () > ..$ getEnv :function () > ..$ trace :function () > ..$ Rmat :function () > ..$ predict :function (newdata = list(), qr = FALSE) > ..- attr(*, "class...
2010 Jun 14
1
[LLVMdev] Block management
...r" but these methods are not usable in this context... > > You can use Function::getBasicBlockList(). That list supports fully general list operations like "insert", so you can just plop it in wherever you'd like it. methods like the basic block constructor or BasicBlock::setParent muck around with the LeakDetector. I don't know what the LeakDetector is - does Stéphane need to do something like this too? Ciao, Duncan.
2005 May 31
2
[LLVMdev] setting instruction parents
When one moves an instruction from one BasicBlock to another, the instruction continues to believe that its parent is the original BasicBlock. This is very undesirable. Is there a way to set the parent or a way to move the instruction such that the parent is updated correctly?
2005 May 31
0
[LLVMdev] setting instruction parents
Currently, my way around this was to go into Instruction.h and make setParent() public. I hope there is a better way? -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Patrick Meredith Sent: Tuesday, May 31, 2005 8:17 AM To: 'LLVM Developers Mailing List' Subject: [LLVMdev] setting instruction pa...
2005 May 31
1
[LLVMdev] setting instruction parents
On Tue, May 31, 2005 at 08:42:26AM -0500, Patrick Meredith wrote: > Currently, my way around this was to go into Instruction.h and make > setParent() public. I hope there is a better way? You shouldn't be modifying the API like this ... > When one moves an instruction from one BasicBlock to another, the > instruction continues to believe that its parent is the original > BasicBlock. This is very undesirable. Is there a wa...
2013 May 28
6
Ocultar componentes de una lista
...ction () ..$ fitted :function () ..$ formula :function () ..$ deviance :function () ..$ lhs :function () ..$ gradient :function () ..$ conv :function () ..$ incr :function () ..$ setVarying:function (vary = rep(TRUE, length(useParams))) ..$ setPars :function (newPars) ..$ getPars :function () ..$ getAllPars:function () ..$ getEnv :function () ..$ trace :function () ..$ Rmat :function () ..$ predict :function (newdata = list(), qr = FALSE) ..- attr(*, "class")= chr "nlsModel"...
2018 May 05
0
Bug in profile.nls with algorithm = "plinear"
...gt; Waiting for profiling to be done... #R> Error in attr(ans, "gradient")[c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, : #R> (subscript) logical subscript too long traceback() # [output output abbreviated] ##### # It seems to fail due to the dimension in gradCall environment(f1$m$setPars)$gradCall #R> attr(ans, "gradient")[c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, #R> TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE), #R> c(TRUE, TRUE, TRUE, TRUE), drop = FALSE] (ca <- environment(f2$m$setPars)$gradCall) #R> attr(ans, "gradient")[c(TRUE,...
2013 May 28
3
Ocultar componentes de una lista
.....$ resid :function () ..$ fitted :function () ..$ formula :function () ..$ deviance :function () ..$ lhs :function () ..$ gradient :function () ..$ conv :function () ..$ incr :function () ..$ setVarying:function (vary = rep(TRUE, length(useParams))) ..$ setPars :function (newPars) ..$ getPars :function () ..$ getAllPars:function () ..$ getEnv :function () ..$ trace :function () ..$ Rmat :function () ..$ predict :function (newdata = list(), qr = FALSE) ..- attr(*, "class")= chr "nlsModel" $ convInfo :...
2005 Apr 20
4
[LLVMdev] "Refactoring" Basic Blocks into a new function
...e the basic blocks that compose "code B" in my example above. 2. I am going to need to pass dependencies for the "code B" block into the new function. I'm hoping that it work if I just create the arguments with the same name and type as the dependencies, then use "setParent" to transfer the basic blocks to the new function. However, after staring at the "instruction" object a little bit, I am starting to think that I may need to actually modify each individual instruction to point to the arguments. Can anyone straighten me out here? By the way,...
2013 May 28
3
Ocultar componentes de una lista
...ction () ..$ fitted :function () ..$ formula :function () ..$ deviance :function () ..$ lhs :function () ..$ gradient :function () ..$ conv :function () ..$ incr :function () ..$ setVarying:function (vary = rep(TRUE, length(useParams))) ..$ setPars :function (newPars) ..$ getPars :function () ..$ getAllPars:function () ..$ getEnv :function () ..$ trace :function () ..$ Rmat :function () ..$ predict :function (newdata = list(), qr = FALSE) ..- attr(*, "class")= chr "nlsModel" $...
2010 Jun 13
2
[LLVMdev] Block management
Hi, In my code generator, I need to prepare a block and add instructions to it, then insert this block in a function defined later (that is I cannot create the function at the beginning stage become some info are not available yet). I tried to create a block without any "parent" (BasicBlock::Create(getGlobalContext(), "init"), fill it, but how to link it with the created
2010 Jun 13
0
[LLVMdev] Block management
On Jun 13, 2010, at 2:12 AM, Stéphane Letz wrote: > Hi, > > In my code generator, I need to prepare a block and add instructions to it, then insert this block in a function defined later (that is I cannot create the function at the beginning stage become some info are not available yet). I tried to create a block without any "parent" (BasicBlock::Create(getGlobalContext(),
1999 Mar 30
0
Prototype nls library for R using closures
...functions _and_ the environment in which they were created. That is, it is a list of function closures that share the same environment. This is similar in flavor to the example in the demos/language/scoping.R file. All of the functions in an nlsModel object behave like accessor methods except for setPars which sets a new value of the parameters. Using the nlsModel object and its methods, the nls function itself becomes trivial. This style of programming is directly inspired by the presentation that Robert Gentleman made on the last day of the Distributed Statistical Computing - Vienna '99 con...
2013 May 28
0
Ocultar componentes de una lista
...:function () > ..$ formula :function () > ..$ deviance :function () > ..$ lhs :function () > ..$ gradient :function () > ..$ conv :function () > ..$ incr :function () > ..$ setVarying:function (vary = rep(TRUE, length(useParams))) > ..$ setPars :function (newPars) > ..$ getPars :function () > ..$ getAllPars:function () > ..$ getEnv :function () > ..$ trace :function () > ..$ Rmat :function () > ..$ predict :function (newdata = list(), qr = FALSE) > ..- attr(*, "class")= chr &...
2013 May 28
0
Ocultar componentes de una lista
...ction ()    ..$ fitted    :function ()    ..$ formula   :function ()    ..$ deviance  :function ()    ..$ lhs       :function ()    ..$ gradient  :function ()    ..$ conv      :function ()    ..$ incr      :function ()    ..$ setVarying:function (vary = rep(TRUE, length(useParams)))    ..$ setPars   :function (newPars)    ..$ getPars   :function ()    ..$ getAllPars:function ()    ..$ getEnv    :function ()    ..$ trace     :function ()    ..$ Rmat      :function ()    ..$ predict   :function (newdata = list(), qr = FALSE)    ..- attr(*, "class")= chr "nlsModel"...
2013 May 28
0
Ocultar componentes de una lista
...:function () > ..$ formula :function () > ..$ deviance :function () > ..$ lhs :function () > ..$ gradient :function () > ..$ conv :function () > ..$ incr :function () > ..$ setVarying:function (vary = rep(TRUE, length(useParams))) > ..$ setPars :function (newPars) > ..$ getPars :function () > ..$ getAllPars:function () > ..$ getEnv :function () > ..$ trace :function () > ..$ Rmat :function () > ..$ predict :function (newdata = list(), qr = FALSE) > ..- attr(*, "class")= chr &...
2013 May 29
0
Ocultar componentes de una lista
...:function () > ..$ formula :function () > ..$ deviance :function () > ..$ lhs :function () > ..$ gradient :function () > ..$ conv :function () > ..$ incr :function () > ..$ setVarying:function (vary = rep(TRUE, length(useParams))) > ..$ setPars :function (newPars) > ..$ getPars :function () > ..$ getAllPars:function () > ..$ getEnv :function () > ..$ trace :function () > ..$ Rmat :function () > ..$ predict :function (newdata = list(), qr = FALSE) > ..- attr(*, "class")= chr &...
2011 Feb 18
0
Wine release 1.3.14
...winspool: Do not mark AddPrinterA as stub. msi/tests: Fix a typo. mshtml/tests: Fix a typo. shlwapi: Add stubs for SHWinHelpOnDemandA/W. Dmitry Timoshkov (4): user32: Add a test for reparenting a WS_POPUP window to a WS_CHILD parent. user32: Add message tests for SetParent(). mlang: GetGlobalFontLinkObject() takes a non-zero number of arguments. user32: Use the windows created by the SetParent() test to get a more predictable active/focus window state. EG Galano (1): gdiplus/tests: Make sure return value is used (LLVM/Clang). Francois Gouget (1...