在 Breeze CSCMatrix 中广播?

Broadcasting in Breeze CSCMatrix?

是否可以在 Breeze CSCMatrix 对象中使用广播? 在 DenseMatrix m 上,广播工作如下:

sum(m(::, *)

然而,对 CSCMatrix m 的相同操作会产生此错误:

scala> sum(m(0 to m.rows - 1, *))
<console>:15: error: could not find implicit value for parameter canSlice:  breeze.linalg.support.CanSlice2[breeze.linalg.CSCMatrix[Int],scala.collection.immutable.Range.Inclusive,breeze.linalg.*.type,Result]

CSCMatrix 的切片和广播还没有充实,抱歉。