@@ -270,13 +270,6 @@ namespace oneapi {
270
270
template <class T, std::size_t NumElements>
271
271
marray<T, NumElements> get_imag(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input);
272
272
273
- // return element of component
274
- template <class T, std::size_t NumElements>
275
- T get_real(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index);
276
-
277
- template <class T, std::size_t NumElements>
278
- T get_imag(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index);
279
-
280
273
// return sequence of elements of component
281
274
template <class T, std::size_t NumElements, std::size_t... I>
282
275
marray<T, int_seq::size()> get_real(const marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::integer_sequence<std::size_t, I...> int_seq);
@@ -298,12 +291,6 @@ namespace oneapi {
298
291
template <class T, std::size_t NumElements>
299
292
void set_imag(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, const T value);
300
293
301
- template <class T, std::size_t NumElements>
302
- void set_real(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index, const T value);
303
-
304
- template <class T, std::size_t NumElements>
305
- void set_imag(marray<sycl::ext::oneapi::complex<T>, NumElements> &input, std::size_t index, const T value);
306
-
307
294
} // namespace oneapi
308
295
} // namespace ext
309
296
} // namespace sycl
@@ -359,10 +346,6 @@ functions are removed and the underlying function defintion stays the same.
359
346
|Returns an marray of the real components for marray of complex numbers.
360
347
|`mgenfloat get_imag(const mgencomplex& x);`
361
348
|Returns an marray of the imaginary components for marray of complex numbers.
362
- |`mgenfloat get_real(const mgencomplex& x, std::size_t idx);`
363
- |Returns the real component of the complex number for element idx in marray x.
364
- |`mgenfloat get_imag(const mgencomplex& x, std::size_t idx);`
365
- |Returns the imaginary component of the complex number for element idx in marray x.
366
349
|`mgenfloat get_real(const mgencomplex& x, std::integer_sequence int_seq);`
367
350
|Returns a sequence of real components of the complex number x. Each element should be constructed from the corresponding index within `int_seq` and the returned marray size should be the same as the `int_seq` size.
368
351
|`mgenfloat get_imag(const mgencomplex& x, std::integer_sequence int_seq);`
@@ -375,10 +358,6 @@ functions are removed and the underlying function defintion stays the same.
375
358
|Set each element of the real components in x to the decimal number y.
376
359
|`void set_imag(mgencomplex& x, const genfloat& y);`
377
360
|Set each element of the imaginary components in x to the decimal number y.
378
- |`void set_real(mgencomplex& x, std::size_t idx, const genfloat& y);`
379
- |Set the real value of element idx in x to the decimal number y.
380
- |`void set_imag(mgencomplex& x, std::size_t idx, const genfloat& y);`
381
- |Set the imaginary value of element idx in x to the decimal number y.
382
361
|===
383
362
384
363
=== Mathematical operations
0 commit comments