Template Function gamer::Alt¶
Defined in File tensor.h
Function Documentation¶
-
template<typename
ElemType
, std::size_tD
, std::size_tN
>
tensor<ElemType, D, N>gamer
::
Alt
(const tensor<ElemType, D, N> &A)¶ Alternize a tensor.
- Return
Alternating tensor
- Parameters
[in] A
: Tensor to alternatize
- Template Parameters
ElemType
: Typename of tensor elementsD
: Vector dimension of the tensorN
: Rank of the tensor