23 lines
466 B
Kotlin
Vendored
23 lines
466 B
Kotlin
Vendored
interface NumberOperations {
|
|
abstract fun Number.plus(other: Number): Number
|
|
|
|
}
|
|
|
|
class Matrix {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fun Matrix.plus($context_receiver_0: NumberOperations, other: Matrix): Matrix {
|
|
return TODO()
|
|
}
|
|
|
|
fun NumberOperations.plusMatrix(m1: Matrix, m2: Matrix) {
|
|
m1.plus($context_receiver_0 = <this>, other = m2) /*~> Unit */
|
|
m2.plus($context_receiver_0 = <this>, other = m1) /*~> Unit */
|
|
}
|