cr.sparse.vec_repeat_at_start_jit

cr.sparse.vec_repeat_at_start_jit(x, p)

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