请先安装好R和RStudio 如果不干别的,控制台就是一个内置计算器 分配符 类或者数据类型 R语言基于变量被赋予的值的属性自行决定变量类型,而非刻意定义变量类型 更改变量类型 R语言中变量类型有无穷个,因为可以自由定义新的类,当然,一些常用的类有以下: 变量类型 character – Strin ...
分类:
编程语言 时间:
2019-09-07 01:35:49
阅读次数:
169
矢量化 矢量化指的是用数组代替标量来操作数组里的每个元素。 numpy提供了vectorize函数,可以把处理标量的函数矢量化,返回的函数可以直接处理ndarray数组。 numpy还提供了frompyfunc函数,也可以完成与vectorize相同的功能 案例:定义一种买进卖出策略,通过历史数据判 ...
分类:
其他好文 时间:
2019-09-06 12:52:59
阅读次数:
84
FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= ...
分类:
其他好文 时间:
2019-09-05 23:15:50
阅读次数:
109
一,matplotilb库(数学绘图库) mat数学 plot绘图 lib库 matplotlib.pyplot(缩写mp)->python 最常用接口 mp.plot(水平坐标,垂直坐标数组) X:[1 2 3 4] Y:[5 6 7 8] .mp.plot(X,Y) 代码:plot(xxx,li ...
分类:
其他好文 时间:
2019-09-05 18:18:23
阅读次数:
141
数据模板常用在3种类型的控件, 下图形式: 1.Grid这种列表表格中修改Cell的数据格式, CellTemplate可以修改单元格的展示数据的方式。 2.针对列表类型的控件, 例如树形控件,下拉列表,列表控件, 可以修改其中的ItemTemplate。 3.修改ContentTemplate, ...
To start this tutorial, you need an Angular 5+ application created using the Angular CLI. Refer to the Angular CLI documentation for information on ho ...
分类:
其他好文 时间:
2019-09-01 14:37:42
阅读次数:
134
<Window.Resources> <TextBlock x:Key="Res1" Text="海上生明月"/> <TextBlock x:Key="Res2" Text="海上生明月"/> </Window.Resources> <Grid> <Grid.RowDefinitions> <Row... ...
分类:
其他好文 时间:
2019-09-01 01:26:35
阅读次数:
97
一、什么是Ganglia 对于这个工具,大家可能比较陌生,但是它功能非常强大,如果我们想收集所有服务器、网络设备的数据,那么ganglia绝对是首选,在深入学习之前,还是先从基础概念了解起吧! Ganglia是一款为HPC(高性能计算)集群而设计的可扩展的分布式监控系统,它可以监视和显示集群中的节点 ...
分类:
其他好文 时间:
2019-08-31 23:33:21
阅读次数:
117
11.2.0.4补丁号13390677,共7个文件,分别是其中1&2是db,3是grid,4是client,5是gateways,6是example,7是deinstall上传安装介质并解压[oracle@localhost db]$ unzip -q p13390677_112040_Linux-... ...
分类:
数据库 时间:
2019-08-31 15:15:38
阅读次数:
156
原题链接在这里:https://leetcode.com/problems/number-of-corner-rectangles/ 题目: Given a grid where each entry is only 0 or 1, find the number of corner rectang ...
分类:
其他好文 时间:
2019-08-31 13:02:27
阅读次数:
97