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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? chebyshevexpansions.vb

?? 這里是用VB寫的數(shù)學(xué)庫(kù)。以前用C、C++寫的比較多。內(nèi)容有:復(fù)數(shù)運(yùn)算、矩陣運(yùn)算、解方程、積分微分等。非常有用。
?? VB
字號(hào):
' The ChebyshevSeries class resides in the 
' Extreme.Mathematics.Curves namespace.
Imports Extreme.Mathematics.Curves
' The Constants class and RealFunction delegate reside in the 
' Extreme.Mathematics namespace.
Imports Extreme.Mathematics

Namespace Extreme.Mathematics.QuickStart.VB

    Module ChebyshevExpansions

        ' Illustrates the use of the ChebyshevSeries class 
        ' in the Extreme.Mathematics.Curve namespace of the Extreme 
        ' Optimization Mathematics Library for .NET.
        Sub Main()
            ' Chebyshev polynomials form an alternative basis
            ' for polynomials. A Chebyshev expansion is a 
            ' polynomial expressed as a sum of Chebyshev 
            ' polynomials.
            '
            ' Using the ChebyshevSeries class instead of 
            ' Polynomial can have two major advantages:
            '   1. They are numerically more stable. Higher
            '      accuracy is maintained even for large problems.
            '   2. When approximating other functions with
            '      polynomials, the coefficients in the
            '      Chebyshev expansion will tend to decrease
            '      in size, where those of the normal polynomial
            '      approximation will tend to oscillate wildly.

            ' Index variable.
            Dim index As Int32

            '
            ' Constructing Chebyshev expansions
            '

            ' Chebyshev expansions are defined over an interval.
            ' The first constructor requires you to specify the
            ' boundaries of the interval, and the coefficients
            ' of the expansion.
            Dim coefficients As Double() = New Double() {1, 0.5, -0.3, 0.1}
            Dim chebyshev1 As ChebyshevSeries = _
                New ChebyshevSeries(0, 2, coefficients)
            ' If you omit the boundaries, they are assumed to be
            ' -1 and +1:
            Dim chebyshev2 As ChebyshevSeries = _
                New ChebyshevSeries(coefficients)

            ' 
            ' Chebyshev approximations
            '

            ' A third way to construct a Chebyshev series is as an
            ' approximation to an arbitrary function. For more
            ' about the RealFunction delegate, see the
            ' FunctionDelegates QuickStart Sample.
            '
            ' Chebyshev expansions allow us to obtain an 
            ' excellent approximation at minimal cost.
            '
            ' The following creates a Chebyshev approximation
            ' of degree 7 to Cos(x) over the interval (0, 2):
            Dim cos As RealFunction = _
                New RealFunction(AddressOf Math.Cos)
            Dim approximation1 As ChebyshevSeries = _
                ChebyshevSeries.GetInterpolatingPolynomial(cos, 0, 2, 7)
            Console.WriteLine("Chebyshev approximation of cos(x):")
            For index = 0 To 7
                Console.WriteLine("  c{0} = {1}", index, _
                    approximation1.Parameters(index))
            Next

            ' The largest errors are approximately at the
            ' zeroes of the Chebyshev polynomial of degree 8:
            For index = 0 To 8
                Dim zero As Double = _
                    1 + Math.Cos(index * Constants.Pi / 8)
                Dim err As Double = _
                    approximation1.ValueAt(zero) - Math.Cos(zero)
                Console.WriteLine(" Error {0} = {1}", index, err)
            Next

            '
            ' Least squares approximations
            '

            ' We will now calculate the least squares polynomial
            ' of degree 7 through 33 points.
            ' First, calculate the points:
            Dim xValues As Double() = New Double(32) {}
            Dim yValues As Double() = New Double(32) {}
            For index = 0 To 32
                Dim angle As Double = index * Constants.Pi / 32
                xValues(index) = 1 + Math.Cos(angle)
                yValues(index) = Math.Cos(xValues(index))
            Next
            ' Next, define a ChebyshevBasis object for the
            ' approximation we want: interval (0,2) and degree
            ' is 7.
            Dim basis As ChebyshevBasis = _
                New ChebyshevBasis(0, 2, 7)
            ' Now we can calculate the least squares fit:
            Dim approximation2 As ChebyshevSeries = _
                CType(basis.LeastSquaresFit(xValues, yValues, xValues.Length), _
                ChebyshevSeries)
            ' We can see it is close to the original 
            ' approximation we found earlier:
            For index = 0 To 7
                Console.WriteLine("  c{0} = {1}", index, _
                    approximation2.Parameters(index))
            Next

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

        End Sub

    End Module

