码迷,mamicode.com
首页 >  
搜索关键字:float    ( 12549个结果)
float浮动
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>自元素浮动导致父元素塌陷解决方案</title> <style type="text/css"> /* 1在父级元素中添加overflow:hidden; 2.在父 ...
分类:其他好文   时间:2020-03-15 10:05:19    阅读次数:55
JavaScript 响应式开发
响应式开发原理 利用媒体查询对不同宽度的设备进行布局和样式的设置,从而适配不同的设备 设备划分 尺寸区间 超小屏幕(手机) <768px 小屏设备(平板) >=768px~992px 中等屏幕(桌面显示器) >=992px~<1200px 宽屏设备(大桌面显示器) >=1200px 响应式布局容器 ...
分类:编程语言   时间:2020-03-15 09:42:29    阅读次数:127
C语言6 小总结
整数型字节一般为4 对应int 对应字节4 小数型一般对应 double float 如10.0 对应字节8 真对应 1 假对应 0 运算符 &(按位与) 两种条件都满足才成立、|(按位或)两种当中一种为真则为真 、^(按位异或)、~ (按位取反)。 其中,按位取反运算符是单目运算符,其余均为双目运 ...
分类:编程语言   时间:2020-03-15 00:15:25    阅读次数:85
题目:在同一坐标中输出sinx和cosx两条曲线
#include<iostream> #include<math.h> #define Pi 3.1415926 using namespace std; int main(){ int i,sinx,cosx; int line=0;//行数 float x=0; for(;line<25;x+= ...
分类:其他好文   时间:2020-03-15 00:12:14    阅读次数:65
queue 的使用
例子 说明 queue <Type> q; 定义栈,Type为数据类型,如int,float,char等 q. push(item); 把item放进队列 q.front(); 返回队首元素,但不会删除 q.pop(); 删除队首元素 q.back(); 返回队尾元素 q.size(); 返回元素个 ...
分类:其他好文   时间:2020-03-14 22:05:15    阅读次数:63
PyTorch常用函数:torch.topk; torch.index_select; torch.lt
torch.topk torch.topk(input, k, dim=None, largest=True, sorted=True, out=None) -> (Tensor, LongTensor) pytorch中文官网文档:http://www.mamicode.com/info-deta ...
分类:其他好文   时间:2020-03-14 22:02:14    阅读次数:101
Python 数据类型 -- 数字(Number)
Python 数据类型 Python 3中有6种标准的对象类型: Number(数字) String(字符串) List(列表) Tuple(元组) Sets(集合) Dictionary(字典) 1 Number(数字) Python 3支持3种不同的数值类型:整型(int)、浮点型(float) ...
分类:编程语言   时间:2020-03-14 22:00:10    阅读次数:67
Prometheus 监控平台的搭建
1. 环境准备 两台ubuntu 16.04 服务器内网IP 作用 安装软件 172.16.4.11 监控的服务端 Prometheus(服务端软件) Grafana(数据展示) 172.16.4.12 被监控的客户端 node_exporter(收集服务器数据) mysqld_exporter(收 ...
分类:其他好文   时间:2020-03-14 12:51:39    阅读次数:93
奋斗一晚上的结果0.0(输出一个数的0~5次幂)
a=float(input()) for b in range(0,6): n=pow(a,b) print(n) hhhhhh ...
分类:其他好文   时间:2020-03-14 10:58:04    阅读次数:54
C++点类、园类、圆柱类继承与多态
#include<iostream> using namespace std; class Point{ public: Point(float=0,float=0); void setPoint(float,float); float getX()const{return x;} float ge ...
分类:编程语言   时间:2020-03-14 10:44:17    阅读次数:60
共12549条   上一页 1 ... 83 84 85 86 87 ... 1255 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!