亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? vectoroperations.vb

?? 這里是用VB寫的數學庫。以前用C、C++寫的比較多。內容有:復數運算、矩陣運算、解方程、積分微分等。非常有用。
?? VB
字號:
' The Vector class resides in the Extreme.Mathematics.LinearAlgebra namespace.
Imports Extreme.Mathematics.LinearAlgebra
' The delegate classes reside in the Extreme.Mathematics 
' namespace.
Imports Extreme.Mathematics

Namespace Extreme.Mathematics.QuickStart.VB
    ' Illustrates operations on Vector objects from the
    ' Extreme.Mathematics.LinearAlgebra namespace of the Extreme Optimization
    ' Mathematics Library for .NET.
    Module VectorOperations

        Sub Main()
            ' For details on the basic workings of Vector 
            ' objects, including constructing, copying and
            ' cloning vectors, see the BasicVectors QuickStart
            ' Sample.
            '
            ' Let's create some vectors to work with.
            Dim v1 As Vector = New GeneralVector(1, 2, 3, 4, 5)
            Dim v2 As Vector = New GeneralVector(1, -2, 3, -4, 5)
            Dim v3 As Vector = New GeneralVector(3, 2, 1, 0, -1)
            ' This one will hold results.
            Dim v As Vector

            '
            ' Vector Arithmetic
            '
            ' The Vector class defines static methods for
            ' addition and subtraction:
            Console.WriteLine("v1 = {0:F4}", v1)
            Console.WriteLine("v2 = {0:F4}", v2)
            Console.WriteLine("Basic arithmetic:")
            v = Vector.Negate(v1)
            Console.WriteLine("-v1 = {0:F4}", v)
            v = Vector.Add(v1, v2)
            Console.WriteLine("v1 + v2 = {0:F4}", v)
            v = Vector.Subtract(v1, v2)
            Console.WriteLine("v1 - v2 = {0:F4}", v)
            ' Vectors can only be multiplied or divided by
            ' a real number. For dot products, see the
            ' DotProduct method.
            v = Vector.Multiply(5, v1)
            Console.WriteLine("5 * v1 = {0:F4}", v)

            ' You can also apply these methods to Vector objects.
            ' In this case, they change the first operand.
            Console.WriteLine("v3 = {0:F4}", v3)
            v3.Add(v1)
            ' Note that this is different from the += operator!
            ' The += operator creates a new Vector object, 
            ' whereas the Add method above does not.
            Console.WriteLine("v3+v1 -> v3 = {0:F4}", v3)
            ' This method is overloaded so you can directly
            ' add a scaled vector:
            v3.Add(-2, v1)
            Console.WriteLine("v3-2v1 -> v3 = {0:F4}", v3)
            Console.WriteLine()

            '
            ' Norms, dot products, etc.
            '
            Console.WriteLine("Norms, dot products, etc.")
            ' The dot product is calculated in one of two ways:
            ' Using the static DotProduct method:
            Dim a As Double = Vector.DotProduct(v1, v2)
            ' Or using the DotProduct method on one of the two
            ' vectors:
            Dim b As Double = v1.DotProduct(v2)
            Console.WriteLine("DotProduct(v1, v2) = {0} = {0:F4}", _
                a, b)
            ' The Norm method returns the standard two norm 
            ' of a Vector:
            a = v1.Norm()
            Console.WriteLine("|v1| = {0}", a)
            ' .the Norm method is overloaded to allow other norms,
            ' including the one-norm:
            a = v1.Norm(1)
            Console.WriteLine("one norm(v1) = {0}", a)
            ' ...the positive infinity norm, which returns the
            ' absolute value of the largest component:
            a = v1.Norm(Double.PositiveInfinity)
            Console.WriteLine("+inf norm(v1) = {0}", a)
            ' ...the negative infinity norm, which returns the
            ' absolute value of the smallest component:
            a = v1.Norm(Double.NegativeInfinity)
            Console.WriteLine("-inf norm(v1) = {0}", a)
            ' ...and even the zero norm, which simply returns
            ' the number of components of the vector:
            a = v1.Norm(0)
            Console.WriteLine("zero-norm(v1) = {0}", a)
            ' You can get the square of the two norm with the
            ' NormSquared method.
            a = v1.NormSquared()
            Console.WriteLine("|v1|^2 = {0}", a)
            Console.WriteLine()

            '
            ' Largest and smallest elements
            '
            ' The Vector class defines methods to find the
            ' largest or smallest element or its index.
            Console.WriteLine("v2 = {0:F4}", v2)
            ' The Max method returns the largest element:
            Console.WriteLine("Max(v2) = {0}", v2.Max())
            ' The AbsoluteMax method returns the element with
            ' the largest absolute value.
            Console.WriteLine("Absolute max(v2) = {0}", _
                v2.AbsoluteMax())
            ' The Min method returns the smallest element:
            Console.WriteLine("Min(v2) = {0}", v2.Min())
            ' The AbsoluteMin method returns the element with
            ' the smallest absolute value.
            Console.WriteLine("Absolute min(v2) = {0}", _
                v2.AbsoluteMin())
            ' Each of these methods has an equivalent method
            ' that returns the zero-based index of the element 
            ' instead of its value, for example:
            Console.WriteLine("Index of Min(v2) = {0}", _
                v2.MinIndex())

            ' Finally, the Apply method lets you apply
            ' an arbitrary function to each element of the
            ' vector:
            Dim f As RealFunction = _
                New RealFunction(AddressOf Math.Exp)
            v3.Apply(f)
            Console.WriteLine("Exp(v3) = {0:F4}", v3)
            ' There is also a static method that returns a 
            ' new Vector object:
            v = Vector.Apply(f, v3)

            Console.Write("Press Enter key to exit...")
            Console.ReadLine()
        End Sub

    End Module

