20 #include <tensor/tensor.h>
26 conj(
const Tensor<cdouble> &t)
28 Tensor<cdouble> output(t.dimensions());
29 Tensor<cdouble>::iterator a = output.
begin();
30 Tensor<cdouble>::const_iterator b = t.begin();
31 for (; b != t.end(); a++, b++) {
iterator begin()
Iterator at the beginning.
const RTensor conj(const RTensor &r)
Complex conjugate of a real tensor.