R语言封装函数 原帖见豆瓣:https://www.douban.com/note/279077707/ 一个完整的R函数,需要包括函数名称,函数声明,函数参数以及函数体几部分。 1. 函数名称,即要编写的函数名称,这一名称就作为将来调用R函数的依据。2. 函数声明,函数名称 <- function ...
分类:
编程语言 时间:
2019-07-15 23:58:06
阅读次数:
328
//2019.07.141、matplotlib模块输出函数图像应用时主要用的是它的ptplot模块,因此在导入使用该模块时可以直接用以下语句:import matplotlib.pyplot as plt2、matplotlib模块输出图线时它得到坐标轴数值以及标题正常默认是英文形式,而如果需要在 ...
分类:
编程语言 时间:
2019-07-14 19:44:07
阅读次数:
386
小程序中当rich-text中数据较多时就会出现溢出的现象 如下 此时的页面效果并不是很理想 此时我们可以在数据中给个div 加入 overflow: hidden; white-space: nowrap; text-overflow: ellipsis;三个属性解决溢出问题 但这不是很好,如果数 ...
分类:
微信 时间:
2019-07-10 23:12:07
阅读次数:
524
# -*- coding:utf-8 -*- class Array(object): def __init__(self, size=32): self._size = size self._items = [None] * size def __getitem__(self, index): r... ...
分类:
编程语言 时间:
2019-07-10 22:49:14
阅读次数:
100
26drag.html 27magnifier.html 28mouseenter&mouseleave.html 29popup.html ...
分类:
编程语言 时间:
2019-07-09 00:20:50
阅读次数:
128
Linear algebra is the branch of mathematics concerning vector spaces and linear mappings between such spaces. It includes the study of lines, planes, ... ...
分类:
其他好文 时间:
2019-07-07 17:34:58
阅读次数:
79
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll ...
分类:
其他好文 时间:
2019-07-07 14:22:14
阅读次数:
84
欧拉(乌拉(雾)): $a^{\phi\( n)}\ \equiv 1\( mod n)$ 拓展一下就是: $a^c= $ $1. a^{c\ mod\ \phi\( m)}$ $gcd(a,m)=1$ $2. a^{c\ mod\ \phi\( m)+\phi\( m)}$ $gcd(a,m) \ ...
分类:
其他好文 时间:
2019-07-07 09:37:12
阅读次数:
100
报错:“TabError: inconsistent use of tabs and spaces in indentation” 参考: https://www.cnblogs.com/ncuhwxiong/p/9836648.html https://www.cnblogs.com/shinny ...
分类:
其他好文 时间:
2019-07-07 09:16:12
阅读次数:
98
交换机属于二层设备(隶属于osi七层模型中的第二层:数据链路层,不识别不支持IP地址) > 用户模式 用于登录设备 # 特权模式 用于查询设备配置 (config)# 全局模式 用于配置设备 (config-vlan)# vlan配置模式(全局模式) (config-if)# 端口配置模式 enab ...
分类:
其他好文 时间:
2019-07-06 00:16:28
阅读次数:
111