-
Learn how to leverage a key Java technology used to access
relational data from Java programs, in an Oracle environment.
Author Donald Bales begins by teaching you the mysteries of
establishing database connections, and how to issue SQL queries
and get results back. You ll move on to advanced topics such as
streaming large objects, calling PL/procedures, and working
with Oracle9i s object-oriented features, then finish with a look at
transactions, concurrency management, and performance
標簽:
Java
technology
relational
leverage
上傳時間:
2017-08-02
上傳用戶:xz85592677
-
實驗源代碼
//Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("請輸入矩陣第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); } } for(i=0;i<k;i++){ for( j=0;j<k;j++){ if(temp[ j][i]==1) { for(t=0;t<n;t++) { temp[ j][t]=temp[i][t]||temp[ j][t]; } } } } printf("可傳遞閉包關系矩陣是:\n"); for(i=0;i<k;i++) { for( j=0;j<n;j++) { printf("%d", temp[i][ j]); } printf("\n"); } } void main() { printf("利用 Warshall 算法求二元關系的可傳遞閉包\n"); void warshall(int,int); int k , n; printf("請輸入矩陣的行數 i: "); scanf("%d",&k);
四川大學實驗報告 printf("請輸入矩陣的列數 j: "); scanf("%d",&n); warshall(k,n); }
標簽:
warshall
離散
實驗
上傳時間:
2016-06-27
上傳用戶:梁雪文以
-
#include "iostream" using namespace std;
class Matrix
{
private:
double** A; //矩陣A
double *b; //向量b
public:
int size;
Matrix(int );
~Matrix();
friend double* Dooli(Matrix& );
void Input();
void Disp();
};
Matrix::Matrix(int x) {
size=x;
//為向量b分配空間并初始化為0
b=new double [x];
for(int j=0;j<x;j++)
b[j]=0;
//為向量A分配空間并初始化為0
A=new double* [x];
for(int i=0;i<x;i++)
A[i]=new double [x];
for(int m=0;m<x;m++)
for(int n=0;n<x;n++)
A[m][n]=0;
}
Matrix::~Matrix() {
cout<<"正在析構中~~~~"<<endl;
delete b;
for(int i=0;i<size;i++)
delete A[i];
delete A;
}
void Matrix::Disp()
{
for(int i=0;i<size;i++)
{
for(int j=0;j<size;j++)
cout<<A[i][j]<<" ";
cout<<endl;
}
}
void Matrix::Input()
{
cout<<"請輸入A:"<<endl;
for(int i=0;i<size;i++)
for(int j=0;j<size;j++){
cout<<"第"<<i+1<<"行"<<"第"<<j+1<<"列:"<<endl;
cin>>A[i][j];
}
cout<<"請輸入b:"<<endl;
for(int j=0;j<size;j++){
cout<<"第"<<j+1<<"個:"<<endl;
cin>>b[j];
}
}
double* Dooli(Matrix& A) {
double *Xn=new double [A.size];
Matrix L(A.size),U(A.size);
//分別求得U,L的第一行與第一列
for(int i=0;i<A.size;i++)
U.A[0][i]=A.A[0][i];
for(int j=1;j<A.size;j++)
L.A[j][0]=A.A[j][0]/U.A[0][0];
//分別求得U,L的第r行,第r列
double temp1=0,temp2=0;
for(int r=1;r<A.size;r++){
//U
for(int i=r;i<A.size;i++){
for(int k=0;k<r-1;k++)
temp1=temp1+L.A[r][k]*U.A[k][i];
U.A[r][i]=A.A[r][i]-temp1;
}
//L
for(int i=r+1;i<A.size;i++){
for(int k=0;k<r-1;k++)
temp2=temp2+L.A[i][k]*U.A[k][r];
L.A[i][r]=(A.A[i][r]-temp2)/U.A[r][r];
}
}
cout<<"計算U得:"<<endl;
U.Disp();
cout<<"計算L的:"<<endl;
L.Disp();
double *Y=new double [A.size];
Y[0]=A.b[0];
for(int i=1;i<A.size;i++ ){
double temp3=0;
for(int k=0;k<i-1;k++)
temp3=temp3+L.A[i][k]*Y[k];
Y[i]=A.b[i]-temp3;
}
Xn[A.size-1]=Y[A.size-1]/U.A[A.size-1][A.size-1];
for(int i=A.size-1;i>=0;i--){
double temp4=0;
for(int k=i+1;k<A.size;k++)
temp4=temp4+U.A[i][k]*Xn[k];
Xn[i]=(Y[i]-temp4)/U.A[i][i];
}
return Xn;
}
int main()
{
Matrix B(4);
B.Input();
double *X;
X=Dooli(B);
cout<<"~~~~解得:"<<endl;
for(int i=0;i<B.size;i++)
cout<<"X["<<i<<"]:"<<X[i]<<" ";
cout<<endl<<"呵呵呵呵呵";
return 0;
}
標簽:
道理特分解法
上傳時間:
2018-05-20
上傳用戶:Aa123456789
-
The status quo of digital cities is analysed in detail, using six different
perspectives:
1. Social interaction
2. Safety
3. Data management and analytics
4. Mobility
5. Consumer Lifestyle
6. Crowd-based services
標簽:
Digital
Cities
White
Paper
上傳時間:
2020-05-23
上傳用戶:shancjb
-
The Internet of Things is considered to be the next big opportunity, and challenge, for the
Internet engineering community, users of technology, companies and society as a whole. It
involves connecting embedded devices such as sensors, home appliances, weather stations
and even toys to Internet Protocol (IP) based networks. The number of IP-enabled embedded
devices is increasing rapidly, and although hard to estimate, will surely outnumber the
number of personal computers (PCs) and servers in the future. With the advances made over
the past decade in microcontroller,low-power radio, battery and microelectronic technology,
the trend in the industry is for smart embedded devices (called smart objects) to become
IP-enabled, and an integral part of the latest services on the Internet. These services are no
longer cyber, just including data created by humans, but are to become very connected to the
physical world around us by including sensor data, the monitoring and control of machines,
and other kinds of physical context. We call this latest frontier of the Internet, consisting of
wireless low-power embedded devices, the Wireless Embedded Internet. Applications that
this new frontier of the Internet enable are critical to the sustainability, efficiency and safety
of society and include home and building automation, healthcare, energy efficiency, smart
grids and environmental monitoring to name just a few.
標簽:
Embedded
Internet
Wireless
6LoWPAN
The
上傳時間:
2020-05-26
上傳用戶:shancjb
-
Today’s wireless services have come a long way since the roll out of the
conventional voice-centric cellular systems. The demand for wireless access
in voice and high rate data multi-media applications has been increasing.
New generation wireless communication systems are aimed at accommodating
this demand through better resource management and improved transmission
technologies.
標簽:
Radio
Cognitive
Software
Defined
上傳時間:
2020-05-26
上傳用戶:shancjb
-
In the preparation of this book, our objective was to provide an advanced understanding of emerging
telecommunications systems, their significance, and the anticipated role these systems will play in the
future. With the help of our talented associated editors and contributors, we believe we have accomplished
this. By addressing voice, Internet, traffic management, and future trends, we feel our readers will be
knowledgeable about current and future telecommunications systems.
標簽:
CRC
Handbook
of Modern
Telecommunications
上傳時間:
2020-05-27
上傳用戶:shancjb
-
The single-carrier frequency division multiple access (SC-FDMA)
system is a well-known system that has recently become a preferred
choice for mobile uplink channels. This is attributed to its advantages
such as the low peak-to-average power ratio (PAPR) and the use of
frequency domain equalizers. Low PAPR allows the system to relax
the specifications of linearity in the power amplifier of the mobile
terminal, which reduces cost and power consumption.
標簽:
Communications
SC-FDMA
Mobile
for
上傳時間:
2020-06-01
上傳用戶:shancjb
-
This book is an outgrowth of the pioneering development work done by InterDigital Com-
munication Corporation in 3rd Generation TDD WCDMA Technology. Many engineers
and managers were involved in this development, which spanned a wide range of tech-
nology areas, including system architecture, radio interface, radio modem design, radio
resource management and hardware/software implementation. In addition, TDD WCDMA
technology had many direct and indirect contributors across the globe in the context of
the development of the 3GPP TDD WCDMA Standard.
標簽:
Wideband
TDD
上傳時間:
2020-06-01
上傳用戶:shancjb
-
Digital radios have undergone an astonishing evolution in the last century. Born as a set of simple and
power-hungry electrical and electromechanical devices for low data rate transmission of telegraph data
in the Marconi age, they have transformed, thanks to substantial advances in electronic technology,
into a set of small, reliable and sophisticated integrated devices supporting broadband multimedia
communications. This, however, would not have been possible unless significant progress had been
made in recent decades in the field of signal processing algorithms for baseband and passband signals.
In fact, the core of any modern digital radio consists of a set of algorithms running over programmable
electronic hardware. This book stems from the research and teaching activities of its co-authors in
the field of algorithmic techniques for wireless communications. A huge body of technical literature
has accumulated in the last four decades in this area, and an extensive coverage of all its important
aspects in a single textbook is impossible. For this reason, we have selected a few important topics
and, for ease of reading, organized them into two parts.
標簽:
Communications
Algorithmic
Techniques
Wireless
上傳時間:
2020-06-01
上傳用戶:shancjb