![](/img/trans.png)
[英]Added MathNet.Numerics as reference, but the executable says could not load the refernce file
[英]MathNet.numerics fsharp with visual code
我想在我的fsharp腳本文件中使用MathNet.Numerics(我是新手)。 我的操作系統是ubuntu,正在使用可視代碼。
您知道在我的腳本文件中加載此軟件包的最佳方法嗎?
我提前謝謝你。 羅比
我建議您閱讀fsi上這本出色的入門文章中的技巧5和6: http : //brandewinder.com/2016/02/06/10-fsharp-scripting-tips/
簡而言之,您可以使用#r
指令加載dll,例如:
#r @"../packages/FSharp.Data.2.2.5/lib/net40/FSharp.Data.dll"
open FSharp.Data
現在,要將MathNet放入您的packages文件夾,可以使用nuget,或者對於更復雜的項目,建議使用paket。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.