AN
a.pow(b) + c
val res = NDField.complex(8).run {
val a = produce { (it) -> i * it - it.toDouble() }
val b = 3
val c = Complex(1.0, 1.0)
power(a, b) + c
}
Size: a a a
AN
a.pow(b) + c
val res = NDField.complex(8).run {
val a = produce { (it) -> i * it - it.toDouble() }
val b = 3
val c = Complex(1.0, 1.0)
power(a, b) + c
}
Ⓢ
AN
AN
Ⓢ
inline fun Double.pow(x: Complex) = ComplexField.exp(Complex(ln(this), 0.0) * x)
AN
inline fun Double.pow(x: Complex) = ComplexField.exp(Complex(ln(this), 0.0) * x)
AN
Ⓢ
AN
AN
inline fun Double.pow(x: Complex) = ComplexField.exp(ln(this) * x)
`AN
AN
Ⓢ
fun Pair<A, B>.doSomethingExt() = ...чем это не мультиресиверы? 😀
(a as A to b as B).doSomethingExt()
AN
fun Pair<A, B>.doSomethingExt() = ...чем это не мультиресиверы? 😀
(a as A to b as B).doSomethingExt()
Ⓢ
AN
AN
SM
AN
Ⓢ