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

是否有執行 Excel NORMINV 函數的 C# 庫?

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

問題描述

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

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.

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

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 正是您要尋找的.這是使用該庫執行此操作的代碼:

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 函數會更快.

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

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

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

相關文檔推薦

Use of Different .Net Languages?(使用不同的 .Net 語言?)
Determining an #39;active#39; user count of an ASP.NET site(確定 ASP.NET 站點的“活動用戶數)
Select x random elements from a weighted list in C# (without replacement)(從 C# 中的加權列表中選擇 x 個隨機元素(無需替換))
Best way to keep track of current online users(跟蹤當前在線用戶的最佳方式)
Create a summary description of a schedule given a list of shifts(給定輪班列表,創建時間表的摘要描述)
C# Normal Random Number(C# 普通隨機數)
主站蜘蛛池模板: 色婷婷中文字幕 | 黄网在线 | 国产视频99 | 国产黄色免费看 | 亚洲天堂日本 | 日本黄色免费看 | 国产精品成人免费视频 | 亚洲伦理视频 | 久久精品国产视频 | 亚洲欧美日韩一区 | 色婷婷久久综合 | 五月婷丁香 | 一边摸一边操 | av大全在线观看 | 一区二区三区在线播放 | 免费在线看a | 精品一区二区三区免费毛片 | 伊人精品在线 | 五月亚洲 | 中文字幕偷拍 | 五月婷婷在线观看 | 久久久久久久国产精品 | 欧美日韩在线视频观看 | 一区二区黄色 | 日韩黄色免费视频 | 国产成人精品一区二区三区福利 | 欧美顶级黄色大片免费 | 182tv午夜 | 国内自拍一区 | 在线观看黄色av | 精品欧美日韩 | 久久av网站 | 香蕉看片 | 欧美一区二区三区的 | 亚洲综合伊人 | 日日爱影视 | 日本在线天堂 | 五月在线视频 | 精品国产乱码久久久久久88av | 在线黄色网 | 久久亚洲国产 |