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
using HTTP | |
using Dates | |
using Printf | |
using JSON | |
using DataFrames | |
using CSV | |
hbf_location = "53.5527704,10.0065856" |
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
using Parameters | |
type Par{T <: Real} | |
α::T | |
β::T | |
end | |
### Implementation 1: unpack in outer function | |
function f1(x::T, y::T, α::T, β::T) where T <: Real | |
x^α * y^β |