Skip to content

Instantly share code, notes, and snippets.

View DSCF-1224's full-sized avatar

DSCF_1224 DSCF-1224

View GitHub Profile
@DSCF-1224
DSCF-1224 / test_20201030_01.ipynb
Last active October 29, 2020 22:06
sympy のサンプルコード : x * exp(-(x**2+y**2+z**2))の偏微分の評価
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DSCF-1224
DSCF-1224 / 20200915_0648.jl
Last active September 14, 2020 22:17
自作複合型に対する演算子オーバーロード
module Coordinate
export Rect2d
mutable struct Rect2d{T}
x :: T
y :: T
end
function Base.:+(coordinate_left::Rect2d{T}, coordinate_right::Rect2d{T}) where T <: Core.Number
@DSCF-1224
DSCF-1224 / test_20200904_01.f08
Created September 3, 2020 21:38
負値のインデックスをもつ形状引継配列を引き渡した時の挙動の確認
!gfortran, gcc version 7.4.0
!reference: https://qiita.com/implicit_none/items/08f894bc851c29b40b58#%E4%BB%AE%E5%BC%95%E6%95%B0
program test_20200904_01
use, intrinsic :: iso_fortran_env
implicit none
@DSCF-1224
DSCF-1224 / memo_evalpoly_20200809_01.ipynb
Created August 9, 2020 14:29
Julia の Base.Math.evalpoly の動作検証メモ
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DSCF-1224
DSCF-1224 / 20200505_1430.f08
Created May 5, 2020 05:39
ガウス過程と機械学習 第1章 lm.py version 01 (Fortran)
! ==================================================================================================================================
! 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
! ==================================================================================================================================
@DSCF-1224
DSCF-1224 / 20200504_1200.jl
Created May 4, 2020 03:05
ガウス過程と機械学習 第1章 lm.py version 01
# ==================================================================================================================================
# 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`
#
@DSCF-1224
DSCF-1224 / 20200504_0007.f08
Created May 3, 2020 15:13
ガウス過程と機械学習 第1章 linear.py version 01
! ==================================================================================================================================
! 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/
! ==================================================================================================================================
@DSCF-1224
DSCF-1224 / 202004292200.jl
Created April 29, 2020 13:01
ガウス過程と機械学習 第1章 linear.py version.02
# ==================================================================================================================================
# 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]
@DSCF-1224
DSCF-1224 / 202004262249.jl
Created April 26, 2020 13:50
ガウス過程と機械学習 第1章 linear.py
# ==================================================================================================================================
# 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
@DSCF-1224
DSCF-1224 / 201911091817.hs
Created November 9, 2019 09:20
Euler Method about ODE
{- reference -}
-- ISBN978-4-320-01343-8
-- http://lqtmirage.hatenablog.com/entry/2017/05/29/125134
{- module to import -}
import Prelude