- TrainSum.exp(grid, factor, offset)
\(f(x)=e^{a(x-x_0)}\).
Construct a quantics tensor train representing an exponential function. The provided grid has to be one-dimensional. The resulting TensorTrain will have rank one.
- Parameters:
grid (UniformGrid)
factor (float)
offset (float)
- Return type: