cr.sparse.vec_repeat_at_start

cr.sparse.vec_repeat_at_start(x, p)[source]

Extends a vector by repeating it at the start (periodic extension)

Parameters
  • x (jax.numpy.ndarray) – A line vector.

  • p (int) – Number of samples by which x will be extended.

Returns

x extended periodically at the start.

Return type

jax.numpy.ndarray