Skip to content

Instantly share code, notes, and snippets.

@chrisbarrett
Created July 25, 2013 01:15
Show Gist options
  • Save chrisbarrett/6076095 to your computer and use it in GitHub Desktop.
Save chrisbarrett/6076095 to your computer and use it in GitHub Desktop.
Usage example of `cal`
; Infix algebra in Lisp because yolo
(cal
sin(2) * ([1,2,3] + [4,5,6])
)
; => [0.174497483513, 0.244296476918, 0.314095470323]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment