本篇只要介绍angular表达式:在之前的例子中,我们多半是直接把数据作为angular标识符的值,但其实可以使用表达式来做更多的事情:比如:{{number}}也可以是:{{number+10}}
(将数据进行简单的运算)也可以是: {{someFun()/10}} (调用方法得到结果,同时经过简...
分类:
其他好文 时间:
2014-05-12 12:50:36
阅读次数:
277
[问题2014S12] 设 \(A,B\)都是 \(n\) 阶半正定实对称阵, 证明: \(AB\)
的所有特征值都是非负实数. 进一步, 若 \(A,B\) 都是正定实对称阵, 证明: \(AB\) 的所有特征值都是正实数.[公告]
关于本学期复旦高等代数II(13级)每周一题,新题的公布到第十五...
分类:
其他好文 时间:
2014-05-12 11:03:55
阅读次数:
263
本篇研究 暴走武侠 效果。直接贴代码Shader "Cg shader with single
texture" { Properties { _MainTex ("Texture Image", 2D) = "white" {} _MainTex1
("Texture I...
分类:
其他好文 时间:
2014-05-12 10:25:57
阅读次数:
340
Given a string S and a string T, count the
number of distinct subsequences of T in S.A subsequence of a string is a new
string which is formed from th...
分类:
其他好文 时间:
2014-05-12 09:37:51
阅读次数:
287
原文:23种设计模式大全(适合新手阅读)第Ⅰ部分 开篇 序章第Ⅱ部分 创建型模式篇第1章
单例模式(Single Pattern)第2章 简单工厂模式(SampleFactory)第3章 抽象工厂模式(Abstract Factory) 第4章
建造者模式(Builder Pattern)第5章 原...
分类:
其他好文 时间:
2014-05-12 08:57:45
阅读次数:
319
原文第1章 单例模式(Single
Pattern)单例模式就是保证在整个应用程序的生命周期中,在任何时刻,被指定的类只有一个实例,并为客户程序提供一个获取该实例的全局访问点。一、常用模式:123456789101112131415161718publicclassSingleton
{ priva...
分类:
其他好文 时间:
2014-05-12 08:37:16
阅读次数:
219
Given a stringSand a stringT, count the number
of distinct subsequences ofTinS.A subsequence of a string is a new string which
is formed from the orig...
分类:
其他好文 时间:
2014-05-10 19:10:58
阅读次数:
389
原题地址:http://www.cnblogs.com/x1957/p/3373994.html题意:Given
an array of integers, every element appearstwiceexcept for one. Find that single
one.要求:线性时间复...
分类:
编程语言 时间:
2014-05-10 05:22:27
阅读次数:
408
主程序代码 - 1 #include 2 #include 3 main() 4 { 5
long t1; 6 int i, n, t, t3; 7 char a[100]; 8 printf("please input a number
string:\n");...
分类:
其他好文 时间:
2014-05-10 03:10:56
阅读次数:
269
原题地址:http://oj.leetcode.com/problems/single-number-ii/题意:Given
an array of integers, every element appearsthreetimes except for one. Find that
single ...
分类:
编程语言 时间:
2014-05-10 03:01:41
阅读次数:
413