vt::vander#
-
template<typename T, size_t N>
Tensor<T, N + 1> vt::vander(const Tensor<T, N> &x, const int degree)# Compute the Vandermonde matrix of a tensor.
- Template Parameters:
T – Data type of the tensor.
N – Number of dimensions of the tensor.
- Parameters:
x – Tensor object.
degree – The degree of the Vandermonde matrix.
- Returns:
Tensor<T, 0>: The result tensor.