Coder Social home page Coder Social logo

kdbtrain's Introduction

kdbtrain

Box-Muller Transform in kdb.

Example:

functions: basic, polar
-----------------------------------------------
basic: number of random number create
polar: number of random number create

Choose a transform type:
basic

basic transform:

Number of random variables create:
100000
Creating 100000 random numbers:
1.210972 1.074681 1.048436 -0.9756435 -0.1152084 -1.432893 -0.1083522 -0.827444 -0.5652188 -0.4289059 -0.3201906 -0.7896738 0.2926942 -1.403283 -0.9452982 0.8760012 0.8822629 0.8582708 1.593953 -0.8547134 1.003357 0.08180817 0.1761809 0.6511778 0.3157382 -0.4236013 -0.3257518 -0.8675275 -0.5732152 -0.7721448 -1.367512 -2.230904 -0.2134273 -0.3142193 -1.185306 -0.8151901 -1.783057 -0.0595327 0.718258 -0.3389529 -0.1826466 -0.6048004 -0.6152735 1.177547 1.088126 -1.191307 0.9841918 -0.8166664 1.407903 0.04933683 -0.018659 0.3393542 1.464758 -1.634217 -0.03537747 -1.386622 1.727631 -1.746725 0.4747278 -0.06026188 1.100657 0.6068121 0.5344845 -0.343698 0.1411594 0.01641301 0.5117735 0.5962804 0.2955121 0.830039 1.328726 0.02380604 -0.6863709 0.4142274 0.8487091 0.2081023 -0.3758568 0.6665375 1.615378 0.4215235 0.3948282 -0.1313568 1.373576 0.8571687 -1.131247 1.48473 0.01149447 -1.560187 -1.88287 -1.332222 0.3009012 -0.3704513 -1.493162 -0.9130723 -1.282209 -1.562498 -1.04634 1.272117 -0.0003999109 0.03066344 2.343736 -1.410819 -0.8712242 0.4258156 1.919315 0.1622177 0.3016678 -1.059602 1.230613 -2.375032 0.920051 0.003718852 -0.6453921 -0.4095771 1.413101 0.08818855 -0.3410813 -0.7902852 -0.7088628 1.117995 0.3849437 -2.654878 1.737905 2.035745 -1.085346 0.4083795 1.191672 -0.1655275 0.9172633 -0.1261141 -0.8312318 0.2205641 -0.7901231 -0.1954888 0.07464635 3.425106 -0.4188146 0.1251 1.279494 -0.3966026 -0.03071825 -0.2126222 -2.079461 1.21782 0.9502853 -1.475572 0.06179133 -0.04207702 -0.825844 0.6401807 -0.2395806 -1.422385 0.609288 0.2717357 0.5015818 0.02729641 -0.4717369 -1.67143 -1.000998 -1.20426 0.4306388 0.1013796 0.9086314 0.8522088 0.06295194 -0.831282 -0.1746715 -0.2644392 0.5166567 1.732098 -0.4032339 1.72892 1.03018 1.65066 0.4062709 1.200915 -1.530691 0.9301688 -0.4655883 -0.7546145 -0.2856782 -0.4198351 0.5345169 0.5047936 -0.1329261 -0.09514403 0.4494655 1.210375 -0.1218941 -1.269818 0.9521839 -1.046948 2.182858 -1.747581 0.65493 -1.238883 1.447683 ..

exec time:
3

kdbtrain's People

Contributors

kaloklijk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.