This collection of C++ templates wraps the FORTRAN or C interfaces for LAPACK so that they integrate with the Boost uBLAS library. Currently implements Cholesky decomposition, LU decomposition, inversion and determinant for general and positive-definite matrices.
標簽: collection interfaces integrate templates
上傳時間: 2015-08-10
上傳用戶:chfanjiang
ACM試題An Easy Problem Description As we known, data stored in the computers is in binary form. The problem we discuss now is about the positive integers and its binary form. Given a positive integer I, you task is to find out an integer J, which is the minimum integer greater than I, and the number of 1 s in whose binary form is the same as that in the binary form of I. For example, if "78" is given, we can write out its binary form, "1001110". This binary form has 4 1 s. The minimum integer, which is greater than "1001110" and also contains 4 1 s, is "1010011", i.e. "83", so you should output "83".
標簽: Description computers Problem binary
上傳時間: 2013-12-11
上傳用戶:libenshu01
HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Each of the following N lines contains two positive integers s and t, representing that a table is to move from room number s to room number t (each room number appears at most once in the N lines). From the N+3-rd line, the remaining test cases are listed in the same manner as above.
上傳時間: 2015-10-18
上傳用戶:三人用菜
/* This a simple genetic algorithm implementation where the */ /* evaluation function takes positive values only and the */ /* fitness of an individual is the same as the value of the */ /* objective function
標簽: implementation evaluation algorithm function
上傳時間: 2016-01-18
上傳用戶:wkchong
PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = PlotSphereIntensity(...) Plots the intensity (as color) of a number of points on a unit sphere. Input: azimuth (phi), in degrees elevation (theta), in degrees intensity (optional, if not provided, a green sphere is produced) All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated. Output: h - a handle to the patch object The axes are also plotted: positive x axis is red positive y axis is green positive z axis is blue
標簽: PlotSphereIntensity elevation azimuth intensity
上傳時間: 2014-01-15
上傳用戶:ruan2570406
基于UDP實現E-Mail傳輸 工作過程描述: 客戶端描述: 1. Client(以下簡稱C端)端將郵件以規定的大小封裝為符合要求的UDP包。 2. 將封裝好的UDP包發出,并等待Server(以下簡稱S端)端收到相應的UDP包后返回的回應Acknowledge(以下簡稱為ACK)。若收到的為positive ACK,則繼續發包;若收到的為Negtive ACK,則將應發的包重發。 3. 直到C端將所有要發的包都發完,并都已經收到S端的回應,最后發一個End包,直接關閉此進程。 服務器端描述: 1. S端啟動服務進程,并監聽相應端口。 2. 若收到C端發出的有關請求,按如下情況給出相應的反映: a. 將收到的包進行檢測,若收到的包有錯則拋棄(discard),并發給C端一個negtive ACK。 b. 將收到的包進行檢測,若收到的包正常,則將此包進行解包,將內容輸出至一臨時文件;并發給C端一個positive ACK。 3.依次收到來自C斷的包,直到收到end為止,并關閉此進程,轉回監聽狀態。
上傳時間: 2014-12-08
上傳用戶:sxdtlqqjl
In this paper, we present LOADED, an algorithm for outlier detection in evolving data sets containing both continuous and categorical attributes. LOADED is a tunable algorithm, wherein one can trade off computation for accuracy so that domain-specific response times are achieved. Experimental results show that LOADED provides very good detection and false positive rates, which are several times better than those of existing distance-based schemes.
標簽: algorithm detection containi evolving
上傳時間: 2014-01-08
上傳用戶:aeiouetla
An optimal neuron evolution algorithm for the restoration of linearly distorted images is presented in this paper. The proposed algorithm is motivated by the symmetric positive-definite quadratic programming structure inherent in restoration. Theoretical analysis and experimental results show that the algorithm not only significantly increases the convergence rate of processing, hut also produces good restoration results. In addition, the algorithm provides a genuine parallel processing structure which ensures computationally feasible spatial domain image restoration
標簽: restoration evolution algorithm distorted
上傳時間: 2013-12-21
上傳用戶:yy541071797
//通過18B20檢測的數字溫度可在電腦上顯示當前溫度值 #include <reg52.h> #define uchar unsigned char #define uint unsigned int sbit DS=P2^2 //define interface uint temp // variable of temperature uchar flag1 // sign of the result positive or negative sbit dula=P2^6 sbit wela=P2^7
標簽: define unsigned include 18B20
上傳時間: 2014-01-19
上傳用戶:Andy123456
步進電機驅動程序 用C8051F330單片機控制L297和L298驅動步進電機。能夠實現正反轉-C8051F330 SCM with L297 and L298 stepper motor drive. To achieve positive
標簽: L297 L298 C8051F330 stepper
上傳時間: 2013-12-21
上傳用戶:yoleeson