Skip to content

Instantly share code, notes, and snippets.

View antimon2's full-sized avatar

GOTOH Shunsuke antimon2

View GitHub Profile
@antimon2
antimon2 / FibType.jl.ipynb
Last active October 4, 2019 15:34
JuliaTokai_201910/Fibonacci.jl.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antimon2
antimon2 / MNIST_Convnet_with_GenTF.ipynb
Last active August 29, 2019 10:18
MNIST Convnet with GenTF Sample
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antimon2
antimon2 / 8÷2(2+2).jl.ipynb
Created August 1, 2019 03:58
8÷2(2+2)=? in Julia
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antimon2
antimon2 / AdditionOfPoints.ipynb
Last active May 11, 2019 05:08
JuliaTokai_201905/MyTime.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antimon2
antimon2 / PlotsTest.jl.ipynb
Last active February 10, 2019 15:03
PlotsTest_Compiled.jl.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antimon2
antimon2 / 440Hz.ipynb
Last active November 29, 2018 04:28
440Hz.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
module FizzBuzzQuiz
greet() = print("Hello World!")
end # module
@antimon2
antimon2 / Rw3sat.symbolic.jl
Last active August 16, 2018 09:48
もっとシンボリックに「充足可能性問題(3-SAT)を解く乱択アルゴリズム」 by Julia v1.0 ref: https://qiita.com/antimon2/items/56cd893cc6756f7b4269
# Rw3sat.symbolic.jl
using Random
sample(a::Array) = a[rand(1:end)]
# ↓ Point (1)
struct Literal{N}
index::Int
not::Bool
end
@antimon2
antimon2 / Rw3sat.jl
Last active August 17, 2018 13:55
「充足可能性問題(3-SAT)を解く乱択アルゴリズム」 by Julia for v1.0 ref: https://qiita.com/antimon2/items/f41cc6908d3629a090c8
# Rw3sat.jl
using Random # ←ココ!(1)
sample(a::Array) = a[rand(1:end)]
# ↓ココ!(2)
struct Literal
index::Int
not::Bool
end