lt-core/lt-stdlib/complex.lt

11 lines
147 B
Text
Raw Normal View History

2024-06-11 15:17:58 +02:00
export {
let complex-magnitude = λ{
{ re: , im: }
:
~ Cartesian
~ <Vec2 ~ machine.Float64>
} -> ↦ {
}
}