20 #include "tensor_foldin.cc"
38 do_foldin_into(output, a, _ndx1, b, _ndx2);
50 do_foldin_into(output, a, _ndx1, b, _ndx2);
void foldin_into(Tensor< cdouble > &output, const Tensor< cdouble > &a, int _ndx1, const Tensor< cdouble > &b, int _ndx2)
Similar to foldin(), but the output has been preallocated.
const Tensor< cdouble > foldin(const Tensor< cdouble > &a, int _ndx1, const Tensor< cdouble > &b, int _ndx2)
Contraction of two tensors with complex conjugation.