⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bessel_main.cpp

📁 用matlab语言编写的试井分析的程序
💻 CPP
字号:
//“Bessel”函数动态链接库的测试
#include <iostream.h>
#include "Bessel.h"

void main()
{
/************************************************************************
Bessel function of the first kind, order zero
*************************************************************************/
	cout<<besselj0(2.5)<<endl;
/*************************************************************************
Bessel function of order one
Returns Bessel function of order one of the argument.
*************************************************************************/
    cout<<besselj1(3.4)<<endl;
/*************************************************************************
Bessel function of integer order

Returns Bessel function of order n, where n is a
(possibly negative) integer.
*************************************************************************/
   cout<<besseljn(5, 5.6)<<endl;
/************************************************************************
Bessel function of the second kind, order zero
*************************************************************************/
   cout<<bessely0(2.3)<<endl;
/*************************************************************************
Bessel function of second kind of order one

Returns Bessel function of the second kind of order one
of the argument.
*************************************************************************/
   cout<<bessely1(5.2)<<endl;
/*************************************************************************
Bessel function of second kind of integer order

Returns Bessel function of order n, where n is a
(possibly negative) integer.
*************************************************************************/
   cout<<besselyn(3, 5.8)<<endl;
/*************************************************************************
Modified Bessel function of order zero

Returns modified Bessel function of order zero of the
argument.
*************************************************************************/
   cout<<besseli0(2.5)<<endl;
/*************************************************************************
Modified Bessel function of order one

Returns modified Bessel function of order one of the
argument.
*************************************************************************/
   cout<<besseli1(8.9)<<endl;
/*************************************************************************
Modified Bessel function, second kind, order zero

Returns modified Bessel function of the second kind
of order zero of the argument.
*************************************************************************/
   cout<<besselk0(4.5)<<endl;
/*************************************************************************
Modified Bessel function, second kind, order one

Computes the modified Bessel function of the second kind
of order one of the argument.
*************************************************************************/
   cout<<besselk1(6.3)<<endl;
/*************************************************************************
Modified Bessel function, second kind, integer order

Returns modified Bessel function of the second kind
of order n of the argument.
*************************************************************************/
   cout<<besselkn(3, 0.5)<<endl;
   /*************************************************************************
Bessel function of noninteger order(the first kind)

Returns Bessel function of order v of the argument,
where v is real.  Negative x is allowed if v is an integer.
*************************************************************************/
   cout<<besseljv(0, 2.3)<<endl;
/*************************************************************************
Modified Bessel function of noninteger order(the first kind)

Returns modified Bessel function of order v of the
argument.  If x is negative, v must be integer valued.
*************************************************************************/
   cout<<besseliv(3.5, 4.8)<<endl;
}

/* 梁光跃 S070020420 研开发07-2 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -