Rcpp Version 1.0.14
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Variables
_
b
c
d
f
g
k
m
n
r
t
y
Typedefs
c
d
e
f
g
i
l
n
p
r
s
t
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Enumerator
r
v
Related Symbols
o
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
x
y
Functions
a
c
d
e
f
g
i
l
m
o
p
r
s
Variables
Typedefs
Macros
_
a
b
c
d
e
g
h
i
j
l
m
n
o
r
s
t
u
v
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
convolve10_cpp.h
Go to the documentation of this file.
1
2
class
Cache
{
3
public
:
4
typedef
double
&
proxy
;
5
typedef
double
*
iterator
;
6
7
Cache
(
iterator
data_) :
data
(data_){}
8
9
inline
proxy
ref
(
int
i){
return
data
[i] ; }
10
inline
proxy
ref
(
int
i)
const
{
return
data
[i] ; }
11
12
private
:
13
iterator
data
;
14
} ;
2
class
Cache
{
…
};
15
16
class
Vec
{
17
public
:
18
typedef
double
&
proxy
;
19
20
Vec
(
double
* data_ ) :
cache
(data_){}
21
inline
proxy
operator[]
(
int
i){
return
cache
.
ref
(i) ; }
22
inline
proxy
operator[]
(
int
i)
const
{
return
cache
.
ref
(i) ; }
23
24
private
:
25
Cache
cache
;
26
} ;
16
class
Vec
{
…
};
27
Cache
Definition
convolve10_cpp.h:2
Cache::Cache
Cache(iterator data_)
Definition
convolve10_cpp.h:7
Cache::ref
proxy ref(int i) const
Definition
convolve10_cpp.h:10
Cache::ref
proxy ref(int i)
Definition
convolve10_cpp.h:9
Cache::data
iterator data
Definition
convolve10_cpp.h:13
Cache::iterator
double * iterator
Definition
convolve10_cpp.h:5
Cache::proxy
double & proxy
Definition
convolve10_cpp.h:4
Vec
Definition
convolve10_cpp.h:16
Vec::operator[]
proxy operator[](int i) const
Definition
convolve10_cpp.h:22
Vec::Vec
Vec(double *data_)
Definition
convolve10_cpp.h:20
Vec::operator[]
proxy operator[](int i)
Definition
convolve10_cpp.h:21
Vec::proxy
double & proxy
Definition
convolve10_cpp.h:18
Vec::cache
Cache cache
Definition
convolve10_cpp.h:25
inst
examples
ConvolveBenchmarks
convolve10_cpp.h
Generated on Sun Jan 12 2025 11:21:42 for Rcpp Version 1.0.14 by
1.9.8