Lines Matching refs:a
9 …"This is a tutorial to illustrate the main feautures of the Python interface for [libCEED](https:/…
40 …"We illustrate the simple creation of a `libceed.Vector`, how to specify its size, and how to read…
77 …"* In the following example, we associate the data stored in a `libceed.Vector` with a `numpy.arra…
91 "a = np.arange(1, 4, dtype=\"float64\")\n",
92 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
138 "a = np.arange(1, 1 + n, dtype=\"float64\")\n",
139 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
164 "a = np.zeros(n, dtype=\"float64\")\n",
165 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
169 "a[3]"
176 … example, we compute the $L_1$, $L_2$ (default), and $L_{\\infty}$ norms of a `libceed.Vector` (ke…
188 "a = np.arange(0, n, dtype=\"float64\")\n",
191 " a[i] *= -1\n",
192 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
208 …e create a `libceed.Vector` with a libCEED contex that supports CUDA, associate the data stored in…
222 "a = np.arange(1, 1 + n, dtype=\"float64\")\n",
223 "x.set_array(a, cmode=libceed.USE_POINTER)\n",