sisi4s
Loading...
Searching...
No Matches
ComplexTensor.hpp File Reference
#include <math/Complex.hpp>
#include <util/Tensor.hpp>
Include dependency graph for ComplexTensor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sisi4s
 

Functions

void sisi4s::fromComplexTensor (Tensor< complex > &c, Tensor< double > &r, Tensor< double > &i)
 Decomposes the tensor of complex elements into two tensors containing the real and imaginary parts, respectively.
 
void sisi4s::fromComplexTensor (Tensor< double > &c, Tensor< double > &r, Tensor< double > &i)
 
void sisi4s::fromComplexTensor (Tensor< complex > &c, Tensor< double > &r)
 Discards the real part of a complex tensor.
 
void sisi4s::toComplexTensor (Tensor< double > &r, Tensor< double > &i, Tensor< complex > &c)
 Composes a tensor of complex elements containing of the given tensors of real and imaginary parts. Note that in this overload the imaginary part may be redistributed during reading.
 
void sisi4s::toComplexTensor (Tensor< double > &r, Tensor< complex > &c)
 
void sisi4s::toComplexTensor (Tensor< double > &r, Tensor< double > &c)
 
void sisi4s::conjugate (Tensor< double > &c)
 
void sisi4s::conjugate (Tensor< complex > &c)