Allan Wang
07/20/2018, 10:44 PMclass Matrix {
val transpose by lazy { Transpose() }
...
inner class Transpose {
...
}
}
Transpose still doesn’t really behave like an object though, since it’s tied to another class.benleggiero
07/20/2018, 10:45 PMmatrixInstance.Transpose[1,2]
karelpeeters
07/20/2018, 10:47 PM