search for: rec1

Displaying 13 results from an estimated 13 matches for "rec1".

Did you mean: rc1
2011 Apr 28
1
Variance
I'm trying to find the variance of various outputs in a matrix: for(l in 2:vl){ for(o in 1:(l-1)){ # Make sure the inputs are for the matrix "m" input3=rownames(v)[o] input4=colnames(v)[l] r=t[(t$Rec1==input3 & t$Rec2==input4),output] if(length(r)==0){ r=t[(t$Rec1==input4 & t$Rec2==input3),output] } v[l,o]=var(q,na.rm=TRUE) v[o,l]=var(q,na.rm=TRUE) v[l,l]=var(q,na.rm=TRUE) } } Each output will yield multiple results, since each input length varies. I'm...
2011 Apr 28
1
Subscript out of Bounds
I currently have this code: for(j in 2:n){ for(i in 1:(j-1)){ # Make sure the inputs are for the matrix "m" input1=rownames(m)[i] input2=colnames(m)[j] q=t[(t$Rec1==input1 & t$Rec2==input2),output] if(length(q)==0){ q=t[(t$Rec1==input2 & t$Rec2==input1),output] } m[i,j]=mean(q) m[j,i]=mean(q) m[j,j]=mean(q) }} I already created a 20x20 matrix "m" and have the rows and columns made up: m=matrix(data=NA, nrow=rl,...
2007 Sep 10
2
Are the error messages of ConstrOptim() consisten with each other?
...(sigmae*ss/(ss+lbar*(tot/sh*1000.0))))))+sqrt(0.25+2.0*rint/(sigmae*ss/(ss+lbar*(tot/sh*1000.0)))/(sigmae*ss/(ss+lbar*(tot/sh*1000.0))))*(sigmae*ss/(ss+lbar*(tot/sh*1000.0)))*sqrt((lambda*lambda/(sigmae*ss/(ss+lbar*(tot/sh*1000.0)))/(sigmae*ss/(ss+lbar*(tot/sh*1000.0))))))))))) apple.ana= function(rec1,lambda1,lbar1) {rec=rec1 lambda=lambda1 lbar=lbar1 apple=eval(apple2) gradient=cbind(eval(D(apple2,'rec')),eval(D(apple2,'lambda')), eval(D(apple2,'lbar'))) attr(apple.ana,'gradient')=gradient apple } fit.error=function(rec1,lambda1,lbar1) {rec=rec1 lambda=lambda1 l...
2006 Nov 26
1
starting Samba and removing PCNetlink
...= 0777 [printers] path = /var/spool/samba printable = Yes browseable = No guest ok = no writable = no printable = yes And here is a copy of the smb.conf from the host not working...... # Global Parameters [global] workgroup = RAD netbios name = REC1 security = SHARE hosts allow = xxx.xxx.xxx. xxx.xxx.xxx. xxx.xxx.xxx. load printers = yes max log size = 50 log file = /usr/local/samba/var/log.%m # passdb backend = tdsam socket options = TCP_NODELAY...
2010 Apr 15
12
[PATCH] Add :touch option to has_many associations
....com/projects/8994/tickets/4392-add-touch-option-to-has_many-associations <https://rails.lighthouseapp.com/projects/8994/tickets/4392-add-touch-option-to-has_many-associations> cheers -- Diego Carrion http://www.diegocarrion.com http://www.mouseoverstudio.com/blog/ http://www.twitter.com/dcrec1 http://www.workingwithrails.com/person/13580-diego-carrion -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to ruby...
2020 Aug 14
2
Another possible tracing feature for TableGen
...= arg1; string C_to_let; } class D <list<int> list1, int rare = 0> { list<int> D_list = list1; int D_rare = rare; int D_field1 = 10101; int D_field2 = 10102; bits<4> D_bits = {1, 0, 1, 0}; } let C_to_let = "C to let" in let D_field2 = -10102 in { def rec1 : C<"arg1_val">, D<[13, 14, 15]> { defvar var1 = -1; defvar var2 = "base string"; int num = 42; list<string> list_a; string str = "Hello world!"; string from_var2 = var2 # " from var2"; int num2 = !mul(3, num); let num = 43;...
2011 Sep 30
3
[LLVMdev] Tablegen: RegisterInfoEmitter.cpp
...ly, as the error disappeared after changing register names from eg a23g to aa23g. It was the map ordering operator that was the trouble, it seems, as the problem disappeared when I used std::string::compare() instead for the RegisterAliases map. struct LessRecord { bool operator()(const Record *Rec1, const Record *Rec2) const { return StringRef(Rec1->getName()).compare_numeric(Rec2->getName()) < 0; } }; struct LessRecordRegAliases{ bool operator()(const Record *Rec1, const Record *Rec2) const { return Rec1->getName().compare(Rec2->getName()) < 0; } }; The conc...
2020 Aug 04
2
TableGen trace facility
...new guide to explain it. I presume it is the case that this behavior should be publicized. It also appears to be the case that a record is created and bound to its name before fields are inherited from its superclasses, which is why you can write: class A <dag d> { dag the_dag = d; } def rec1 : A<(ops rec1)> Do I understand that correctly? At 8/4/2020 05:38 PM, Nicolai Hähnle wrote: >On Tue, Aug 4, 2020 at 11:13 PM Paul C. Anagnostopoulos ><paul at windfall.com> wrote: >> Yes, I understand the problem. To be more useful, TableGen would have to carry the traces...
2013 May 08
1
Selección de valores específicos de una lista mediante una función
...rec(1,3) Lo que necesito es crear una función que me reciba 3 parámetros rec<-function(lista,indice,valor) ya que me permitiría escoger la lista y las condiciones que deseo modificar en vista que tengo muchas listas con las cuales trabajar. Intente algo como esto pero si resultados favorables rec1<-function(lista,indice,valor){ a<-lista a$a.indice<-a$a.indice[a$a.indice>tiempo] return(a) } Gracias por su ayuda de antemano [[alternative HTML version deleted]]
2011 Apr 06
4
Call recording - methodology
Hello Everyone; I am looking for a solution to record calls that come into our Asterisk server. I am hoping for something that is easy to use - however, if I have to modify it to make it easier to use, I do not mind. Does anyone know of any opensource or otherwise solutions out there that I can try out? Thanks much. Glen
2020 Aug 05
2
TableGen trace facility
...ed. > > > > It also appears to be the case that a record is created and bound to its > name before fields are inherited from its superclasses, which is why you > can write: > > > > class A <dag d> { > > dag the_dag = d; > > } > > > > def rec1 : A<(ops rec1)> > > > > Do I understand that correctly? > > Almost :) > > In reality, this is allowed as a special-case by > TGParser::ParseIDValue, whose purpose is looking up identifiers. See > the comment about self-references towards the bottom of the method....
2020 Aug 04
3
TableGen trace facility
Yes, I understand the problem. To be more useful, TableGen would have to carry the traces along with the classes and records and (re)display the values while the substitutions are being made. I'm writing a new Programmer's Guide for TableGen and have been digging into the parse-time versus substitution-time issue. I haven't found a document that makes it clear. Can you give a quick
2010 Apr 18
1
Add shorthand support for routes like /projects/status(.:format)
...tusformat>This way, we can create a route like the specified instead of: match ''/projects/status(.:format)'' => "projects#status", :as => :project_status -- Diego Carrion http://www.diegocarrion.com http://www.mouseoverstudio.com/blog/ http://www.twitter.com/dcrec1 http://www.workingwithrails.com/person/13580-diego-carrion -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to ruby...