search for: vsum

Displaying 3 results from an estimated 3 matches for "vsum".

Did you mean: sum
2011 May 09
2
Vectorizing a function: what does it mean?
Dear all, I would really appreciate if somebody can help me to understand what does the phrase "Vectorize your function" mean? And what is the job of Vectorize() function in doing that? I have read many threads where experts suggest to Vectorize the function, which will speed up entire calculation (and more elegant ofcourse.) I used to think that vectorizing function means, to create a
2024 Feb 06
2
Advice debugging M1Mac check errors
On 04/02/2024 19:41, Holger Hoefling wrote: > Hi, > > I wanted to ask if people have good advice on how to debug M1Mac package > check errors when you don?t have a Mac? Is a cloud machine the best option > or is there something else? I presumed this was about a CRAN package, possibly hdf5r which has a R-devel-only warning from the Apple clang compiler. And that is not a
2024 Feb 28
3
Initializing vector and matrices
Is there as way to initialize a vector (matrix) with an unknown length (dimension)? NULL does not seem to work. The lines below work with a vector of length 4 and a matrix of 4 x 4. What if I do not know initially the length/dimension of the vector/matrix? All I want is to add up (accumulate)? the vector and matrix as I go through the loop. Or, are there other ways to accumulate such vectors