Skip to content

Instantly share code, notes, and snippets.

@andrevidela
Last active January 7, 2019 14:38
Show Gist options
  • Save andrevidela/f9c6e482ce03b95bf5938c929278bcbe to your computer and use it in GitHub Desktop.
Save andrevidela/f9c6e482ce03b95bf5938c929278bcbe to your computer and use it in GitHub Desktop.
let ai = Complex(real: 18.9, imm: -19.3)
let bi = Complex(real: 4.4, imm: 0.2)
let vecti = Vector(fst: ai, snd: bi)
one ◊ vecti
vecti + vecti
vecti ** vecti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment