Table of Contents

Mojo function

pack_B

fn pack_B[Type: DType, //, kc: Int, nr: Int](Bc_buffer: UnsafePointer[Scalar[Type], MutAnyOrigin], Bc: Matrix[Type]) -> Matrix[Type]

Parameters:

  • Type (DType)
  • kc (Int)
  • nr (Int)

Args:

  • Bc_buffer (UnsafePointer[Scalar[Type], MutAnyOrigin])
  • Bc (Matrix[Type])

Returns:

Matrix[Type]