This file contains 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
program hello | |
use, intrinsic :: iso_fortran_env | |
implicit none | |
integer(INT8), parameter :: ichar_a = ichar("a") | |
integer(INT8), parameter :: ichar_z = ichar("z") | |
integer(INT8), parameter :: ichar_width_az = ichar_z - ichar_a + 1 |
This file contains 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 exchangeBackslash(path::Core.AbstractString) | |
return Base.replace(path, '\u005c' => '\u002f') | |
end | |
path_raw = Base.readline(Base.stdin) | |
path_fix = Main.exchangeBackslash(path_raw) | |
Base.println(Base.stdout, path_fix) | |
Base.println(Base.stdout, Base.Filesystem.isabspath(path_raw)) |
This file contains 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
module Mod20191022v01 | |
mutable struct Coordinate{T <: Core.Real} | |
x::T | |
y::T | |
end | |
function Base.:+(cd1::Coordinate{T}, cd2::Coordinate{T}) where T <: Core.Real | |
return Coordinate{T}(cd1.x + cd2.x, cd1.y + cd2.y) | |
end |
This file contains 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
#include <cstdlib> | |
// for; EXIT_SUCCESS | |
// for; EXIT_FAILURE | |
#include <iostream> | |
// for; std::cerr | |
#include <string> | |
// for; std::string | |
// for; std::string std::literals::string_literals::operator ""s | |
#include "ver20191023_01.hpp" |
This file contains 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
{- reference -} | |
-- ISBN978-4-320-01343-8 | |
-- http://lqtmirage.hatenablog.com/entry/2017/05/29/125134 | |
{- module to import -} | |
import Prelude | |
This file contains 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
# ================================================================================================================================== | |
# ISBN 978-4-06-152926-7 | |
# ガウス過程と機械学習 | |
# [reference] | |
# http://chasen.org/~daiti-m/gpbook/python/linear.py | |
# http://chasen.org/~daiti-m/gpbook/data/linear.dat | |
# ================================================================================================================================== | |
module ISBN9784061529267 |
This file contains 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
# ================================================================================================================================== | |
# ISBN 978-4-06-152926-7 | |
# ガウス過程と機械学習 | |
# | |
# [reference] | |
# http://chasen.org/~daiti-m/gpbook/python/linear.py | |
# http://chasen.org/~daiti-m/gpbook/data/linear.dat | |
# https://nbviewer.jupyter.org/gist/genkuroki/a37894d5669ad13b4cd27da16096bfd2 | |
# | |
# [How to execute] |
This file contains 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
! ================================================================================================================================== | |
! ISBN 978-4-06-152926-7 | |
! ガウス過程と機械学習 | |
! | |
! [reference] | |
! http://chasen.org/~daiti-m/gpbook/python/linear.py | |
! http://chasen.org/~daiti-m/gpbook/data/linear.dat | |
! https://nbviewer.jupyter.org/gist/genkuroki/a37894d5669ad13b4cd27da16096bfd2 | |
! http://www.caero.mech.tohoku.ac.jp/publicData/Daiguji/ | |
! ================================================================================================================================== |
This file contains 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
# ================================================================================================================================== | |
# ISBN 978-4-06-152926-7 | |
# ガウス過程と機械学習 | |
# | |
# [reference] | |
# http://chasen.org/~daiti-m/gpbook/python/lm.py | |
# http://chasen.org/~daiti-m/gpbook/data/nonlinear.dat | |
# https://nbviewer.jupyter.org/gist/genkuroki/a37894d5669ad13b4cd27da16096bfd2 | |
# https://github.com/JuliaData/CSV.jl/issues/371 <- `ignorerepeated = true` | |
# |
This file contains 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
! ================================================================================================================================== | |
! ISBN 978-4-06-152926-7 | |
! ガウス過程と機械学習 | |
! | |
! [reference] | |
! http://chasen.org/~daiti-m/gpbook/python/lm.py | |
! http://chasen.org/~daiti-m/gpbook/data/nonlinear.dat | |
! https://nbviewer.jupyter.org/gist/genkuroki/a37894d5669ad13b4cd27da16096bfd2 | |
! https://gihyo.jp/book/2015/978-4-7741-7506-5 | |
! ================================================================================================================================== |
OlderNewer