Displaying 9 results from an estimated 9 matches for "numitem".
Did you mean:
numitems
2009 Apr 13
2
equation help
Hi everyone, I am having a bit of trouble correctly structuring an
equation in R.
Here is the equation
Here is what I thought
for(i in 1:numItem)for(x in 1:numCat)
Ptheta[,i,x]<-(exp(-1.702*a[i]*(theta-b[i,x+1]))
My problem is that I am not sure how to get it to read the equation as
having two indexing points (i and x). Right now it is trying to read
it as a matrix, but each value (i and x) are only vectors. Does anyone...
2011 Mar 15
10
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
This series of patches address several issues causing memory usage to grow
indefinetely on a long lived process.
These are not convenional leaks -- memory would have been freed when the LLVM
context or/and JIT engine is destroyed -- but for as long as they aren't the
memory is usage effectively ubounded.
The issues were found using valgrind with '--show-reachable=yes' option:
1.
2009 Nov 16
1
No Visible Binding for global variable
...stuProbs[,i] <- pCorr(correctClsMat, correctStuMat[i], q = length(key))
}
}
stuProbs[which(is.na(dat))] <- NA # this is a bit kludgy. But, it places NAs in the right place
matchProb <- function(StuMat, wrongMat, numItems){
ind <- combn(c(1:ncol(StuMat)),2) # These are all the possible combinations
result <- matrix(0, ncol=ncol(ind), nrow=numItems)
for(j in 1:ncol(ind)){
for(i in 1:numItems){...
2015 Jul 11
2
[LLVMdev] StringMap question
...explain me the purpose of zeroing of all fields of RHS in the
body of this constructor if the declaration of the constructor uses move
semantics? Here is the consturctor code below:
*StringMapImpl(StringMapImpl &&RHS)*
* : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),*
* NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),*
* ItemSize(RHS.ItemSize) {*
* RHS.TheTable = nullptr;*
* RHS.NumBuckets = 0;*
* RHS.NumItems = 0;*
* RHS.NumTombstones = 0;*
* }*
Thank you very much!
BR,
Valeriy
-------------- next part --------------
An HTML attachment was...
2016 Apr 28
2
Why duplicate "protected:" in SmallVector.h, StringMap.h?
...{
*protected:*
// Array of NumBuckets pointers to entries, null pointers are holes.
// TheTable[NumBuckets] contains a sentinel value for easy iteration.
Followed
// by an array of the actual hash values as unsigned integers.
StringMapEntryBase **TheTable;
unsigned NumBuckets;
unsigned NumItems;
unsigned NumTombstones;
unsigned ItemSize;
*protected:*
explicit StringMapImpl(unsigned itemSize)
: TheTable(nullptr),
is the second "protected:" a coding style that should be preserved?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <ht...
2008 Jun 19
5
No sub-menus in complex.c32
>> Hi,
>>
>> I have created my own custom menu using menu/complex.c as an example.
>> This was way back in the syslinux 2.x days, so the menu system had not
>> yet been converted to COM32. With a few minor changes, I now have
>> this compiling and running under v3.63. The problem is that only the
>> top level menu works. Trying to access any sub-menu
2005 Mar 23
2
FXListBox size behavior?
...400, 200)
myListBox = FXListBox.new(main)
myListBox.appendItem("a very long example")
myListBox.appendItem("short")
myListBox.appendItem("longer")
myListBox.appendItem("even longer")
myListBox.appendItem("shorter")
myListBox.numVisible = myListBox.numItems
application.create
main.show(PLACEMENT_SCREEN)
application.run
2019 Nov 18
2
Unable to parse command line more than once using llvm libraries?
Thanks,
I tried calling ResetAllOptionOccurrences after the run like this…
// Compile the module TimeCompilations times to give better compile time
// metrics.
for (unsigned I = TimeCompilations; I; --I)
if (int RetVal = compileModule(argv, Context))
return RetVal;
if (YamlFile)
YamlFile->keep();
cl::ResetAllOptionOccurrences();
return 0;
}
Unfortunately
2002 Mar 01
4
UI regression
Hi,
Earlier this year I "upgraded" from wine 20010510 to 20011226 in order
to see if some kind of resource leak was fixed which caused screen
redraws to get progressively slower and slower and slower and slower, ....
That was fixed but there seemed to be a significant number of graphics
and UI regressions. I've just upgraded to 20020228 to see if things
were any better and within