f:T =>:Double和f:T => Double有什么区别?

时间:2019-07-05 02:42:48

标签: scala types

对于下面的部分,我看到了书名“ Scala:应用机器学习”:

def statistics[T<:AnyVal](xt:XVSeries[T](implicit f:T=>:Double):Vector[Stats[T]]=xt.transpose.map(Stats[T](_))
def normalize[T<:AnyVal](xt:Xseries[T],low:Double,high:Double)(implicit ordering[T],f:T=>Double):Try[DBVector] ...

我不了解:之前的Doublef:T=>:Doublef:T=>Double之间的区别,

0 个答案:

没有答案