warp.sparse.bsr_scale#

warp.sparse.bsr_scale(x, alpha)[source]#

Perform the operation x := alpha * x on BSR matrix x and return x.

Parameters:
  • x (BsrMatrix[BlockType] | _BsrExpression[BlockType])

  • alpha (Scalar)

Return type:

BsrMatrix