码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
激活函数()(转)
神经网络之激活函数(Activation Function) 转载::http://blog.csdn.net/cyh_24 :http://blog.csdn.net/cyh_24/article/details/50593400 日常 coding 中,我们会很自然的使用一些激活函数,比如:si ...
分类:其他好文   时间:2016-09-13 13:27:42    阅读次数:342
$(document).ready() $(window).load 及js的window.onload
1、$(document).ready() 简写为$(function(){}) DOM结构绘制完成执行,而无需等到图片或其他媒体下载完毕. 2、$(window).load 在有时候确实我们有需要等到页面的所有东西都加载完后再执行时使用 3、window.onload=function(){} 必 ...
分类:Windows程序   时间:2016-09-13 13:11:14    阅读次数:166
php 四种基础算法 ---- 选择排序法
2. 选择排序法: 选择排序法思路: 每次选择一个相应的元素,然后将其放到指定的位置 代码: function select_sort($arr) {//实现思路 双重循环完成,外层控制轮数,当前的最小值。内层 控制的比较次数 //$i 当前最小值的位置, 需要参与比较的元素 for($i=0, $ ...
分类:编程语言   时间:2016-09-13 13:06:55    阅读次数:209
242. Valid Anagram
Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", t = ...
分类:其他好文   时间:2016-09-13 11:42:46    阅读次数:110
mysql 函数
发一个mysql的函数体,基本上主要的函数语法都有了 CREATE FUNCTION `func_getprojaddr`(projname varchar(200)) RETURNS varchar(300) CHARSET utf8BEGIN declare paddr varchar(300) ...
分类:数据库   时间:2016-09-13 11:42:24    阅读次数:218
js事件 event.target
我们购物车里,会时不时增加和删除产品时,就会绑定事件和解绑的动作。 <ul> <li></li> <li></li> </ul> 例子:在li上未来绑定事件, $('ul').on('click','li',function(){ $(this).remove(); }); 例子:在ul上绑定事件 ...
分类:Web程序   时间:2016-09-13 11:32:45    阅读次数:190
js按Enter键提交表单
function exprint(e){ /* var keycode = event.keyCode; if (keycode == "13"){ fm.UserCode.focus(); submitForm(); } */ e = e ? e : window.event; var keyCo ...
分类:Web程序   时间:2016-09-13 11:29:22    阅读次数:142
237. Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 - ...
分类:其他好文   时间:2016-09-13 09:02:39    阅读次数:136
【LeetCode】345. Reverse Vowels of a String 解题小结
题目: Write a function that takes a string as input and reverse only the vowels of a string. Example 1:Given s = "hello", return "holle". Example 2:Give ...
分类:其他好文   时间:2016-09-13 00:10:05    阅读次数:137
argument
(function(window,undefined){})(window) 立即执行匿名参数,不污染全局变量。Jquery的最外层调用。传window为了速度,嵌套了以后访问全局变量不用到外层函数去找,不传undefined为了安全。 在低版本的IE,FF里undefined是可以赋值改变的,所以 ...
分类:其他好文   时间:2016-09-13 00:08:01    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!