证明:$(1)$设$r\left( A \right) =
r$,则由$Jordan$标准形理论知,存在可逆阵$P$,使得\[{P^{ - 1}}AP = \left(
{\begin{array}{*{20}{c}}0&{{E_r}}\\0&0\end{array}} \right)\]从而可知\...
分类:
其他好文 时间:
2014-05-19 17:59:50
阅读次数:
195
证明:由于${A^2} = A$,且$r\left( A \right) =
r$,则存在可逆阵$P$,使得\[{P^{ - 1}}AP = \left(
{\begin{array}{*{20}{c}}{{E_r}}&{}\\{}&0\end{array}} \right)\]即${P^{ -
1...
分类:
其他好文 时间:
2014-05-19 16:43:52
阅读次数:
208
vector::const_iterator result =
find(vector.begin(). vector.end(),search_value); 如果查找失败,分会end()
如果有两个,会返回哪一个的迭代器?int *reauslt = find(ia,ia+6,search_va...
分类:
编程语言 时间:
2014-05-19 15:15:33
阅读次数:
324
【题目】
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note:
Given n will ...
分类:
其他好文 时间:
2014-05-18 18:48:03
阅读次数:
269
【题目】
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is.
You may not alter the values in the nodes, only n...
分类:
其他好文 时间:
2014-05-18 10:22:34
阅读次数:
367
本来在博客上看到用python写的归并排序的程序,然后自己跟着他写了一下,结果发现是错的,不得不自己操作。而自己对python不是很了解所以就变百度边写,终于在花了半个小时之后就写好了。
def merge(a, first, end, temp):
if first < end:
mid = (first+end)//2
merge(a, first, mid, temp) #前半部...
分类:
编程语言 时间:
2014-05-18 09:16:53
阅读次数:
296
在5.4中向event(eg,event 45)注册了callback函数(SysComC2CIsr),该函数会在什么时候调用呢?
该callback函数会在EventCombinerIsr中断服务函数中调用,前面讲到过systemEvent 4~127作为eventCombiner的输入,而EventCombiner的输出event 0~3,event 0~3是与CPU中断输入INT4~15对...
分类:
其他好文 时间:
2014-05-18 08:14:22
阅读次数:
239
package com.rgy.Test;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.J...
分类:
编程语言 时间:
2014-05-18 07:19:51
阅读次数:
344
假如现在有一个Button按钮,Button按钮上有click和doubleclick事件。两个不同的事件需要进行不同的处理,这时候就需要为相应的事件注册Listener了。修改后的目录组织结构如下:1、事件基本类的编写如下:package com.event.test02;
public class Event {
public String action; // 事件名称
public...
分类:
编程语言 时间:
2014-05-18 06:17:22
阅读次数:
332
前面讲到对于中断来说,eventCombiner将INTC的输入event 4~127分为四个group,即evenCombiner的四个输出event 0~3. 这样event 0~3与event 4~127一起作为Interrupt Sector的输入。之所以这样做是因为CPU仅有12个INT输入(INT4~15),而systemEvent有4~127共124个event,所以12个CPU的I...
分类:
其他好文 时间:
2014-05-18 06:12:14
阅读次数:
304