f6d4d84dd7 ^
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
class Pixel[@specialized T] protected (var v: T) object Pixel { type Pixel1d = Pixel[Double] def apply(v: Double): Pixel1d = new Pixel1d(v) }