- TrainSum.sin(grid, factor, offset)
\(f(x)=\sin{\left(a(x-x_0)\right)}\).
Construct a quantics tensor train representing a sine on the given grid. The provided grid has to be one-dimensional.The resulting TensorTrain will have the rank 2.
- Parameters:
grid (UniformGrid)
factor (float)
offset (float)
- Return type: