Skip to content

Instantly share code, notes, and snippets.

@ryanrhymes ryanrhymes/ Secret
Created Aug 1, 2017

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)
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.