双变量高斯发生器 [英] Bivariate Gaussian Generator

查看:75
本文介绍了双变量高斯发生器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




请有人写一个代码来从setMean和setCovariance生成数组长度为2的随机数吗?

解决方案

< blockquote>





请问任何人都可以编写代码从setMean和setCovariance生成数组长度为2的随机数吗?



''数组长度2'的随机数是什么?


亲切的问候,


Jos



''数组长度2'的随机数是什么?
< br $> b $ b亲切的问候,


Jos



Random类从高斯分布生成随机数是一维的(单变量的)。我的问题是如何从Mean(1.0,1.0)和Covariance(1.0,0.0,0.0,1.0)生成双变量随机数



Random类从高斯分布生成随机数,该高斯分布是一维的(单变量)。我的问题是如何从Mean(1.0,1.0)和Covariance(1.0,0.0,0.0,1.0)生成双变量随机数



你知道这个的算法吗? ?


这里是一个良好的开端


Hi

Please can anyone write a code to generate random numbers of array length 2 from setMean and setCovariance?

解决方案

Hi

Please can anyone write a code to generate random numbers of array length 2 from setMean and setCovariance?

What is a random number of ''array length 2''?

kind regards,

Jos


What is a random number of ''array length 2''?

kind regards,

Jos

The class Random generates random numbers from a gaussian distribution that is one dimensional(univariate). My problem is how to generate bivariate random numbers from Mean(1.0,1.0) and Covariance(1.0,0.0,0.0,1.0)


The class Random generates random numbers from a gaussian distribution that is one dimensional(univariate). My problem is how to generate bivariate random numbers from Mean(1.0,1.0) and Covariance(1.0,0.0,0.0,1.0)

Do you know the algorithms for this?

Here''s a good start.


这篇关于双变量高斯发生器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