Created
August 10, 2020 14:17
-
-
Save pkofod/7a7918c30a2ccb75ebef787ac6466e7a to your computer and use it in GitHub Desktop.
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
| _ | |
| _ _ _(_)_ | Documentation: https://docs.julialang.org | |
| (_) | (_) (_) | | |
| _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | |
| | | | | | | |/ _` | | | |
| | | |_| | | | (_| | | Version 1.5.0 (2020-08-01) | |
| _/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release | |
| |__/ | | |
| julia> using Random | |
| julia> Random.seed!(0) | |
| MersenneTwister(UInt32[0x00000000], Random.DSFMT.DSFMT_state(Int32[748398797, 1073523691, -1738140313, 1073664641, -1492392947, 1073490074, -1625281839, 1073254801, 1875112882, 1073717145 … 943540191, 1073626624, 1091647724, 1073372234, -1273625233, -823628301, 835224507, 991807863, 382, 0]), [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 … 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], UInt128[0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000 … 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000], 1002, 0) | |
| julia> randn(20,1) | |
| 20×1 Array{Float64,2}: | |
| 0.6791074260357777 | |
| 0.8284134829000359 | |
| -0.3530074003005963 | |
| -0.13485387193052173 | |
| 0.5866170746331097 | |
| 0.29733585084941616 | |
| 0.06494754854834232 | |
| -0.10901738508171745 | |
| -0.514210390833322 | |
| 1.5743302021369892 | |
| -0.6889071278256981 | |
| -0.7628038164104581 | |
| 0.39748240921816347 | |
| 0.8116296225068749 | |
| -0.34635460427879816 | |
| -0.18757268194516005 | |
| -1.6072563241277753 | |
| -2.48079273065994 | |
| 2.2762328327845243 | |
| 0.21969346754254096 | |
| julia> randn(20,1) | |
| 20×1 Array{Float64,2}: | |
| -0.11713753073293519 | |
| -0.6012535941853836 | |
| 1.1422764389413194 | |
| -0.08861631820047296 | |
| 0.2794662520898984 | |
| 0.1114216780915173 | |
| -0.3578835146703243 | |
| 0.4737143221493313 | |
| 0.30023392902396967 | |
| -0.7626770596674239 | |
| 1.4230485806643178 | |
| 0.40838681696170764 | |
| 0.5886213806024645 | |
| -0.2962776971090756 | |
| 0.6911107341102476 | |
| 0.5068736340422747 | |
| -0.05692987609895758 | |
| -1.7710236453721393 | |
| 1.5906225203074087 | |
| 1.3970614473997425 | |
| julia> Random.seed!(0) | |
| MersenneTwister(UInt32[0x00000000], Random.DSFMT.DSFMT_state(Int32[748398797, 1073523691, -1738140313, 1073664641, -1492392947, 1073490074, -1625281839, 1073254801, 1875112882, 1073717145 … 943540191, 1073626624, 1091647724, 1073372234, -1273625233, -823628301, 835224507, 991807863, 382, 0]), [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 … 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], UInt128[0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000 … 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000], 1002, 0) | |
| julia> randn(21,1) | |
| 21×1 Array{Float64,2}: | |
| 0.6791074260357777 | |
| 0.8284134829000359 | |
| -0.3530074003005963 | |
| -0.13485387193052173 | |
| 0.5866170746331097 | |
| 0.29733585084941616 | |
| 0.06494754854834232 | |
| -0.10901738508171745 | |
| -0.514210390833322 | |
| 1.5743302021369892 | |
| -0.6889071278256981 | |
| -0.7628038164104581 | |
| 0.39748240921816347 | |
| 0.8116296225068749 | |
| -0.34635460427879816 | |
| -0.18757268194516005 | |
| -1.6072563241277753 | |
| -2.48079273065994 | |
| 2.2762328327845243 | |
| 0.21969346754254096 | |
| -0.6512639436469041 | |
| julia> Random.seed!(0) | |
| MersenneTwister(UInt32[0x00000000], Random.DSFMT.DSFMT_state(Int32[748398797, 1073523691, -1738140313, 1073664641, -1492392947, 1073490074, -1625281839, 1073254801, 1875112882, 1073717145 … 943540191, 1073626624, 1091647724, 1073372234, -1273625233, -823628301, 835224507, 991807863, 382, 0]), [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 … 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], UInt128[0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000 … 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000, 0x00000000000000000000000000000000], 1002, 0) | |
| julia> randn(40,1) | |
| 40×1 Array{Float64,2}: | |
| 0.6791074260357777 | |
| 0.8284134829000359 | |
| -0.3530074003005963 | |
| -0.13485387193052173 | |
| 0.5866170746331097 | |
| 0.29733585084941616 | |
| 0.06494754854834232 | |
| -0.10901738508171745 | |
| -0.514210390833322 | |
| 1.5743302021369892 | |
| -0.6889071278256981 | |
| -0.7628038164104581 | |
| 0.39748240921816347 | |
| 0.8116296225068749 | |
| -0.34635460427879816 | |
| -0.18757268194516005 | |
| -1.6072563241277753 | |
| -2.48079273065994 | |
| 2.2762328327845243 | |
| 0.48155603952425174 | |
| -0.6512639436469041 | |
| -0.11713753073293519 | |
| -0.6012535941853836 | |
| 1.1422764389413194 | |
| -0.08861631820047296 | |
| 0.2794662520898984 | |
| 0.1114216780915173 | |
| -0.3578835146703243 | |
| 0.4737143221493313 | |
| 0.30023392902396967 | |
| -0.7626770596674239 | |
| 1.4230485806643178 | |
| 0.40838681696170764 | |
| 0.5886213806024645 | |
| -0.2962776971090756 | |
| 0.6911107341102476 | |
| 0.5068736340422747 | |
| -0.05692987609895758 | |
| -1.7710236453721393 | |
| 1.5906225203074087 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment