什么是函数式编程 http://www.zhihu.com/topic/19585411/hot 函数式编程的本质函数式编程中的函数这个术语不是指计算机中的函数(实际上是Subroutine),而是指数学中的函数,即自变量的映射。也就是说一个函数的值仅决定于函数参数的值,不依赖其他状态。比如sqrt... ...
分类:
其他好文 时间:
2016-07-25 00:04:40
阅读次数:
225
http://fftw.org/ FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) in one or more dimensions, of arbitrary input size, ...
分类:
其他好文 时间:
2016-06-16 22:57:56
阅读次数:
223
R14也称作子程序连接寄存器(Subroutine Link Register)或连接寄存器LR。当执行BL子程序调用指令时,R14中得到R15(程序计数器PC)的备份。其他情况下,R14用作通用寄存器。与之类似,当发生中断或异常时,对应的分组寄存器R14_svc、R14_irq、R14_fiq、R...
分类:
其他好文 时间:
2015-10-17 23:27:39
阅读次数:
212
sub sum_of_fred_and_barney{ print "Hey,you called the sum_of_fred_and_barney subroutine!\n"; $fred+$barney;}$fred =3;$barney=4;$wilma =&sum_of_...
分类:
其他好文 时间:
2015-08-03 13:00:13
阅读次数:
139
Lambda 简介
Lambda 作为一个新的特性添加到jdk中,说明了java对其它语言的支持,吸收其它语言先进的方法。Lambda 表达在java中提供了类型的引用,方法的引用,和默认方法。
对于Lambda的解释在wiki百科看到了就不做翻译保留原味(看看大家的理解,有不同的看法欢迎探讨)
Lambda (programming), a function (or a subroutine...
分类:
编程语言 时间:
2015-07-29 23:00:46
阅读次数:
158
A classic subroutine of merge sort. Just merge the elements from back to forth. Keep a pointer for the merged position of the element and two other po...
分类:
其他好文 时间:
2015-07-02 19:29:31
阅读次数:
112
A subroutine of merge sort. 1 class Solution { 2 public: 3 /** 4 * @param A and B: sorted integer array A and B. 5 * @return: A new sort...
分类:
编程语言 时间:
2015-06-29 19:23:28
阅读次数:
403
VB ProceduresA VB.NET procedure (aka sub for subroutine) is defined using the Sub / End Sub keywords. The procedure is invoked by using its name as a ...
分类:
其他好文 时间:
2015-06-17 01:49:20
阅读次数:
173
函数是这样一段代码,它只定义一次,但可能被执行或调用任意次。你可能从诸如子例程(subroutine)或者过程(procedure)这些名字里对函数概念有所了解。javascript函数是参数化的:函数定义会包括一个形参(parmeter)标识符列表。这些参数在函数中像局部变量一样工作。函数会调用会...
分类:
编程语言 时间:
2015-02-11 07:05:29
阅读次数:
293
VBA的过程及参数详解VBA中的过程(Procedure)有两种,一种叫函数(Function),另外一种叫子程序(Subroutine),分别使用Function和Sub关键字。它们都是一个可以获取参数、执行一系列语句、以及改变其参数的值的独立过程。而与 Function 过程不同的是:带返回值的...
分类:
编程语言 时间:
2015-01-20 17:16:40
阅读次数:
227