monolish  0.14.0
MONOlithic LIner equation Solvers for Highly-parallel architecture
monolish_vector_vml.hpp
Go to the documentation of this file.
1 // this code is generated by gen_vector_vml.sh
2 #pragma once
3 
4 #include "../common/monolish_common.hpp"
5 #if defined USE_MPI
6 #include <mpi.h>
7 #endif
8 
9 namespace monolish {
14 namespace vml {
15 
27 void add(const vector<double> &a, const vector<double> &b, vector<double> &y);
28 void add(const vector<double> &a, const vector<double> &b,
29  view1D<vector<double>, double> &y);
30 void add(const vector<double> &a, const vector<double> &b,
31  view1D<matrix::Dense<double>, double> &y);
32 void add(const vector<double> &a, const view1D<vector<double>, double> &b,
33  vector<double> &y);
34 void add(const vector<double> &a, const view1D<vector<double>, double> &b,
35  view1D<vector<double>, double> &y);
36 void add(const vector<double> &a, const view1D<vector<double>, double> &b,
37  view1D<matrix::Dense<double>, double> &y);
38 void add(const vector<double> &a,
39  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
40 void add(const vector<double> &a,
41  const view1D<matrix::Dense<double>, double> &b,
42  view1D<vector<double>, double> &y);
43 void add(const vector<double> &a,
44  const view1D<matrix::Dense<double>, double> &b,
45  view1D<matrix::Dense<double>, double> &y);
46 void add(const view1D<vector<double>, double> &a, const vector<double> &b,
47  vector<double> &y);
48 void add(const view1D<vector<double>, double> &a, const vector<double> &b,
49  view1D<vector<double>, double> &y);
50 void add(const view1D<vector<double>, double> &a, const vector<double> &b,
51  view1D<matrix::Dense<double>, double> &y);
52 void add(const view1D<vector<double>, double> &a,
53  const view1D<vector<double>, double> &b, vector<double> &y);
54 void add(const view1D<vector<double>, double> &a,
55  const view1D<vector<double>, double> &b,
56  view1D<vector<double>, double> &y);
57 void add(const view1D<vector<double>, double> &a,
58  const view1D<vector<double>, double> &b,
59  view1D<matrix::Dense<double>, double> &y);
60 void add(const view1D<vector<double>, double> &a,
61  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
62 void add(const view1D<vector<double>, double> &a,
63  const view1D<matrix::Dense<double>, double> &b,
64  view1D<vector<double>, double> &y);
65 void add(const view1D<vector<double>, double> &a,
66  const view1D<matrix::Dense<double>, double> &b,
67  view1D<matrix::Dense<double>, double> &y);
68 void add(const view1D<matrix::Dense<double>, double> &a,
69  const vector<double> &b, vector<double> &y);
70 void add(const view1D<matrix::Dense<double>, double> &a,
71  const vector<double> &b, view1D<vector<double>, double> &y);
72 void add(const view1D<matrix::Dense<double>, double> &a,
73  const vector<double> &b, view1D<matrix::Dense<double>, double> &y);
74 void add(const view1D<matrix::Dense<double>, double> &a,
75  const view1D<vector<double>, double> &b, vector<double> &y);
76 void add(const view1D<matrix::Dense<double>, double> &a,
77  const view1D<vector<double>, double> &b,
78  view1D<vector<double>, double> &y);
79 void add(const view1D<matrix::Dense<double>, double> &a,
80  const view1D<vector<double>, double> &b,
81  view1D<matrix::Dense<double>, double> &y);
82 void add(const view1D<matrix::Dense<double>, double> &a,
83  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
84 void add(const view1D<matrix::Dense<double>, double> &a,
85  const view1D<matrix::Dense<double>, double> &b,
86  view1D<vector<double>, double> &y);
87 void add(const view1D<matrix::Dense<double>, double> &a,
88  const view1D<matrix::Dense<double>, double> &b,
89  view1D<matrix::Dense<double>, double> &y);
90 void add(const vector<float> &a, const vector<float> &b, vector<float> &y);
91 void add(const vector<float> &a, const vector<float> &b,
92  view1D<vector<float>, float> &y);
93 void add(const vector<float> &a, const vector<float> &b,
94  view1D<matrix::Dense<float>, float> &y);
95 void add(const vector<float> &a, const view1D<vector<float>, float> &b,
96  vector<float> &y);
97 void add(const vector<float> &a, const view1D<vector<float>, float> &b,
98  view1D<vector<float>, float> &y);
99 void add(const vector<float> &a, const view1D<vector<float>, float> &b,
100  view1D<matrix::Dense<float>, float> &y);
101 void add(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
102  vector<float> &y);
103 void add(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
104  view1D<vector<float>, float> &y);
105 void add(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
106  view1D<matrix::Dense<float>, float> &y);
107 void add(const view1D<vector<float>, float> &a, const vector<float> &b,
108  vector<float> &y);
109 void add(const view1D<vector<float>, float> &a, const vector<float> &b,
110  view1D<vector<float>, float> &y);
111 void add(const view1D<vector<float>, float> &a, const vector<float> &b,
112  view1D<matrix::Dense<float>, float> &y);
113 void add(const view1D<vector<float>, float> &a,
114  const view1D<vector<float>, float> &b, vector<float> &y);
115 void add(const view1D<vector<float>, float> &a,
116  const view1D<vector<float>, float> &b,
117  view1D<vector<float>, float> &y);
118 void add(const view1D<vector<float>, float> &a,
119  const view1D<vector<float>, float> &b,
120  view1D<matrix::Dense<float>, float> &y);
121 void add(const view1D<vector<float>, float> &a,
122  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
123 void add(const view1D<vector<float>, float> &a,
124  const view1D<matrix::Dense<float>, float> &b,
125  view1D<vector<float>, float> &y);
126 void add(const view1D<vector<float>, float> &a,
127  const view1D<matrix::Dense<float>, float> &b,
128  view1D<matrix::Dense<float>, float> &y);
129 void add(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
130  vector<float> &y);
131 void add(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
132  view1D<vector<float>, float> &y);
133 void add(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
134  view1D<matrix::Dense<float>, float> &y);
135 void add(const view1D<matrix::Dense<float>, float> &a,
136  const view1D<vector<float>, float> &b, vector<float> &y);
137 void add(const view1D<matrix::Dense<float>, float> &a,
138  const view1D<vector<float>, float> &b,
139  view1D<vector<float>, float> &y);
140 void add(const view1D<matrix::Dense<float>, float> &a,
141  const view1D<vector<float>, float> &b,
142  view1D<matrix::Dense<float>, float> &y);
143 void add(const view1D<matrix::Dense<float>, float> &a,
144  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
145 void add(const view1D<matrix::Dense<float>, float> &a,
146  const view1D<matrix::Dense<float>, float> &b,
147  view1D<vector<float>, float> &y);
148 void add(const view1D<matrix::Dense<float>, float> &a,
149  const view1D<matrix::Dense<float>, float> &b,
150  view1D<matrix::Dense<float>, float> &y);
151 
163 void sub(const vector<double> &a, const vector<double> &b, vector<double> &y);
164 void sub(const vector<double> &a, const vector<double> &b,
165  view1D<vector<double>, double> &y);
166 void sub(const vector<double> &a, const vector<double> &b,
167  view1D<matrix::Dense<double>, double> &y);
168 void sub(const vector<double> &a, const view1D<vector<double>, double> &b,
169  vector<double> &y);
170 void sub(const vector<double> &a, const view1D<vector<double>, double> &b,
171  view1D<vector<double>, double> &y);
172 void sub(const vector<double> &a, const view1D<vector<double>, double> &b,
173  view1D<matrix::Dense<double>, double> &y);
174 void sub(const vector<double> &a,
175  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
176 void sub(const vector<double> &a,
177  const view1D<matrix::Dense<double>, double> &b,
178  view1D<vector<double>, double> &y);
179 void sub(const vector<double> &a,
180  const view1D<matrix::Dense<double>, double> &b,
181  view1D<matrix::Dense<double>, double> &y);
182 void sub(const view1D<vector<double>, double> &a, const vector<double> &b,
183  vector<double> &y);
184 void sub(const view1D<vector<double>, double> &a, const vector<double> &b,
185  view1D<vector<double>, double> &y);
186 void sub(const view1D<vector<double>, double> &a, const vector<double> &b,
187  view1D<matrix::Dense<double>, double> &y);
188 void sub(const view1D<vector<double>, double> &a,
189  const view1D<vector<double>, double> &b, vector<double> &y);
190 void sub(const view1D<vector<double>, double> &a,
191  const view1D<vector<double>, double> &b,
192  view1D<vector<double>, double> &y);
193 void sub(const view1D<vector<double>, double> &a,
194  const view1D<vector<double>, double> &b,
195  view1D<matrix::Dense<double>, double> &y);
196 void sub(const view1D<vector<double>, double> &a,
197  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
198 void sub(const view1D<vector<double>, double> &a,
199  const view1D<matrix::Dense<double>, double> &b,
200  view1D<vector<double>, double> &y);
201 void sub(const view1D<vector<double>, double> &a,
202  const view1D<matrix::Dense<double>, double> &b,
203  view1D<matrix::Dense<double>, double> &y);
204 void sub(const view1D<matrix::Dense<double>, double> &a,
205  const vector<double> &b, vector<double> &y);
206 void sub(const view1D<matrix::Dense<double>, double> &a,
207  const vector<double> &b, view1D<vector<double>, double> &y);
208 void sub(const view1D<matrix::Dense<double>, double> &a,
209  const vector<double> &b, view1D<matrix::Dense<double>, double> &y);
210 void sub(const view1D<matrix::Dense<double>, double> &a,
211  const view1D<vector<double>, double> &b, vector<double> &y);
212 void sub(const view1D<matrix::Dense<double>, double> &a,
213  const view1D<vector<double>, double> &b,
214  view1D<vector<double>, double> &y);
215 void sub(const view1D<matrix::Dense<double>, double> &a,
216  const view1D<vector<double>, double> &b,
217  view1D<matrix::Dense<double>, double> &y);
218 void sub(const view1D<matrix::Dense<double>, double> &a,
219  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
220 void sub(const view1D<matrix::Dense<double>, double> &a,
221  const view1D<matrix::Dense<double>, double> &b,
222  view1D<vector<double>, double> &y);
223 void sub(const view1D<matrix::Dense<double>, double> &a,
224  const view1D<matrix::Dense<double>, double> &b,
225  view1D<matrix::Dense<double>, double> &y);
226 void sub(const vector<float> &a, const vector<float> &b, vector<float> &y);
227 void sub(const vector<float> &a, const vector<float> &b,
228  view1D<vector<float>, float> &y);
229 void sub(const vector<float> &a, const vector<float> &b,
230  view1D<matrix::Dense<float>, float> &y);
231 void sub(const vector<float> &a, const view1D<vector<float>, float> &b,
232  vector<float> &y);
233 void sub(const vector<float> &a, const view1D<vector<float>, float> &b,
234  view1D<vector<float>, float> &y);
235 void sub(const vector<float> &a, const view1D<vector<float>, float> &b,
236  view1D<matrix::Dense<float>, float> &y);
237 void sub(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
238  vector<float> &y);
239 void sub(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
240  view1D<vector<float>, float> &y);
241 void sub(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
242  view1D<matrix::Dense<float>, float> &y);
243 void sub(const view1D<vector<float>, float> &a, const vector<float> &b,
244  vector<float> &y);
245 void sub(const view1D<vector<float>, float> &a, const vector<float> &b,
246  view1D<vector<float>, float> &y);
247 void sub(const view1D<vector<float>, float> &a, const vector<float> &b,
248  view1D<matrix::Dense<float>, float> &y);
249 void sub(const view1D<vector<float>, float> &a,
250  const view1D<vector<float>, float> &b, vector<float> &y);
251 void sub(const view1D<vector<float>, float> &a,
252  const view1D<vector<float>, float> &b,
253  view1D<vector<float>, float> &y);
254 void sub(const view1D<vector<float>, float> &a,
255  const view1D<vector<float>, float> &b,
256  view1D<matrix::Dense<float>, float> &y);
257 void sub(const view1D<vector<float>, float> &a,
258  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
259 void sub(const view1D<vector<float>, float> &a,
260  const view1D<matrix::Dense<float>, float> &b,
261  view1D<vector<float>, float> &y);
262 void sub(const view1D<vector<float>, float> &a,
263  const view1D<matrix::Dense<float>, float> &b,
264  view1D<matrix::Dense<float>, float> &y);
265 void sub(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
266  vector<float> &y);
267 void sub(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
268  view1D<vector<float>, float> &y);
269 void sub(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
270  view1D<matrix::Dense<float>, float> &y);
271 void sub(const view1D<matrix::Dense<float>, float> &a,
272  const view1D<vector<float>, float> &b, vector<float> &y);
273 void sub(const view1D<matrix::Dense<float>, float> &a,
274  const view1D<vector<float>, float> &b,
275  view1D<vector<float>, float> &y);
276 void sub(const view1D<matrix::Dense<float>, float> &a,
277  const view1D<vector<float>, float> &b,
278  view1D<matrix::Dense<float>, float> &y);
279 void sub(const view1D<matrix::Dense<float>, float> &a,
280  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
281 void sub(const view1D<matrix::Dense<float>, float> &a,
282  const view1D<matrix::Dense<float>, float> &b,
283  view1D<vector<float>, float> &y);
284 void sub(const view1D<matrix::Dense<float>, float> &a,
285  const view1D<matrix::Dense<float>, float> &b,
286  view1D<matrix::Dense<float>, float> &y);
287 
299 void mul(const vector<double> &a, const vector<double> &b, vector<double> &y);
300 void mul(const vector<double> &a, const vector<double> &b,
301  view1D<vector<double>, double> &y);
302 void mul(const vector<double> &a, const vector<double> &b,
303  view1D<matrix::Dense<double>, double> &y);
304 void mul(const vector<double> &a, const view1D<vector<double>, double> &b,
305  vector<double> &y);
306 void mul(const vector<double> &a, const view1D<vector<double>, double> &b,
307  view1D<vector<double>, double> &y);
308 void mul(const vector<double> &a, const view1D<vector<double>, double> &b,
309  view1D<matrix::Dense<double>, double> &y);
310 void mul(const vector<double> &a,
311  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
312 void mul(const vector<double> &a,
313  const view1D<matrix::Dense<double>, double> &b,
314  view1D<vector<double>, double> &y);
315 void mul(const vector<double> &a,
316  const view1D<matrix::Dense<double>, double> &b,
317  view1D<matrix::Dense<double>, double> &y);
318 void mul(const view1D<vector<double>, double> &a, const vector<double> &b,
319  vector<double> &y);
320 void mul(const view1D<vector<double>, double> &a, const vector<double> &b,
321  view1D<vector<double>, double> &y);
322 void mul(const view1D<vector<double>, double> &a, const vector<double> &b,
323  view1D<matrix::Dense<double>, double> &y);
324 void mul(const view1D<vector<double>, double> &a,
325  const view1D<vector<double>, double> &b, vector<double> &y);
326 void mul(const view1D<vector<double>, double> &a,
327  const view1D<vector<double>, double> &b,
328  view1D<vector<double>, double> &y);
329 void mul(const view1D<vector<double>, double> &a,
330  const view1D<vector<double>, double> &b,
331  view1D<matrix::Dense<double>, double> &y);
332 void mul(const view1D<vector<double>, double> &a,
333  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
334 void mul(const view1D<vector<double>, double> &a,
335  const view1D<matrix::Dense<double>, double> &b,
336  view1D<vector<double>, double> &y);
337 void mul(const view1D<vector<double>, double> &a,
338  const view1D<matrix::Dense<double>, double> &b,
339  view1D<matrix::Dense<double>, double> &y);
340 void mul(const view1D<matrix::Dense<double>, double> &a,
341  const vector<double> &b, vector<double> &y);
342 void mul(const view1D<matrix::Dense<double>, double> &a,
343  const vector<double> &b, view1D<vector<double>, double> &y);
344 void mul(const view1D<matrix::Dense<double>, double> &a,
345  const vector<double> &b, view1D<matrix::Dense<double>, double> &y);
346 void mul(const view1D<matrix::Dense<double>, double> &a,
347  const view1D<vector<double>, double> &b, vector<double> &y);
348 void mul(const view1D<matrix::Dense<double>, double> &a,
349  const view1D<vector<double>, double> &b,
350  view1D<vector<double>, double> &y);
351 void mul(const view1D<matrix::Dense<double>, double> &a,
352  const view1D<vector<double>, double> &b,
353  view1D<matrix::Dense<double>, double> &y);
354 void mul(const view1D<matrix::Dense<double>, double> &a,
355  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
356 void mul(const view1D<matrix::Dense<double>, double> &a,
357  const view1D<matrix::Dense<double>, double> &b,
358  view1D<vector<double>, double> &y);
359 void mul(const view1D<matrix::Dense<double>, double> &a,
360  const view1D<matrix::Dense<double>, double> &b,
361  view1D<matrix::Dense<double>, double> &y);
362 void mul(const vector<float> &a, const vector<float> &b, vector<float> &y);
363 void mul(const vector<float> &a, const vector<float> &b,
364  view1D<vector<float>, float> &y);
365 void mul(const vector<float> &a, const vector<float> &b,
366  view1D<matrix::Dense<float>, float> &y);
367 void mul(const vector<float> &a, const view1D<vector<float>, float> &b,
368  vector<float> &y);
369 void mul(const vector<float> &a, const view1D<vector<float>, float> &b,
370  view1D<vector<float>, float> &y);
371 void mul(const vector<float> &a, const view1D<vector<float>, float> &b,
372  view1D<matrix::Dense<float>, float> &y);
373 void mul(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
374  vector<float> &y);
375 void mul(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
376  view1D<vector<float>, float> &y);
377 void mul(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
378  view1D<matrix::Dense<float>, float> &y);
379 void mul(const view1D<vector<float>, float> &a, const vector<float> &b,
380  vector<float> &y);
381 void mul(const view1D<vector<float>, float> &a, const vector<float> &b,
382  view1D<vector<float>, float> &y);
383 void mul(const view1D<vector<float>, float> &a, const vector<float> &b,
384  view1D<matrix::Dense<float>, float> &y);
385 void mul(const view1D<vector<float>, float> &a,
386  const view1D<vector<float>, float> &b, vector<float> &y);
387 void mul(const view1D<vector<float>, float> &a,
388  const view1D<vector<float>, float> &b,
389  view1D<vector<float>, float> &y);
390 void mul(const view1D<vector<float>, float> &a,
391  const view1D<vector<float>, float> &b,
392  view1D<matrix::Dense<float>, float> &y);
393 void mul(const view1D<vector<float>, float> &a,
394  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
395 void mul(const view1D<vector<float>, float> &a,
396  const view1D<matrix::Dense<float>, float> &b,
397  view1D<vector<float>, float> &y);
398 void mul(const view1D<vector<float>, float> &a,
399  const view1D<matrix::Dense<float>, float> &b,
400  view1D<matrix::Dense<float>, float> &y);
401 void mul(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
402  vector<float> &y);
403 void mul(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
404  view1D<vector<float>, float> &y);
405 void mul(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
406  view1D<matrix::Dense<float>, float> &y);
407 void mul(const view1D<matrix::Dense<float>, float> &a,
408  const view1D<vector<float>, float> &b, vector<float> &y);
409 void mul(const view1D<matrix::Dense<float>, float> &a,
410  const view1D<vector<float>, float> &b,
411  view1D<vector<float>, float> &y);
412 void mul(const view1D<matrix::Dense<float>, float> &a,
413  const view1D<vector<float>, float> &b,
414  view1D<matrix::Dense<float>, float> &y);
415 void mul(const view1D<matrix::Dense<float>, float> &a,
416  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
417 void mul(const view1D<matrix::Dense<float>, float> &a,
418  const view1D<matrix::Dense<float>, float> &b,
419  view1D<vector<float>, float> &y);
420 void mul(const view1D<matrix::Dense<float>, float> &a,
421  const view1D<matrix::Dense<float>, float> &b,
422  view1D<matrix::Dense<float>, float> &y);
423 
435 void div(const vector<double> &a, const vector<double> &b, vector<double> &y);
436 void div(const vector<double> &a, const vector<double> &b,
437  view1D<vector<double>, double> &y);
438 void div(const vector<double> &a, const vector<double> &b,
439  view1D<matrix::Dense<double>, double> &y);
440 void div(const vector<double> &a, const view1D<vector<double>, double> &b,
441  vector<double> &y);
442 void div(const vector<double> &a, const view1D<vector<double>, double> &b,
443  view1D<vector<double>, double> &y);
444 void div(const vector<double> &a, const view1D<vector<double>, double> &b,
445  view1D<matrix::Dense<double>, double> &y);
446 void div(const vector<double> &a,
447  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
448 void div(const vector<double> &a,
449  const view1D<matrix::Dense<double>, double> &b,
450  view1D<vector<double>, double> &y);
451 void div(const vector<double> &a,
452  const view1D<matrix::Dense<double>, double> &b,
453  view1D<matrix::Dense<double>, double> &y);
454 void div(const view1D<vector<double>, double> &a, const vector<double> &b,
455  vector<double> &y);
456 void div(const view1D<vector<double>, double> &a, const vector<double> &b,
457  view1D<vector<double>, double> &y);
458 void div(const view1D<vector<double>, double> &a, const vector<double> &b,
459  view1D<matrix::Dense<double>, double> &y);
460 void div(const view1D<vector<double>, double> &a,
461  const view1D<vector<double>, double> &b, vector<double> &y);
462 void div(const view1D<vector<double>, double> &a,
463  const view1D<vector<double>, double> &b,
464  view1D<vector<double>, double> &y);
465 void div(const view1D<vector<double>, double> &a,
466  const view1D<vector<double>, double> &b,
467  view1D<matrix::Dense<double>, double> &y);
468 void div(const view1D<vector<double>, double> &a,
469  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
470 void div(const view1D<vector<double>, double> &a,
471  const view1D<matrix::Dense<double>, double> &b,
472  view1D<vector<double>, double> &y);
473 void div(const view1D<vector<double>, double> &a,
474  const view1D<matrix::Dense<double>, double> &b,
475  view1D<matrix::Dense<double>, double> &y);
476 void div(const view1D<matrix::Dense<double>, double> &a,
477  const vector<double> &b, vector<double> &y);
478 void div(const view1D<matrix::Dense<double>, double> &a,
479  const vector<double> &b, view1D<vector<double>, double> &y);
480 void div(const view1D<matrix::Dense<double>, double> &a,
481  const vector<double> &b, view1D<matrix::Dense<double>, double> &y);
482 void div(const view1D<matrix::Dense<double>, double> &a,
483  const view1D<vector<double>, double> &b, vector<double> &y);
484 void div(const view1D<matrix::Dense<double>, double> &a,
485  const view1D<vector<double>, double> &b,
486  view1D<vector<double>, double> &y);
487 void div(const view1D<matrix::Dense<double>, double> &a,
488  const view1D<vector<double>, double> &b,
489  view1D<matrix::Dense<double>, double> &y);
490 void div(const view1D<matrix::Dense<double>, double> &a,
491  const view1D<matrix::Dense<double>, double> &b, vector<double> &y);
492 void div(const view1D<matrix::Dense<double>, double> &a,
493  const view1D<matrix::Dense<double>, double> &b,
494  view1D<vector<double>, double> &y);
495 void div(const view1D<matrix::Dense<double>, double> &a,
496  const view1D<matrix::Dense<double>, double> &b,
497  view1D<matrix::Dense<double>, double> &y);
498 void div(const vector<float> &a, const vector<float> &b, vector<float> &y);
499 void div(const vector<float> &a, const vector<float> &b,
500  view1D<vector<float>, float> &y);
501 void div(const vector<float> &a, const vector<float> &b,
502  view1D<matrix::Dense<float>, float> &y);
503 void div(const vector<float> &a, const view1D<vector<float>, float> &b,
504  vector<float> &y);
505 void div(const vector<float> &a, const view1D<vector<float>, float> &b,
506  view1D<vector<float>, float> &y);
507 void div(const vector<float> &a, const view1D<vector<float>, float> &b,
508  view1D<matrix::Dense<float>, float> &y);
509 void div(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
510  vector<float> &y);
511 void div(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
512  view1D<vector<float>, float> &y);
513 void div(const vector<float> &a, const view1D<matrix::Dense<float>, float> &b,
514  view1D<matrix::Dense<float>, float> &y);
515 void div(const view1D<vector<float>, float> &a, const vector<float> &b,
516  vector<float> &y);
517 void div(const view1D<vector<float>, float> &a, const vector<float> &b,
518  view1D<vector<float>, float> &y);
519 void div(const view1D<vector<float>, float> &a, const vector<float> &b,
520  view1D<matrix::Dense<float>, float> &y);
521 void div(const view1D<vector<float>, float> &a,
522  const view1D<vector<float>, float> &b, vector<float> &y);
523 void div(const view1D<vector<float>, float> &a,
524  const view1D<vector<float>, float> &b,
525  view1D<vector<float>, float> &y);
526 void div(const view1D<vector<float>, float> &a,
527  const view1D<vector<float>, float> &b,
528  view1D<matrix::Dense<float>, float> &y);
529 void div(const view1D<vector<float>, float> &a,
530  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
531 void div(const view1D<vector<float>, float> &a,
532  const view1D<matrix::Dense<float>, float> &b,
533  view1D<vector<float>, float> &y);
534 void div(const view1D<vector<float>, float> &a,
535  const view1D<matrix::Dense<float>, float> &b,
536  view1D<matrix::Dense<float>, float> &y);
537 void div(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
538  vector<float> &y);
539 void div(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
540  view1D<vector<float>, float> &y);
541 void div(const view1D<matrix::Dense<float>, float> &a, const vector<float> &b,
542  view1D<matrix::Dense<float>, float> &y);
543 void div(const view1D<matrix::Dense<float>, float> &a,
544  const view1D<vector<float>, float> &b, vector<float> &y);
545 void div(const view1D<matrix::Dense<float>, float> &a,
546  const view1D<vector<float>, float> &b,
547  view1D<vector<float>, float> &y);
548 void div(const view1D<matrix::Dense<float>, float> &a,
549  const view1D<vector<float>, float> &b,
550  view1D<matrix::Dense<float>, float> &y);
551 void div(const view1D<matrix::Dense<float>, float> &a,
552  const view1D<matrix::Dense<float>, float> &b, vector<float> &y);
553 void div(const view1D<matrix::Dense<float>, float> &a,
554  const view1D<matrix::Dense<float>, float> &b,
555  view1D<vector<float>, float> &y);
556 void div(const view1D<matrix::Dense<float>, float> &a,
557  const view1D<matrix::Dense<float>, float> &b,
558  view1D<matrix::Dense<float>, float> &y);
559 
571 void add(const vector<double> &a, const double alpha, vector<double> &y);
572 void add(const vector<double> &a, const double alpha,
573  view1D<vector<double>, double> &y);
574 void add(const view1D<vector<double>, double> &a, const double alpha,
575  vector<double> &y);
576 void add(const view1D<vector<double>, double> &a, const double alpha,
577  view1D<vector<double>, double> &y);
578 void add(const vector<float> &a, const float alpha, vector<float> &y);
579 void add(const vector<float> &a, const float alpha,
580  view1D<vector<float>, float> &y);
581 void add(const view1D<vector<float>, float> &a, const float alpha,
582  vector<float> &y);
583 void add(const view1D<vector<float>, float> &a, const float alpha,
584  view1D<vector<float>, float> &y);
585 
597 void sub(const vector<double> &a, const double alpha, vector<double> &y);
598 void sub(const vector<double> &a, const double alpha,
599  view1D<vector<double>, double> &y);
600 void sub(const view1D<vector<double>, double> &a, const double alpha,
601  vector<double> &y);
602 void sub(const view1D<vector<double>, double> &a, const double alpha,
603  view1D<vector<double>, double> &y);
604 void sub(const vector<float> &a, const float alpha, vector<float> &y);
605 void sub(const vector<float> &a, const float alpha,
606  view1D<vector<float>, float> &y);
607 void sub(const view1D<vector<float>, float> &a, const float alpha,
608  vector<float> &y);
609 void sub(const view1D<vector<float>, float> &a, const float alpha,
610  view1D<vector<float>, float> &y);
611 
623 void mul(const vector<double> &a, const double alpha, vector<double> &y);
624 void mul(const vector<double> &a, const double alpha,
625  view1D<vector<double>, double> &y);
626 void mul(const view1D<vector<double>, double> &a, const double alpha,
627  vector<double> &y);
628 void mul(const view1D<vector<double>, double> &a, const double alpha,
629  view1D<vector<double>, double> &y);
630 void mul(const vector<float> &a, const float alpha, vector<float> &y);
631 void mul(const vector<float> &a, const float alpha,
632  view1D<vector<float>, float> &y);
633 void mul(const view1D<vector<float>, float> &a, const float alpha,
634  vector<float> &y);
635 void mul(const view1D<vector<float>, float> &a, const float alpha,
636  view1D<vector<float>, float> &y);
637 
649 void div(const vector<double> &a, const double alpha, vector<double> &y);
650 void div(const vector<double> &a, const double alpha,
651  view1D<vector<double>, double> &y);
652 void div(const view1D<vector<double>, double> &a, const double alpha,
653  vector<double> &y);
654 void div(const view1D<vector<double>, double> &a, const double alpha,
655  view1D<vector<double>, double> &y);
656 void div(const vector<float> &a, const float alpha, vector<float> &y);
657 void div(const vector<float> &a, const float alpha,
658  view1D<vector<float>, float> &y);
659 void div(const view1D<vector<float>, float> &a, const float alpha,
660  vector<float> &y);
661 void div(const view1D<vector<float>, float> &a, const float alpha,
662  view1D<vector<float>, float> &y);
663 
676 void pow(const vector<double> &a, const vector<double> &b, vector<double> &y);
677 void pow(const vector<double> &a, const vector<double> &b,
678  view1D<vector<double>, double> &y);
679 void pow(const vector<double> &a, const view1D<vector<double>, double> &b,
680  vector<double> &y);
681 void pow(const vector<double> &a, const view1D<vector<double>, double> &b,
682  view1D<vector<double>, double> &y);
683 void pow(const view1D<vector<double>, double> &a, const vector<double> &b,
684  vector<double> &y);
685 void pow(const view1D<vector<double>, double> &a, const vector<double> &b,
686  view1D<vector<double>, double> &y);
687 void pow(const view1D<vector<double>, double> &a,
688  const view1D<vector<double>, double> &b, vector<double> &y);
689 void pow(const view1D<vector<double>, double> &a,
690  const view1D<vector<double>, double> &b,
691  view1D<vector<double>, double> &y);
692 void pow(const vector<float> &a, const vector<float> &b, vector<float> &y);
693 void pow(const vector<float> &a, const vector<float> &b,
694  view1D<vector<float>, float> &y);
695 void pow(const vector<float> &a, const view1D<vector<float>, float> &b,
696  vector<float> &y);
697 void pow(const vector<float> &a, const view1D<vector<float>, float> &b,
698  view1D<vector<float>, float> &y);
699 void pow(const view1D<vector<float>, float> &a, const vector<float> &b,
700  vector<float> &y);
701 void pow(const view1D<vector<float>, float> &a, const vector<float> &b,
702  view1D<vector<float>, float> &y);
703 void pow(const view1D<vector<float>, float> &a,
704  const view1D<vector<float>, float> &b, vector<float> &y);
705 void pow(const view1D<vector<float>, float> &a,
706  const view1D<vector<float>, float> &b,
707  view1D<vector<float>, float> &y);
708 
721 void pow(const vector<double> &a, const double alpha, vector<double> &y);
722 void pow(const vector<double> &a, const double alpha,
723  view1D<vector<double>, double> &y);
724 void pow(const view1D<vector<double>, double> &a, const double alpha,
725  vector<double> &y);
726 void pow(const view1D<vector<double>, double> &a, const double alpha,
727  view1D<vector<double>, double> &y);
728 void pow(const vector<float> &a, const float alpha, vector<float> &y);
729 void pow(const vector<float> &a, const float alpha,
730  view1D<vector<float>, float> &y);
731 void pow(const view1D<vector<float>, float> &a, const float alpha,
732  vector<float> &y);
733 void pow(const view1D<vector<float>, float> &a, const float alpha,
734  view1D<vector<float>, float> &y);
735 
745 void sin(const vector<double> &a, vector<double> &y);
746 void sin(const vector<double> &a, view1D<vector<double>, double> &y);
747 void sin(const view1D<vector<double>, double> &a, vector<double> &y);
748 void sin(const view1D<vector<double>, double> &a,
749  view1D<vector<double>, double> &y);
750 void sin(const vector<float> &a, vector<float> &y);
751 void sin(const vector<float> &a, view1D<vector<float>, float> &y);
752 void sin(const view1D<vector<float>, float> &a, vector<float> &y);
753 void sin(const view1D<vector<float>, float> &a,
754  view1D<vector<float>, float> &y);
755 
765 void sqrt(const vector<double> &a, vector<double> &y);
766 void sqrt(const vector<double> &a, view1D<vector<double>, double> &y);
767 void sqrt(const view1D<vector<double>, double> &a, vector<double> &y);
768 void sqrt(const view1D<vector<double>, double> &a,
769  view1D<vector<double>, double> &y);
770 void sqrt(const vector<float> &a, vector<float> &y);
771 void sqrt(const vector<float> &a, view1D<vector<float>, float> &y);
772 void sqrt(const view1D<vector<float>, float> &a, vector<float> &y);
773 void sqrt(const view1D<vector<float>, float> &a,
774  view1D<vector<float>, float> &y);
775 
785 void sinh(const vector<double> &a, vector<double> &y);
786 void sinh(const vector<double> &a, view1D<vector<double>, double> &y);
787 void sinh(const view1D<vector<double>, double> &a, vector<double> &y);
788 void sinh(const view1D<vector<double>, double> &a,
789  view1D<vector<double>, double> &y);
790 void sinh(const vector<float> &a, vector<float> &y);
791 void sinh(const vector<float> &a, view1D<vector<float>, float> &y);
792 void sinh(const view1D<vector<float>, float> &a, vector<float> &y);
793 void sinh(const view1D<vector<float>, float> &a,
794  view1D<vector<float>, float> &y);
795 
805 void asin(const vector<double> &a, vector<double> &y);
806 void asin(const vector<double> &a, view1D<vector<double>, double> &y);
807 void asin(const view1D<vector<double>, double> &a, vector<double> &y);
808 void asin(const view1D<vector<double>, double> &a,
809  view1D<vector<double>, double> &y);
810 void asin(const vector<float> &a, vector<float> &y);
811 void asin(const vector<float> &a, view1D<vector<float>, float> &y);
812 void asin(const view1D<vector<float>, float> &a, vector<float> &y);
813 void asin(const view1D<vector<float>, float> &a,
814  view1D<vector<float>, float> &y);
815 
825 void asinh(const vector<double> &a, vector<double> &y);
826 void asinh(const vector<double> &a, view1D<vector<double>, double> &y);
827 void asinh(const view1D<vector<double>, double> &a, vector<double> &y);
828 void asinh(const view1D<vector<double>, double> &a,
829  view1D<vector<double>, double> &y);
830 void asinh(const vector<float> &a, vector<float> &y);
831 void asinh(const vector<float> &a, view1D<vector<float>, float> &y);
832 void asinh(const view1D<vector<float>, float> &a, vector<float> &y);
833 void asinh(const view1D<vector<float>, float> &a,
834  view1D<vector<float>, float> &y);
835 
845 void tan(const vector<double> &a, vector<double> &y);
846 void tan(const vector<double> &a, view1D<vector<double>, double> &y);
847 void tan(const view1D<vector<double>, double> &a, vector<double> &y);
848 void tan(const view1D<vector<double>, double> &a,
849  view1D<vector<double>, double> &y);
850 void tan(const vector<float> &a, vector<float> &y);
851 void tan(const vector<float> &a, view1D<vector<float>, float> &y);
852 void tan(const view1D<vector<float>, float> &a, vector<float> &y);
853 void tan(const view1D<vector<float>, float> &a,
854  view1D<vector<float>, float> &y);
855 
865 void tanh(const vector<double> &a, vector<double> &y);
866 void tanh(const vector<double> &a, view1D<vector<double>, double> &y);
867 void tanh(const view1D<vector<double>, double> &a, vector<double> &y);
868 void tanh(const view1D<vector<double>, double> &a,
869  view1D<vector<double>, double> &y);
870 void tanh(const vector<float> &a, vector<float> &y);
871 void tanh(const vector<float> &a, view1D<vector<float>, float> &y);
872 void tanh(const view1D<vector<float>, float> &a, vector<float> &y);
873 void tanh(const view1D<vector<float>, float> &a,
874  view1D<vector<float>, float> &y);
875 
885 void atan(const vector<double> &a, vector<double> &y);
886 void atan(const vector<double> &a, view1D<vector<double>, double> &y);
887 void atan(const view1D<vector<double>, double> &a, vector<double> &y);
888 void atan(const view1D<vector<double>, double> &a,
889  view1D<vector<double>, double> &y);
890 void atan(const vector<float> &a, vector<float> &y);
891 void atan(const vector<float> &a, view1D<vector<float>, float> &y);
892 void atan(const view1D<vector<float>, float> &a, vector<float> &y);
893 void atan(const view1D<vector<float>, float> &a,
894  view1D<vector<float>, float> &y);
895 
905 void atanh(const vector<double> &a, vector<double> &y);
906 void atanh(const vector<double> &a, view1D<vector<double>, double> &y);
907 void atanh(const view1D<vector<double>, double> &a, vector<double> &y);
908 void atanh(const view1D<vector<double>, double> &a,
909  view1D<vector<double>, double> &y);
910 void atanh(const vector<float> &a, vector<float> &y);
911 void atanh(const vector<float> &a, view1D<vector<float>, float> &y);
912 void atanh(const view1D<vector<float>, float> &a, vector<float> &y);
913 void atanh(const view1D<vector<float>, float> &a,
914  view1D<vector<float>, float> &y);
915 
925 void ceil(const vector<double> &a, vector<double> &y);
926 void ceil(const vector<double> &a, view1D<vector<double>, double> &y);
927 void ceil(const view1D<vector<double>, double> &a, vector<double> &y);
928 void ceil(const view1D<vector<double>, double> &a,
929  view1D<vector<double>, double> &y);
930 void ceil(const vector<float> &a, vector<float> &y);
931 void ceil(const vector<float> &a, view1D<vector<float>, float> &y);
932 void ceil(const view1D<vector<float>, float> &a, vector<float> &y);
933 void ceil(const view1D<vector<float>, float> &a,
934  view1D<vector<float>, float> &y);
935 
945 void floor(const vector<double> &a, vector<double> &y);
946 void floor(const vector<double> &a, view1D<vector<double>, double> &y);
947 void floor(const view1D<vector<double>, double> &a, vector<double> &y);
948 void floor(const view1D<vector<double>, double> &a,
949  view1D<vector<double>, double> &y);
950 void floor(const vector<float> &a, vector<float> &y);
951 void floor(const vector<float> &a, view1D<vector<float>, float> &y);
952 void floor(const view1D<vector<float>, float> &a, vector<float> &y);
953 void floor(const view1D<vector<float>, float> &a,
954  view1D<vector<float>, float> &y);
955 
965 void sign(const vector<double> &a, vector<double> &y);
966 void sign(const vector<double> &a, view1D<vector<double>, double> &y);
967 void sign(const view1D<vector<double>, double> &a, vector<double> &y);
968 void sign(const view1D<vector<double>, double> &a,
969  view1D<vector<double>, double> &y);
970 void sign(const vector<float> &a, vector<float> &y);
971 void sign(const vector<float> &a, view1D<vector<float>, float> &y);
972 void sign(const view1D<vector<float>, float> &a, vector<float> &y);
973 void sign(const view1D<vector<float>, float> &a,
974  view1D<vector<float>, float> &y);
975 
988 void max(const vector<double> &a, const vector<double> &b, vector<double> &y);
989 void max(const vector<double> &a, const vector<double> &b,
990  view1D<vector<double>, double> &y);
991 void max(const vector<double> &a, const view1D<vector<double>, double> &b,
992  vector<double> &y);
993 void max(const vector<double> &a, const view1D<vector<double>, double> &b,
994  view1D<vector<double>, double> &y);
995 void max(const view1D<vector<double>, double> &a, const vector<double> &b,
996  vector<double> &y);
997 void max(const view1D<vector<double>, double> &a, const vector<double> &b,
998  view1D<vector<double>, double> &y);
999 void max(const view1D<vector<double>, double> &a,
1000  const view1D<vector<double>, double> &b, vector<double> &y);
1001 void max(const view1D<vector<double>, double> &a,
1002  const view1D<vector<double>, double> &b,
1003  view1D<vector<double>, double> &y);
1004 void max(const vector<float> &a, const vector<float> &b, vector<float> &y);
1005 void max(const vector<float> &a, const vector<float> &b,
1006  view1D<vector<float>, float> &y);
1007 void max(const vector<float> &a, const view1D<vector<float>, float> &b,
1008  vector<float> &y);
1009 void max(const vector<float> &a, const view1D<vector<float>, float> &b,
1010  view1D<vector<float>, float> &y);
1011 void max(const view1D<vector<float>, float> &a, const vector<float> &b,
1012  vector<float> &y);
1013 void max(const view1D<vector<float>, float> &a, const vector<float> &b,
1014  view1D<vector<float>, float> &y);
1015 void max(const view1D<vector<float>, float> &a,
1016  const view1D<vector<float>, float> &b, vector<float> &y);
1017 void max(const view1D<vector<float>, float> &a,
1018  const view1D<vector<float>, float> &b,
1019  view1D<vector<float>, float> &y);
1020 
1033 void min(const vector<double> &a, const vector<double> &b, vector<double> &y);
1034 void min(const vector<double> &a, const vector<double> &b,
1035  view1D<vector<double>, double> &y);
1036 void min(const vector<double> &a, const view1D<vector<double>, double> &b,
1037  vector<double> &y);
1038 void min(const vector<double> &a, const view1D<vector<double>, double> &b,
1039  view1D<vector<double>, double> &y);
1040 void min(const view1D<vector<double>, double> &a, const vector<double> &b,
1041  vector<double> &y);
1042 void min(const view1D<vector<double>, double> &a, const vector<double> &b,
1043  view1D<vector<double>, double> &y);
1044 void min(const view1D<vector<double>, double> &a,
1045  const view1D<vector<double>, double> &b, vector<double> &y);
1046 void min(const view1D<vector<double>, double> &a,
1047  const view1D<vector<double>, double> &b,
1048  view1D<vector<double>, double> &y);
1049 void min(const vector<float> &a, const vector<float> &b, vector<float> &y);
1050 void min(const vector<float> &a, const vector<float> &b,
1051  view1D<vector<float>, float> &y);
1052 void min(const vector<float> &a, const view1D<vector<float>, float> &b,
1053  vector<float> &y);
1054 void min(const vector<float> &a, const view1D<vector<float>, float> &b,
1055  view1D<vector<float>, float> &y);
1056 void min(const view1D<vector<float>, float> &a, const vector<float> &b,
1057  vector<float> &y);
1058 void min(const view1D<vector<float>, float> &a, const vector<float> &b,
1059  view1D<vector<float>, float> &y);
1060 void min(const view1D<vector<float>, float> &a,
1061  const view1D<vector<float>, float> &b, vector<float> &y);
1062 void min(const view1D<vector<float>, float> &a,
1063  const view1D<vector<float>, float> &b,
1064  view1D<vector<float>, float> &y);
1065 
1075 double max(const vector<double> &y);
1076 double max(const view1D<vector<double>, double> &y);
1077 double max(const view1D<matrix::Dense<double>, double> &y);
1078 float max(const vector<float> &y);
1079 float max(const view1D<vector<float>, float> &y);
1080 float max(const view1D<matrix::Dense<float>, float> &y);
1081 
1091 double min(const vector<double> &y);
1092 double min(const view1D<vector<double>, double> &y);
1093 double min(const view1D<matrix::Dense<double>, double> &y);
1094 float min(const vector<float> &y);
1095 float min(const view1D<vector<float>, float> &y);
1096 float min(const view1D<matrix::Dense<float>, float> &y);
1097 
1107 void reciprocal(const vector<double> &a, vector<double> &y);
1108 void reciprocal(const vector<double> &a, view1D<vector<double>, double> &y);
1109 void reciprocal(const vector<double> &a,
1110  view1D<matrix::Dense<double>, double> &y);
1111 void reciprocal(const view1D<vector<double>, double> &a, vector<double> &y);
1112 void reciprocal(const view1D<vector<double>, double> &a,
1113  view1D<vector<double>, double> &y);
1114 void reciprocal(const view1D<vector<double>, double> &a,
1115  view1D<matrix::Dense<double>, double> &y);
1116 void reciprocal(const view1D<matrix::Dense<double>, double> &a,
1117  vector<double> &y);
1118 void reciprocal(const view1D<matrix::Dense<double>, double> &a,
1119  view1D<vector<double>, double> &y);
1120 void reciprocal(const view1D<matrix::Dense<double>, double> &a,
1121  view1D<matrix::Dense<double>, double> &y);
1122 void reciprocal(const vector<float> &a, vector<float> &y);
1123 void reciprocal(const vector<float> &a, view1D<vector<float>, float> &y);
1124 void reciprocal(const vector<float> &a, view1D<matrix::Dense<float>, float> &y);
1125 void reciprocal(const view1D<vector<float>, float> &a, vector<float> &y);
1126 void reciprocal(const view1D<vector<float>, float> &a,
1127  view1D<vector<float>, float> &y);
1128 void reciprocal(const view1D<vector<float>, float> &a,
1129  view1D<matrix::Dense<float>, float> &y);
1130 void reciprocal(const view1D<matrix::Dense<float>, float> &a, vector<float> &y);
1131 void reciprocal(const view1D<matrix::Dense<float>, float> &a,
1132  view1D<vector<float>, float> &y);
1133 void reciprocal(const view1D<matrix::Dense<float>, float> &a,
1134  view1D<matrix::Dense<float>, float> &y);
1135 
1136 } // namespace vml
1137 } // namespace monolish
monolish::vml::ceil
void ceil(const matrix::CRS< double > &A, matrix::CRS< double > &C)
ceil to CRS matrix elements (C[0:nnz] = ceil(A[0:nnz]))
Definition: matrix_vml.cpp:357
monolish::vml::min
void min(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
Create a new CRS matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz],...
Definition: matrix_vml.cpp:390
monolish::vml::asinh
void asinh(const matrix::CRS< double > &A, matrix::CRS< double > &C)
asinh to CRS matrix elements (C[0:nnz] = asinh(A[0:nnz]))
Definition: matrix_vml.cpp:327
monolish::vml::max
void max(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
Create a new CRS matrix with greatest elements of two matrices (C[0:nnz] = max(A[0:nnz],...
Definition: matrix_vml.cpp:382
monolish::vml::sub
void sub(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element subtract CRS matrix A and CRS matrix B.
Definition: matrix_vml.cpp:228
monolish::vml::sinh
void sinh(const matrix::CRS< double > &A, matrix::CRS< double > &C)
sinh to CRS matrix elements (C[0:nnz] = sinh(A[0:nnz]))
Definition: matrix_vml.cpp:315
monolish::vml::sqrt
void sqrt(const matrix::CRS< double > &A, matrix::CRS< double > &C)
sqrt to CRS matrix elements (C[0:nnz] = sqrt(A[0:nnz]))
Definition: matrix_vml.cpp:309
monolish::vml::reciprocal
void reciprocal(const matrix::CRS< double > &a, matrix::CRS< double > &y)
reciprocal to CRS matrix elements (C[0:nnz] = 1 / A[0:nnz])
Definition: matrix_vml.cpp:375
monolish::vml::sign
void sign(const matrix::CRS< double > &A, matrix::CRS< double > &C)
sign to CRS matrix elements (C[0:nnz] = sign(A[0:nnz]))
Definition: matrix_vml.cpp:369
monolish
Definition: monolish_matrix_blas.hpp:9
monolish::vml::floor
void floor(const matrix::CRS< double > &A, matrix::CRS< double > &C)
floor to CRS matrix elements (C[0:nnz] = floor(A[0:nnz]))
Definition: matrix_vml.cpp:363
monolish::vml::div
void div(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element division CRS matrix A and CRS matrix B.
Definition: matrix_vml.cpp:244
monolish::vml::tan
void tan(const matrix::CRS< double > &A, matrix::CRS< double > &C)
tan to CRS matrix elements (C[0:nnz] = tan(A[0:nnz]))
Definition: matrix_vml.cpp:333
monolish::vml::add
void add(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element addition CRS matrix A and CRS matrix B.
Definition: matrix_vml.cpp:220
monolish::vml::tanh
void tanh(const matrix::CRS< double > &A, matrix::CRS< double > &C)
tanh to CRS matrix elements (C[0:nnz] = tanh(A[0:nnz]))
Definition: matrix_vml.cpp:339
monolish::vml::pow
void pow(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
power to CRS matrix elements CRS matrix (C[0:N] = pow(A[0:N], B[0:N]))
Definition: matrix_vml.cpp:286
monolish::vml::mul
void mul(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element multiplication CRS matrix A and CRS matrix B.
Definition: matrix_vml.cpp:236
monolish::vml::sin
void sin(const matrix::CRS< double > &A, matrix::CRS< double > &C)
sin to CRS matrix elements (C[0:nnz] = sin(A[0:nnz]))
Definition: matrix_vml.cpp:303
monolish::vml::atanh
void atanh(const matrix::CRS< double > &A, matrix::CRS< double > &C)
atanh to CRS matrix elements (C[0:nnz] = atanh(A[0:nnz]))
Definition: matrix_vml.cpp:351
monolish::vml::asin
void asin(const matrix::CRS< double > &A, matrix::CRS< double > &C)
asin to CRS matrix elements (C[0:nnz] = asin(A[0:nnz]))
Definition: matrix_vml.cpp:321
monolish::vml::atan
void atan(const matrix::CRS< double > &A, matrix::CRS< double > &C)
atan to CRS matrix elements (C[0:nnz] = atan(A[0:nnz]))
Definition: matrix_vml.cpp:345