search for: class_

Displaying 9 results from an estimated 9 matches for "class_".

Did you mean: class
2011 Jan 26
1
Problem with "setMethod" in R package
...up x="ANY", y="ANY" # why was it missing before? x="Rcpp_rothC", y="missing" ######### FILE rcpp_rothC_module.h ######### class rothC { ... } ######### FILE rcpp_rothC_module.cpp ######### using namespace Rcpp ; RCPP_MODULE(rothC) { class_<rothC>("rothC") .constructor() ... } ######### FILE rcpp_rothC.R ######### Rcpp_rothC.plot <- function(x,y,...) { ... } ########## FILE zzz.R ########## .NAMESPACE <- environment() rothC <- new( "Module" ) .onLoad <- function(libname, pkgname) {...
2011 Jan 23
0
setMethod call in package code using Rcpp
...up x="ANY", y="ANY" # why was it missing before? x="Rcpp_rothC", y="missing" ######### FILE rcpp_rothC_module.h ######### class rothC { ... } ######### FILE rcpp_rothC_module.cpp ######### using namespace Rcpp ; RCPP_MODULE(rothC) { class_<rothC>("rothC") .constructor() ... } ######### FILE rcpp_rothC.R ######### Rcpp_rothC.plot <- function(x,y,...) { ... } ########## FILE zzz.R ########## .NAMESPACE <- environment() rothC <- new( "Module" ) .onLoad <- function(libname, pkgname) {...
2009 Aug 26
0
[LLVMdev] [Stackless] [C++-sig] [Boost] Trouble optimizing Boost.Python integration for game development (it seems too slow)
...s REALLY needed, unless you want error monsoon >> > to >> > come down >> > }; >> > >> > // === boost:python wrapper === >> > // publish just += and * to python >> > >> > BOOST_PYTHON_MODULE(vec3) >> > { >> >   class_<Vec3>("Vec3", init<float, float, float>()) >> >       .def(self += self) >> >       .def(self * float()) >> >   ; >> > } >> > >> > // === implementation === >> > >> > Vec3::Vec3(float x, float y, float z)...
2009 Feb 23
0
[LLVMdev] [llvm-commits] [llvm] r65296 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/CellSPU/ lib/Target/PowerPC/ lib/Target/X86/ test/CodeGen/X86/
On Feb 23, 2009, at 2:15 PM, Scott Michel wrote: > And the first thing the helper method would have to check is if this > SDNode is a BUILD_VECTOR node, right? Right. It's really not much different than what you have now, just moving the point where you check. In your code right now, when you want to call your isConstantSplat method, you first dyn_cast the node to a
2013 Jun 19
3
Calling an array in a struct in C to R
Hi there, Although I'm a quite experienced R user and know my ways in C, I stumbled upon a problem I don't know how to solve. Therefore, I hope someone can provide me with the information or pointers I need in order to understand the way in which the communication between R and C occurs. I have the following C code which basicallly reflects what I want: typedef struct { float
2011 Jun 04
2
Interfacing a C++ class
Hello Apologies for cross-posting, the discussion should (if) go to R-devel, but I also want to reach the rcpp-devel people. My C++ class FOO is a module available through Rcpp, and it works fine and is -- so far -- bug free. With trying to further develop my R package, I thought it was a good idea to interface my C++ workhorse FOO with an S4 class Foo. After some long and not always insightful
2009 Feb 23
2
[LLVMdev] [llvm-commits] [llvm] r65296 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/CellSPU/ lib/Target/PowerPC/ lib/Target/X86/ test/CodeGen/X86/
On Mon, Feb 23, 2009 at 1:46 PM, Chris Lattner <clattner at apple.com> wrote: > > On Feb 23, 2009, at 1:20 PM, Scott Michel wrote: > > Chris: >> >> I did float this by the dev list first a couple of weeks ago, didn't >> receive any comments. >> > > Ok, I didn't see it, sorry about that. It happens. :-) > a) Convenience for the
2005 Nov 27
4
gsub syntax
Hello I know that R's string functions are not as extensive as those of Unix but I need to do some text handling totally within an R environment because the target is a Windows system which will not have the corresponding shell utilities, sed, awk etc. Can anyone explain the following gsub phenomenon to me: >
2015 Sep 04
3
Testing "normal" cross-compilers versus GPU backends
> On Sep 4, 2015, at 10:19 AM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: > >>>>> Krzysztof suggested much the same thing that I think you are currently >>>>> doing, which is deliberately configure a default triple but exclude >> the >>>>> corresponding backend. >>>> >>>> You and Takumi were