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
## With this PR | |
julia> using Dates | |
# PERIOD | |
julia> d = Day(1) | |
1 day | |
julia> show(d) |
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
julia> using Dates | |
# PERIOD | |
julia> d = Day(1) | |
1 day | |
julia> show(d) | |
Day(1) | |
julia> show([d]) |
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
' # Particle Swarm Optimizer | |
' ## Fitness function | |
rosenbrock:: Real -> Real -> Real | |
rosenbrock x y = sq (1.0 - x) + 100.0*sq (y - x*x) | |
' We write one that uses vector for input |
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
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[BinaryProvider]] | |
deps = ["Libdl", "SHA"] | |
git-tree-sha1 = "5b08ed6036d9d3f0ee6369410b830f8873d4024c" | |
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232" | |
version = "0.5.8" | |
[[Compat]] |
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
a |
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
#== | |
A Simple scalar ForwardDiff using ChainRules + DualNumbers | |
--- | |
No promises are made to its correctness or safty. | |
Infact it probably errors for super standard cases. | |
But this is just to explain how it can work | |
==# | |
## Setup | |
using Pkg: Pkg, @pkg_str |
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
traceroute to 130.95.13.11 (130.95.13.11), 64 hops max, 52 byte packets | |
1 * * * | |
2 * * * | |
3 192.168.213.21 (192.168.213.21) 70.924 ms 66.436 ms 59.988 ms | |
4 192.168.213.22 (192.168.213.22) 80.037 ms 51.172 ms 38.455 ms | |
5 * * * | |
6 * * * | |
7 63.130.105.110 (63.130.105.110) 76.960 ms 58.186 ms | |
63.130.104.202 (63.130.104.202) 50.917 ms | |
8 ae1.126.man.cw.net (195.89.96.113) 49.446 ms 46.394 ms 71.966 ms |