循环 1 #include<iostream> 2 3 using namespace std; 4 int main() 5 { 6 int my_array[] = { 1,2,3,4,5,6,7,8 }; 7 // 不会改变 my_array 数组中元素的值 8 // x 将使用 my_arr ...
分类:
编程语言 时间:
2021-02-04 11:44:06
阅读次数:
0
config.php文件里面定义框架目录常量 解析URL中的model,control,action 根据URL解析后的control,new出control, new $control(); new ReflectionMethod检测action权限 call_user_func_array执行 ...
分类:
Web程序 时间:
2021-02-03 11:01:10
阅读次数:
0
今日学习:《机器学习十讲》第六讲,考研择校相关信息处理。 scala学习: package com.chapter01.datatype object TypeDemo02 { def main(args: Array[String]): Unit = { println("Long的最大值:" + ...
分类:
其他好文 时间:
2021-02-02 11:23:01
阅读次数:
0
Dr. Tuple is working on the new data-mining application for Advanced Commercial Merchandise Inc. One of the subroutines for this application works wit ...
分类:
其他好文 时间:
2021-02-02 11:09:22
阅读次数:
0
直观理解高斯核函数 import numpy as np import matplotlib.pyplot as plt x = np.arange(-4, 5, 1) x # array([-4, -3, -2, -1, 0, 1, 2, 3, 4]) y = np.array((x >= -2) ...
分类:
其他好文 时间:
2021-02-01 12:54:14
阅读次数:
0
一. Koa初体验 1.1. 认识Koa 除了express,另外一个非常流行的Node Web服务器框架就是Koa。 Koa官方的介绍: koa:next generation web framework for node.js; koa:node.js的下一代web框架; 事实上,koa是exp ...
分类:
其他好文 时间:
2021-02-01 12:52:21
阅读次数:
0
C C. Nezzar and Symmetric Array 题意 原来有2n个数,各不相同,这2n个数中,每个数的相反数也在其中。 Nezzar在100万年前计算出了 每个数与其他数的差值 的和,但忘掉了原来那2n个数。 问从这2n个计算出来的差值和能不能推出一个满足条件的2*n个数。 思路 发 ...
分类:
其他好文 时间:
2021-02-01 12:34:47
阅读次数:
0
1. 直接用limit start, count分页语句, 也是我程序中用的方法: select * from product limit start, count 当起始页较小时,查询没有性能问题,我们分别看下从10, 100, 1000, 10000开始分页的执行时间(每页取20条), 如下: ...
分类:
数据库 时间:
2021-02-01 12:16:04
阅读次数:
0
01.note 一.不用pytorch的module模型手写简单的线性问题 1)输入train_data和test_data #1.输入数据集 inputs = np.array([[73, 67, 43], [91, 88, 64], [87, 134, 58], [102, 43, 37], [ ...
分类:
其他好文 时间:
2021-01-30 12:05:31
阅读次数:
0
控制面板里只有一个版本号 安装时采取升级方式,主要关键点有: 1.版本更新;(1.1.1.XXXXX-> 1.1.2.XXXXX) 2.ProductCode变化;(<Product Id="*") 3.UpgradeCode保持不变。(<Upgrade Id="不变") 自定义操作 1.新建C# ...