This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns check-activities | |
(:require | |
[clojure.java.shell :refer [sh]] | |
[clojure.data.csv :as csv] | |
[clojure.java.io :as io]) | |
) | |
(defn member | |
"Determines whether the given target is an element of the given sequence (or given set)." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns homework.determinant) | |
(defn supress_rc | |
"Given a function, f (as returned from mat-to-function or from supress_rc). | |
Assuming f can be called with indices 0 <= r < n and 0 <= c < n, | |
return a new function which can be called on 0 <= r < n-1 and 0 <= c < n, | |
which will skip the row and column specified omit-r and omit-c" | |
[f omit-r omit-c] | |
(fn [r0 c0] | |
(f (if (< r0 omit-r) r0 (inc r0)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns homework.determinant) | |
(defn supress_rc | |
"Given a function, f (as returned from mat-to-function or from supress_rc). | |
Assuming f can be called with indices 0 <= r < n and 0 <= c < n, | |
return a new function which can be called on 0 <= r < n-1 and 0 <= c < n, | |
which will skip the row and column specified omit-r and omit-c" | |
[f omit-r omit-c] | |
(fn [r0 c0] | |
(f (if (< r0 omit-r) r0 (inc r0)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:data | |
{:values | |
({:x 1952.0, :y 0.028385906, :series "Blanche-F-MS"} | |
{:x 1932.0, :y 0.07265792, :series "Blanche-F-MS"} | |
{:x 1948.0, :y 0.01749108, :series "Blanche-F-MS"} | |
{:x 1922.0, :y 0.16821602, :series "Blanche-F-MS"} | |
{:x 1933.0, :y 0.059075467, :series "Blanche-F-MS"} | |
{:x 1930.0, :y 0.0905551, :series "Blanche-F-MS"} | |
{:x 1929.0, :y 0.09312288, :series "Blanche-F-MS"} | |
{:x 1913.0, :y 0.19990404, :series "Blanche-F-MS"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncrustify 0.61 | |
# | |
# General options | |
# | |
# The type of line endings | |
newlines = auto # auto/lf/crlf/cr | |
# The original size of tabs in the input |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case ArticulationType::Turn: { | |
vector<int> body = {0,1,0,-1,0}; | |
renderArticulation(events, chord, pitch, _32nd, | |
emptypattern, | |
body, false, true, // sustain last note of body, but don't repeat | |
emptypattern); | |
} | |
break; |