End Namespace

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精选在线播放| 懂色av中文字幕一区二区三区| 国产一区二区91| 欧美一区二区三区免费观看视频| 午夜不卡在线视频| 色妞www精品视频| 亚洲三级在线免费观看| 北条麻妃一区二区三区| 日韩欧美国产小视频| 日韩av一区二区在线影视| 欧美在线free| 亚洲成在线观看| 欧美精品日韩一本| 亚洲成人一二三| 717成人午夜免费福利电影| 日韩一区精品字幕| 91麻豆精品国产91久久久久久 | 国产不卡视频一区二区三区| 欧美精品一区二区久久婷婷 | 成人国产电影网| 国产精品福利影院| 91亚洲午夜精品久久久久久| 成人免费一区二区三区视频 | 成人激情动漫在线观看| 国产精品美女久久久久av爽李琼| 成人动漫中文字幕| 亚洲色图一区二区| 欧美视频在线一区| 日本不卡一区二区| 欧美一级生活片| 国产最新精品精品你懂的| 国产农村妇女精品| 在线看一区二区| 蜜臀av性久久久久蜜臀av麻豆| 日韩一区二区三区在线| 国产一区二区网址| 亚洲日本在线观看| 欧美一区二区三区免费观看视频| 国产美女视频一区| 亚洲另类在线视频| 欧美一级理论性理论a| 国产成人亚洲综合a∨婷婷| 久久精品男人的天堂| 91亚洲男人天堂| 日韩av网站免费在线| 日本一区二区三区视频视频| 97成人超碰视| 蜜臀久久99精品久久久画质超高清| 久久久五月婷婷| 在线观看av一区| 免费xxxx性欧美18vr| 国产精品理论在线观看| 欧美二区乱c少妇| 成人高清视频免费观看| 三级久久三级久久| 国产精品乱码人人做人人爱| 欧美性做爰猛烈叫床潮| 国产精品亚洲专一区二区三区| 一区二区不卡在线视频 午夜欧美不卡在| 欧美一区二区不卡视频| 色综合久久久久网| 亚洲图片一区二区| 国产精品久久免费看| 欧美一区二区三区在| 色综合天天综合色综合av| 精东粉嫩av免费一区二区三区| 一区二区三区中文字幕电影 | 免费观看91视频大全| 亚洲欧美电影院| 国产日韩精品久久久| 欧美一区二区三区免费在线看| 色哦色哦哦色天天综合| 成人黄动漫网站免费app| 久久精品国产久精国产爱| 亚洲国产你懂的| 中文字幕在线不卡| 国产亚洲精品aa午夜观看| 日韩欧美一区在线观看| 欧美日韩一区三区四区| 91色porny| 成人污视频在线观看| 国内成人精品2018免费看| 天堂蜜桃一区二区三区| 亚洲国产乱码最新视频 | 日韩一区二区视频在线观看| 在线观看一区二区视频| 在线一区二区三区做爰视频网站| 91视视频在线观看入口直接观看www| av不卡免费在线观看| 本田岬高潮一区二区三区| 一道本成人在线| 9191成人精品久久| 日韩一二三区视频| 久久一区二区三区国产精品| 国产三级欧美三级| 国产精品不卡在线| 一区二区三区电影在线播| 亚洲国产精品久久人人爱蜜臀| 奇米色一区二区三区四区| 精品一区二区三区视频在线观看| 国内精品久久久久影院一蜜桃| 成人免费视频网站在线观看| 在线观看国产一区二区| 日韩一区国产二区欧美三区| 久久久亚洲综合| 亚洲免费av高清| 日韩成人免费看| 成人黄色电影在线| 欧美色图片你懂的| 久久美女艺术照精彩视频福利播放| 国产精品久久久久久久久搜平片| 亚洲午夜激情网页| 激情偷乱视频一区二区三区| 99久久免费视频.com| 日韩午夜激情av| 综合久久久久久久| 老色鬼精品视频在线观看播放| 粉嫩绯色av一区二区在线观看| 日本韩国一区二区三区视频| 欧美变态tickling挠脚心| 国产精品狼人久久影院观看方式| 日日夜夜免费精品| caoporm超碰国产精品| 日韩精品一区二区三区在线| 亚洲日本va在线观看| 久国产精品韩国三级视频| 色系网站成人免费| 久久尤物电影视频在线观看| 亚洲一二三四在线| 成人午夜私人影院| 日韩精品专区在线影院重磅| 亚洲欧美日韩国产另类专区| 紧缚捆绑精品一区二区| 欧美亚洲愉拍一区二区| 国产无人区一区二区三区| 日韩黄色一级片| 色综合天天综合网天天狠天天 | 亚洲成人福利片| 成av人片一区二区| 精品久久人人做人人爰| 亚洲国产一区二区三区| 99re热这里只有精品免费视频| 久久一区二区三区国产精品| 午夜欧美电影在线观看| 99久久综合国产精品| 久久伊人蜜桃av一区二区| 麻豆国产欧美日韩综合精品二区| 一本久久a久久精品亚洲| 国产亚洲欧美日韩日本| 久久成人久久鬼色| 91精品在线免费观看| 亚洲成人动漫一区| 在线观看91视频| 一区二区三区成人在线视频| 91农村精品一区二区在线| 亚洲国产精品黑人久久久| 国产成人免费视频一区| 久久久久9999亚洲精品| 韩国av一区二区| 久久综合视频网| 美腿丝袜亚洲三区| 欧美一区二区三区在| 日本不卡视频在线| 日韩一级在线观看| 精品一区精品二区高清| 日韩欧美国产电影| 老汉av免费一区二区三区| 日韩三级中文字幕| 美女视频一区二区| 精品欧美一区二区三区精品久久 | 精品乱人伦小说| 国产精品资源在线看| 久久视频一区二区| 国产精品18久久久久久vr| 国产视频一区不卡| 国产不卡视频在线播放| 中文字幕在线视频一区| 91麻豆蜜桃一区二区三区| 亚洲视频资源在线| 欧美午夜免费电影| 午夜影院久久久| 777奇米四色成人影色区| 九色porny丨国产精品| 久久精品人人爽人人爽| 成人美女视频在线观看18| 国产精品久久网站| 在线免费亚洲电影| 日韩av一区二区三区四区| 日韩天堂在线观看| 国产成人啪免费观看软件| 综合久久一区二区三区| 欧美美女直播网站| 久久www免费人成看片高清| 26uuuu精品一区二区| av电影在线观看一区| 五月开心婷婷久久| 久久日一线二线三线suv| 色综合天天做天天爱| 蜜桃视频一区二区三区| 中文字幕av在线一区二区三区|