End Namespace

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
2021久久国产精品不只是精品| 欧美酷刑日本凌虐凌虐| 激情综合网天天干| 天天综合天天做天天综合| 亚洲一区二区成人在线观看| 亚洲国产精品天堂| 水野朝阳av一区二区三区| 亚洲国产视频一区| 日韩国产在线一| 蜜桃av一区二区三区电影| 国产最新精品免费| 国产99久久久国产精品免费看 | 亚洲国产日韩综合久久精品| 亚洲私人影院在线观看| 亚洲精品高清在线| 午夜在线成人av| 久久精品噜噜噜成人88aⅴ | 国产欧美一区二区在线观看| 国产女人18水真多18精品一级做| 国产精品久久久久久福利一牛影视| 国产精品沙发午睡系列990531| 亚洲图片你懂的| 日韩精品免费视频人成| 久久不见久久见免费视频7| 国产精品亚洲第一| 色88888久久久久久影院野外| 在线国产亚洲欧美| 精品国产亚洲一区二区三区在线观看| 国产亚洲一本大道中文在线| 亚洲欧洲另类国产综合| 天天综合天天做天天综合| 国产精品一区二区久激情瑜伽| 99精品视频一区| 欧美成人激情免费网| 国产精品免费aⅴ片在线观看| 午夜日韩在线观看| 成人一区二区三区视频| 777色狠狠一区二区三区| 国产精品丝袜一区| 青草国产精品久久久久久| 成人一区二区三区在线观看 | 麻豆91精品视频| 色呦呦国产精品| 久久精品在这里| 亚洲二区在线视频| 99久久久免费精品国产一区二区| 欧美一区二区三区人| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 日本伊人色综合网| 成人免费高清视频在线观看| 欧美成人一级视频| 天堂精品中文字幕在线| 91麻豆自制传媒国产之光| 国产色91在线| 精品在线免费视频| 欧美一区二区性放荡片| 亚洲一区二区av电影| 99久久国产免费看| 中文字幕+乱码+中文字幕一区| 美日韩一区二区三区| 欧美日韩久久不卡| 一区二区三区精品在线| va亚洲va日韩不卡在线观看| 久久午夜电影网| 麻豆专区一区二区三区四区五区| 欧美三级蜜桃2在线观看| 亚洲欧美日韩国产成人精品影院| 成人精品在线视频观看| 久久新电视剧免费观看| 激情丁香综合五月| 亚洲精品一线二线三线| 狠狠色伊人亚洲综合成人| 日韩欧美成人一区二区| 男女性色大片免费观看一区二区| 欧美精选在线播放| 男女视频一区二区| xvideos.蜜桃一区二区| 九九精品一区二区| 国产日韩欧美电影| 成人激情黄色小说| 中文字幕亚洲一区二区av在线| 成人毛片在线观看| 亚洲欧美一区二区久久 | 久久国产精品99久久人人澡| 欧美一区二区成人| 久久激情五月激情| 久久精品亚洲乱码伦伦中文| 福利电影一区二区三区| 国产精品传媒入口麻豆| 欧美色国产精品| 日本91福利区| 国产色产综合产在线视频| 91在线观看视频| 午夜精品在线看| 欧美一区二区三区系列电影| 国产精品996| 亚洲天堂免费看| 欧美狂野另类xxxxoooo| 国产精品69毛片高清亚洲| 自拍偷在线精品自拍偷无码专区| 欧美性色欧美a在线播放| 免费观看在线综合色| 日本一区二区久久| 欧美日韩国产bt| 国产精品一区在线观看乱码| 亚洲免费观看在线观看| 日韩午夜精品电影| 成人手机电影网| 日韩精品国产精品| 亚洲欧美在线高清| 91精品国产综合久久蜜臀| 高清在线不卡av| 日韩av电影免费观看高清完整版在线观看| 久久蜜桃av一区二区天堂| 色久综合一二码| 国产精品一区二区久久精品爱涩| 亚洲成av人片一区二区三区| 久久久无码精品亚洲日韩按摩| 日本久久一区二区三区| 国产精品123| 热久久久久久久| 亚洲一二三区视频在线观看| 欧美高清在线一区| 欧美大片一区二区三区| 91豆麻精品91久久久久久| 国产成a人亚洲| 日韩精品91亚洲二区在线观看 | 久久综合九色综合欧美98| 色网站国产精品| 懂色中文一区二区在线播放| 琪琪久久久久日韩精品| 一区二区久久久| 国产精品乱人伦一区二区| 欧美tickling挠脚心丨vk| 色94色欧美sute亚洲线路一久| 国产精品自拍一区| 国产制服丝袜一区| 日本欧美一区二区| 午夜不卡av在线| 亚洲超碰精品一区二区| 国产精品天干天干在线综合| 久久久久久夜精品精品免费| 日韩欧美资源站| 欧美一区国产二区| 欧美一区午夜精品| 日韩丝袜情趣美女图片| 制服丝袜成人动漫| 欧美三级电影网| 欧美日韩视频在线一区二区| 日本韩国一区二区三区视频| 色综合视频在线观看| 一本大道久久a久久精二百 | 亚洲不卡一区二区三区| 亚洲成人在线网站| 日韩国产一二三区| 青青草视频一区| 激情五月播播久久久精品| 国产精品性做久久久久久| 国产成人精品免费| 99久久婷婷国产综合精品| 91老司机福利 在线| 欧美日韩中文国产| 欧美一区二区三区四区视频| 欧美精品一区二区久久久| 久久久久久久久免费| 久久蜜桃av一区精品变态类天堂| 国产亚洲制服色| 亚洲日本欧美天堂| 五月婷婷激情综合| 九九精品一区二区| www..com久久爱| 欧美日本韩国一区| 久久久久久久电影| 亚洲激情av在线| 蜜桃91丨九色丨蝌蚪91桃色| 国产精品一区二区不卡| 99国产精品久| 欧美一区二区三区四区在线观看| 日韩精品一区二区三区swag | 日本午夜一区二区| 国产精品亚洲一区二区三区在线| youjizz久久| 欧美精品色一区二区三区| 国产亚洲一区二区三区| 亚洲资源中文字幕| 国产一区二区剧情av在线| 色综合久久99| 久久久精品国产免大香伊| 亚洲同性同志一二三专区| 免费看精品久久片| 日本高清不卡视频| 久久久久国产精品麻豆ai换脸 | 欧洲精品中文字幕| 久久色视频免费观看| 一区二区久久久| www.日韩av| 国产亚洲污的网站| 日韩av在线发布| 91福利视频在线| 国产女人18水真多18精品一级做 |