function [y,p,e]=huise_1_1(X,k) %灰色模型的malab程序%Example [y,p]=gm_1_1([200 250 300 350],2) %接口描述: X的预测的初始数列,|X|>4,K是指向后进行预测的个数%命令格式: 程序保存的文件名,eg:huise.m ...
分类:
其他好文 时间:
2014-07-23 22:24:57
阅读次数:
375
1. 下载PECompact
下载地址:http://download.csdn.net/download/sniper_bing/7669247 , 不行大家就去baidu搜索下载就可以了这个是绿色版本, 不需要安装, 然后放到项目目录下.
2.配置: 如图
3. 重新生成即可, 压缩率可达62%....
分类:
其他好文 时间:
2014-07-23 18:09:05
阅读次数:
253
今天终于自己静态编译过了QT5.3.1, 成功用在项目上了, 记录下configure指令.
configure -confirm-license -opensource -platform win32-msvc2013 -mp -debug-and-release -static -prefix "E:\Qt\5.3.1-static-vs2013" -qt-sql-sqlite -...
分类:
其他好文 时间:
2014-07-23 18:08:45
阅读次数:
256
Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].题解:首先对所有的区间按照s...
分类:
其他好文 时间:
2014-07-23 18:01:57
阅读次数:
210
package com.example.listsildedel;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.ListV...
分类:
移动开发 时间:
2014-07-23 16:38:32
阅读次数:
286
由于linux 系统机制问题,文件的创建和写入并不会直接写入硬盘,而是先写入缓存,当系统要关闭或需要时才写入硬盘。为防止突然掉电,应将缓存中的文件及时同步到硬盘上去。linux 下的sync 命令具有数据同步功能,我们可以在Qt程序中调用该命令。
附:sync 命令说明
sync命令 linux同步数据命令
格式: sync
用途:更新 i-node 表,并将缓冲文件写...
分类:
系统相关 时间:
2014-07-23 16:37:11
阅读次数:
411
今天准备将mysql的数据倒腾到RDD,很早以前就知道有一个JdbcRDD,就想着使用一下,结果发现却是鸡肋一个。
首先,看看JdbcRDD的定义:
* An RDD that executes an SQL query on a JDBC connection and reads results.
* For usage example, see test case ...
分类:
数据库 时间:
2014-07-23 16:36:21
阅读次数:
408
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-07-23 16:19:41
阅读次数:
234
原始题目例如以下,意为寻找数组和最大的子串,返回这个最大和就可以。Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, ...
分类:
其他好文 时间:
2014-07-23 15:45:59
阅读次数:
246
第十章1、标签有JLabel类定义,它的父类为JComponent。标签可以显示一行只读文本、一个图像但不能产生任何事件。JLabel有多种构造方法,example:JLabel()、JLable(Iconicon)、JLable(Iconicon,intaligment)、JLable(Stringtext,intaligment)、JLale(Stringtext,Iconicon,intalig..
分类:
编程语言 时间:
2014-07-23 13:48:16
阅读次数:
271