码迷,mamicode.com
首页 >  
搜索关键字:rand    ( 4046个结果
MyBatis从入门到精通(第6章):MyBatis 高级查询->6.1.2高级结果映射之一对多映射
jdk1.8、MyBatis3.4.6、MySQL数据库5.6.45、IntelliJ IDEA 2019.3.1 本章主要包含的内容为 MyBatis 的高级结果映射,主要处理数据库一对一、一对多的查询,另外就是在 MyBatis 中使用存储过程的方法,处理存储过程的入参和出参方法,最后会介绍 J ...
分类:其他好文   时间:2020-01-12 17:58:36    阅读次数:83
【小实战】——抽奖转盘(大神篇)
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> div { margin: 0; padding: 0; } .container { width: 600px; ...
分类:其他好文   时间:2020-01-12 17:56:39    阅读次数:110
【小实战】——抽奖转盘(小白篇)
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> div { margin: 0; padding: 0; } .container { width: 600px; ...
分类:其他好文   时间:2020-01-12 16:42:42    阅读次数:95
并行编程概述
并发编程 多线程之——threa模块 >>> import time >>> time.ctime() 'Thu Jan 9 07:52:57 2020' import time """单线程示例 """ def worker(n): print(f'函数执行开始于:{time.ctime()}') ...
分类:其他好文   时间:2020-01-12 15:24:04    阅读次数:83
[LC] 398. Random Pick Index
Given an array of integers with possible duplicates, randomly output the index of a given target number. You can assume that the given target number m ...
分类:其他好文   时间:2020-01-12 09:53:56    阅读次数:64
leetcode1315
1 class Solution: 2 def __init__(self): 3 self.result = 0 4 5 def preOrder(self,root): 6 if root != None: 7 if root.val % 2 == 0: 8 self.levelOrder(ro ...
分类:其他好文   时间:2020-01-12 09:17:34    阅读次数:73
生成随机数(Random类)和获取用户输入(Scanner类)
生成指定范围内的随机数 Math.random() 生成随机数,随机数在0到1之间,类型是 double。 public class randCase { public static void main(String[] args) { double rand = 0; for (int i = 0 ...
分类:其他好文   时间:2020-01-11 22:19:35    阅读次数:98
每日算法练习(2020-1-11)
使用双指针来完成这道题 时间复杂度为O(N^2) package com.example.demo09; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Rand ...
分类:编程语言   时间:2020-01-11 20:49:34    阅读次数:100
[转]numpy.random.randn()用法
在python数据分析的学习和应用过程中,经常需要用到numpy的随机函数,由于随机函数random的功能比较多,经常会混淆或记不住,下面我们一起来汇总学习下。 import numpy as np 1 numpy.random.rand() numpy.random.rand(d0,d1,…,dn ...
分类:其他好文   时间:2020-01-11 15:26:32    阅读次数:123
# numpy 数据分析基础
numpy 数据分析基础 创建数组 | 方法 | 说明 | | | | | np.array( x ) | 将输入数据转化为一个ndarray\| | |np.array( x, dtype )|将输入数据转化为一个类型为type的ndarray\|| |np.asarray( array )|将输 ...
分类:其他好文   时间:2020-01-11 09:54:09    阅读次数:71
4046条   上一页 1 ... 53 54 55 56 57 ... 405 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!