Skip to content

Instantly share code, notes, and snippets.

@david50407
Created November 3, 2014 06:48
Show Gist options
  • Save david50407/dfcc9c836bb5aa86eb68 to your computer and use it in GitHub Desktop.
Save david50407/dfcc9c836bb5aa86eb68 to your computer and use it in GitHub Desktop.
require 'matrix'
require 'complex'
Matrix[[2, 1], [-1, 2]].det
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment