search for: ivector

Displaying 8 results from an estimated 8 matches for "ivector".

Did you mean: vector
2005 Feb 21
0
want to call R from aplatform written i strict ANSI C
...evaluator() (2) accelerator() (3) gradient() (4) hessian() (5) pre_processor() (6) post_processor() */ /* Global Definitions */ #include "project.h" #include "rpa_proj.h" #include "rpa_proj.c" extern RPA_ptr *SHAREX_ROOT; extern MINLP_ptr *SHAREX_PROB; IVECTOR SUPER_FLAG = &(INT_STATUS[16]); IVECTOR ALLOCATION_SWITCH = &(INT_PROTOCOL[30]); extern void compare_NVAR(int n1,int n2,int n3,char *stage); /* end of global definitions */ void evaluator(DVECTOR w,double Penalty,double *gf,double *F,double *Dev) { int i,n,n_i,n_x,n_d,m_f,ACCELERATE...
2005 Feb 25
0
Fwd: want to call R from aplatform written i strict ANSI C
...evaluator() (2) accelerator() (3) gradient() (4) hessian() (5) pre_processor() (6) post_processor() */ /* Global Definitions */ #include "project.h" #include "rpa_proj.h" #include "rpa_proj.c" extern RPA_ptr *SHAREX_ROOT; extern MINLP_ptr *SHAREX_PROB; IVECTOR SUPER_FLAG = &(INT_STATUS[16]); IVECTOR ALLOCATION_SWITCH = &(INT_PROTOCOL[30]); extern void compare_NVAR(int n1,int n2,int n3,char *stage); /* end of global definitions */ void evaluator(DVECTOR w,double Penalty,double *gf,double *F,double *Dev) { int i,n,n_i,n_x,n_d,m_f,ACCELERATE...
2020 Nov 17
3
RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
...n Silva > > - The name SmallVector has always been confusing, InlinedVector is more > principled, but is even more verbose for such a common type. If you think > it is worth shrinkifying the name SmallVector, then I think the best thing > to do is *rename* SmallVector (perhaps to IVector?) everywhere in the > codebase. I don’t think that introducing a redundant name is a good thing > (except to smooth the transition). > > - If people are concerned about the default being bad, then you could > choose to make “SmallVector<T, -1>” be the thing that autosizes. I...
2012 Dec 11
1
Debian packaging and openblas related crash when profiling in R
...ot;), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))}) 6: try(am.inv(a = g11), silent = TRUE) 7: amsweep(thetareal, c(FALSE, o[ss, ])) 8: emfred(x, thetaold, indx$o, indx$m, indx$ivector, indx$icap, indx$AMr1, indx$AMr2, AM1stln = AM1stln, returntype = "theta", priors = priors, empri = empri, collect = collect) 9: emarch(x.stacked$x, p2s = p2s, thetaold = NULL, tolerance = tolerance, startvals = startvals, x.stacked$priors, empri = empri, frontend = frontend, col...
2020 Nov 17
0
RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
...ic_assert when it is crazy large. - The name SmallVector has always been confusing, InlinedVector is more principled, but is even more verbose for such a common type. If you think it is worth shrinkifying the name SmallVector, then I think the best thing to do is *rename* SmallVector (perhaps to IVector?) everywhere in the codebase. I don’t think that introducing a redundant name is a good thing (except to smooth the transition). - If people are concerned about the default being bad, then you could choose to make “SmallVector<T, -1>” be the thing that autosizes. I tend to agree with your...
2020 Nov 17
0
RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
...t; -- Sean Silva > > > - The name SmallVector has always been confusing, InlinedVector is more principled, but is even more verbose for such a common type. If you think it is worth shrinkifying the name SmallVector, then I think the best thing to do is *rename* SmallVector (perhaps to IVector?) everywhere in the codebase. I don’t think that introducing a redundant name is a good thing (except to smooth the transition). I like the idea of a minor rename, although a bit different: - SmallVectorBase => VectorBase - SmallVectorImpl => VectorImpl (we could keep both around for a tran...
2020 Nov 13
6
RFC: [SmallVector] Adding SVec<T> and Vec<T> convenience wrappers.
We've pretty happy now with a patch that adds two wrappers around SmallVector that make it 1) more convenient to use and 2) will tend to mitigate misuse of SmallVector. We think it's ready for wider discussion: https://reviews.llvm.org/D90884 SVec<T> is a convenience alias for SmallVector<T, N> with N chosen automatically to keep its size under 64 Bytes (that heuristic is easy
2005 Nov 14
1
open source and R
...;eigen', say, then you can "?eigen" to learn about its usage. > You can enter "eigen" to see the R code, and indeed that is > not too imcomprehensible. But then you find > > .Fortran("ch", n, n, xr, xi, values = dbl.n, > !only.values, vectors = xr, ivectors = xi, dbl.n, > dbl.n, double(2 * n), ierr = integer(1), > PACKAGE = "base") > > and similar for "rs", "cg" and "rg". Where's the help for > these? Nowhere obvious! In fact you have to go to the source > code, locate the FORTRAN routin...