Skip to content

Instantly share code, notes, and snippets.

@ryanrhymes ryanrhymes/coolmodule.ml Secret
Created Aug 1, 2017

Embed
What would you like to do?
Square of Magic Matrix

Square of Magic Matrix

Coolmodule implements a function to generate the square of magic matrices.

#!/usr/bin/env owl
open Owl
let sqr_magic n = Mat.(magic n |> sqr)
9f0892ab2b96f81baacd7322d73a4b08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.