久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

是否有執(zhí)行 Excel NORMINV 函數(shù)的 C# 庫?

Is there a C# library that will perform the Excel NORMINV function?(是否有執(zhí)行 Excel NORMINV 函數(shù)的 C# 庫?)
本文介紹了是否有執(zhí)行 Excel NORMINV 函數(shù)的 C# 庫?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我正在運行一些蒙特卡羅模擬并廣泛使用 Excel 函數(shù)NORM.INV 使用 Office Interrop.此函數(shù)采用三個參數(shù)(概率、平均值、標準差)并返回累積分布的倒數(shù).

I'm running some Monte Carlo simulations and making extensive use of the Excel function NORM.INV using Office Interrop. This functions takes three arguments (probability, average, standard deviation) and returns the inverse of the cumulative distribution.

我想將我的代碼移動到網(wǎng)絡(luò)應(yīng)用程序中,但這需要在服務(wù)器上安裝 Excel.有誰知道與 NORM.INV 具有等效功能的 C# 統(tǒng)計庫嗎?

I'd like to move my code into a web app, but that will require installing Excel on the server. Does anybody know of a C# statistics library that has an equivalent function to NORM.INV?

推薦答案

Meta.Numerics 正是您要尋找的.這是使用該庫執(zhí)行此操作的代碼:

Meta.Numerics has exactly what you are looking for. Here is the code to do it using that library:

Distribution n = new NormalDistribution(mean, standardDeviation);
double x = n.InverseLeftProbability(probability);

如果您這樣做是為了生成法線偏差,GetRandomValue 函數(shù)會更快.

If you are doing this in order to generate normal deviates, the GetRandomValue function is even faster.

這篇關(guān)于是否有執(zhí)行 Excel NORMINV 函數(shù)的 C# 庫?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Use of Different .Net Languages?(使用不同的 .Net 語言?)
Determining an #39;active#39; user count of an ASP.NET site(確定 ASP.NET 站點的“活動用戶數(shù))
Select x random elements from a weighted list in C# (without replacement)(從 C# 中的加權(quán)列表中選擇 x 個隨機元素(無需替換))
Best way to keep track of current online users(跟蹤當(dāng)前在線用戶的最佳方式)
Create a summary description of a schedule given a list of shifts(給定輪班列表,創(chuàng)建時間表的摘要描述)
C# Normal Random Number(C# 普通隨機數(shù))
主站蜘蛛池模板: 狠狠婷婷综合久久久久久妖精 | 亚洲国产精品久久久久秋霞不卡 | 久草视频观看 | 免费在线观看av网址 | 日韩精品在线免费 | 国产成人精品一区二区三区在线观看 | 99在线播放| 亚洲狠狠 | 成人欧美一区二区三区 | 久热国产精品视频 | 欧美激情国产日韩精品一区18 | 国产精品日日摸夜夜添夜夜av | 国产精品久久欧美久久一区 | 国产精品久久 | 久久国内精品 | 成人免费在线观看 | 97色在线观看免费视频 | 日本欧美在线 | 国产免费一区二区 | 欧美一级二级视频 | 成人精品一区亚洲午夜久久久 | 国产日产精品一区二区三区四区 | 亚洲一区二区三区免费在线观看 | 亚洲精品久久久久久久久久久 | 九九激情视频 | 中文字幕在线观看 | 国产1区 | 亚洲欧美日韩精品久久亚洲区 | 97avcc| 国产激情亚洲 | 91视频一区二区 | 亚洲一区二区视频在线播放 | 国内精品久久久久久 | 深夜福利亚洲 | 久久久亚洲综合 | 成人av观看 | 精品视频在线观看 | 国产精品久久精品 | 国产线视频精品免费观看视频 | 久久久久久久一区二区三区 | 一区二区免费在线观看 |