-
Notifications
You must be signed in to change notification settings - Fork 0
/
classcusp_1_1array1d.html
140 lines (135 loc) · 9.68 KB
/
classcusp_1_1array1d.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>cusp: cusp::array1d< T, MemorySpace > Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>cusp</b>::<a class="el" href="classcusp_1_1array1d.html">array1d</a>
</div>
</div>
<div class="contents">
<h1>cusp::array1d< T, MemorySpace > Class Template Reference<br/>
<small>
[<a class="el" href="group__array__containers.html">Array Containers</a>]</small>
</h1><!-- doxytag: class="cusp::array1d" -->
<p><code>#include <<a class="el" href="array1d_8h_source.html">array1d.h</a>></code></p>
<p><a href="classcusp_1_1array1d-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ab2844cb5dbde7256b3843f6a81cfe0"></a><!-- doxytag: member="cusp::array1d::memory_space" ref="a0ab2844cb5dbde7256b3843f6a81cfe0" args="" -->
typedef MemorySpace </td><td class="memItemRight" valign="bottom"><b>memory_space</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4903dbcd115e3b545a034ac62e4bdc7"></a><!-- doxytag: member="cusp::array1d::format" ref="ab4903dbcd115e3b545a034ac62e4bdc7" args="" -->
typedef <a class="el" href="structcusp_1_1array1d__format.html">cusp::array1d_format</a> </td><td class="memItemRight" valign="bottom"><b>format</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classcusp_1_1array1d.html">cusp::array1d</a>< T, <br class="typebreak"/>
MemorySpace > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcusp_1_1array1d.html#a4c1cf1aa1c58dedc75d80993a81d0456">container</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classcusp_1_1array1d__view.html">cusp::array1d_view</a><br class="typebreak"/>
< typename Parent::iterator > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcusp_1_1array1d.html#a72c587c060e007c843d18c94f62322fc">view</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classcusp_1_1array1d__view.html">cusp::array1d_view</a><br class="typebreak"/>
< typename <br class="typebreak"/>
Parent::const_iterator > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcusp_1_1array1d.html#a5214c6831b5f682e4294783aa5c82f48">const_view</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fefc99363d0fbcbbd8010c9e8ed96c7"></a><!-- doxytag: member="cusp::array1d::size_type" ref="a0fefc99363d0fbcbbd8010c9e8ed96c7" args="" -->
typedef Parent::size_type </td><td class="memItemRight" valign="bottom"><b>size_type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69aec757f3685dab92a6949771abf243"></a><!-- doxytag: member="cusp::array1d::value_type" ref="a69aec757f3685dab92a6949771abf243" args="" -->
typedef Parent::value_type </td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0de5a681631ecaddb5f72122cace589f"></a><!-- doxytag: member="cusp::array1d::array1d" ref="a0de5a681631ecaddb5f72122cace589f" args="(size_type n)" -->
</td><td class="memItemRight" valign="bottom"><b>array1d</b> (size_type n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7a570b6a4260056e036701c9bb86779"></a><!-- doxytag: member="cusp::array1d::array1d" ref="ac7a570b6a4260056e036701c9bb86779" args="(size_type n, const value_type &value)" -->
</td><td class="memItemRight" valign="bottom"><b>array1d</b> (size_type n, const value_type &value)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a4aabbee0b4f64ef0b7fb30f61370beca"></a><!-- doxytag: member="cusp::array1d::array1d" ref="a4aabbee0b4f64ef0b7fb30f61370beca" args="(const Array &a, typename thrust::detail::enable_if<!thrust::detail::is_convertible< Array, size_type >::value >::type *=0)" -->
template<typename Array > </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><b>array1d</b> (const Array &a, typename thrust::detail::enable_if<!thrust::detail::is_convertible< Array, size_type >::value >::type *=0)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a3714804575515b3abf75179405c640f8"></a><!-- doxytag: member="cusp::array1d::array1d" ref="a3714804575515b3abf75179405c640f8" args="(InputIterator first, InputIterator last)" -->
template<typename InputIterator > </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><b>array1d</b> (InputIterator first, InputIterator last)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a2b11f267d330b9b9fabd492ec69f007a"></a><!-- doxytag: member="cusp::array1d::operator=" ref="a2b11f267d330b9b9fabd492ec69f007a" args="(const Array &a)" -->
template<typename Array > </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classcusp_1_1array1d.html">array1d</a> & </td><td class="memTemplItemRight" valign="bottom"><b>operator=</b> (const Array &a)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<typename T, typename MemorySpace><br/>
class cusp::array1d< T, MemorySpace ></h3>
<p><code><a class="el" href="classcusp_1_1array1d.html">array1d</a></code> : One-dimensional array container</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>T</em> </td><td>value_type of the array </td></tr>
<tr><td valign="top"></td><td valign="top"><em>MemorySpace</em> </td><td>memory space of the array (cusp::host_memory or cusp::device_memory)</td></tr>
</table>
</dd>
</dl>
<p>example </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a5214c6831b5f682e4294783aa5c82f48"></a><!-- doxytag: member="cusp::array1d::const_view" ref="a5214c6831b5f682e4294783aa5c82f48" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T, typename MemorySpace> </div>
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classcusp_1_1array1d__view.html">cusp::array1d_view</a><typename Parent::const_iterator> <a class="el" href="classcusp_1_1array1d.html">cusp::array1d</a>< T, MemorySpace >::<a class="el" href="classcusp_1_1array1d__view.html">const_view</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>equivalent const_view type </p>
</div>
</div>
<a class="anchor" id="a4c1cf1aa1c58dedc75d80993a81d0456"></a><!-- doxytag: member="cusp::array1d::container" ref="a4c1cf1aa1c58dedc75d80993a81d0456" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T, typename MemorySpace> </div>
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classcusp_1_1array1d.html">cusp::array1d</a><T,MemorySpace> <a class="el" href="classcusp_1_1array1d.html">cusp::array1d</a>< T, MemorySpace >::<a class="el" href="classcusp_1_1array1d.html">container</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>equivalent container type </p>
</div>
</div>
<a class="anchor" id="a72c587c060e007c843d18c94f62322fc"></a><!-- doxytag: member="cusp::array1d::view" ref="a72c587c060e007c843d18c94f62322fc" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T, typename MemorySpace> </div>
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classcusp_1_1array1d__view.html">cusp::array1d_view</a><typename Parent::iterator> <a class="el" href="classcusp_1_1array1d.html">cusp::array1d</a>< T, MemorySpace >::<a class="el" href="classcusp_1_1array1d__view.html">view</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>equivalent view type </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="array1d_8h_source.html">array1d.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon May 30 15:12:24 2011 for cusp by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>