组件:Java把由Component类的子类或间接子类创建的对象称为一个组件。 容器:是Java中能容纳和排列组件的组件。 Container类提供了一个方法add(),用来在容器类组件对象中添加其他组件。 通过调用Toolkit类的方法来得到屏幕尺寸信息。 Graphics2D类的setPaint ...
分类:
编程语言 时间:
2017-11-12 23:02:56
阅读次数:
297
numpy 简介 numpy的存在使得python拥有强大的矩阵计算能力,不亚于matlab。 官方文档(https://docs.scipy.org/doc/numpy-dev/user/quickstart.html) Quickstart tutorial Prerequisites Befo ...
分类:
其他好文 时间:
2017-11-12 18:39:53
阅读次数:
267
pwd print working directory hostname my computer's network name mkdir make directory cd change directory ls list directory rmdir remove directory push ...
1 package sowell.oracle.com.viewdraw; 2 3 import android.content.Context; 4 import android.graphics.Canvas; 5 import android.graphics.Color; 6 import ... ...
分类:
其他好文 时间:
2017-11-11 23:45:18
阅读次数:
220
Luke wants to upgrade his home computer network from 10mbs to 100mbs. His existing network uses 10base2 (coaxial) cables that allow you to connect any ...
分类:
其他好文 时间:
2017-11-11 13:02:31
阅读次数:
187
import java.io.ByteArrayOutputStream; import java.io.IOException; import android.annotation.SuppressLint; import android.graphics.Bitmap; import andro... ...
分类:
其他好文 时间:
2017-11-11 11:19:01
阅读次数:
272
先看效果看 加载了一张image,根据四个顶点任意变换。 知识点:1.BitmapContext 2.矩阵变换 一.什么是BitmapContext 官方解释: The number of components for each pixel in a bitmap graphics context ...
分类:
移动开发 时间:
2017-11-10 20:30:07
阅读次数:
317
连接SSH时,产生了一下错误 >Read from socket failed: Connection reset by peer 首先查看日志 tail -f /var/log/auth.log 添加参数 -v 获得更详细的连接信息 ssh user@computer -v 如果是 rsa and ...
分类:
其他好文 时间:
2017-11-10 18:53:21
阅读次数:
136
//设备的模型 36 37 GetMessage("设备模型",SystemInfo.deviceModel); 38 39 //设备的名称 40 41 GetMessage("设备名称",SystemInfo.deviceName); 42 43 //设备的类型 44 45 GetMessage( ...
分类:
编程语言 时间:
2017-11-09 17:54:23
阅读次数:
921
机器学习定义: A computer program is said to leran from experience E with respect to some task T and some performance measure P, if it's performance on T, as ...
分类:
其他好文 时间:
2017-11-09 00:46:57
阅读次数:
150