Created
March 25, 2020 12:43
-
-
Save ceptreee/554b767f000c39dc00e288c2e952df8e to your computer and use it in GitHub Desktop.
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
function hoge(n) | |
if n == 1 | |
Lt = 1.0 | |
K = (t,s) -> 2.0 * cos( t - s ) | |
g = (t) -> exp(t) | |
y_exc = (t) -> exp(t) * ( 1.0 + t )^2 | |
elseif n == 2 | |
Lt = 3.0 | |
K = (t,s) -> (t-s) | |
g = (t) -> 1.0 - t - t^2/2.0 | |
y_exc = (t) -> 1.0 - sinh(t) | |
end | |
return Lt,K,g,y_exc | |
end |
bicycle1885
commented
Mar 25, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment