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
meshgrid = (value) -> | |
m = [] | |
value_length = value.length | |
i = 0 | |
while i < value_length | |
m.push(value) | |
i += 1 | |
[m, numeric.transpose(m)] |
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
arrmax = (arrs) -> | |
toplevel = [] | |
i = 0 | |
l = arrs.length | |
while i < l | |
toplevel.push Math.max.apply(window, arrs[i]) | |
i++ | |
Math.max.apply window, toplevel | |
arrmin = (arrs) -> | |
toplevel = [] |
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
echo 'Agnes' | |
say -v 'Agnes' "Isn't it nice to have a computer that will talk to you?" | |
echo 'Albert' | |
say -v 'Albert' "I have a frog in my throat. No, I mean a real frog!" | |
echo 'Alex' | |
say -v 'Alex' "Most people recognize me by my voice." | |
echo 'Alice' | |
say -v 'Alice' "Salve, mi chiamo Alice e sono una voce italiana." | |
echo 'Alva' | |
say -v 'Alva' "Hej, jag heter Alva. Jag är en svensk röst." |
NewerOlder