码迷,mamicode.com
首页 >  
搜索关键字:a1    ( 6114个结果
欧拉角欧拉矩阵
``` //计算旋转角 double calculateAngle(const EigenVector3d &vectorBefore, const EigenVector3d &vectorAfter) { double ab, a1, b1, cosr; ab = vectorBefore.x( ...
分类:其他好文   时间:2021-02-19 13:15:43    阅读次数:0
ArrayList源码讲解
ArrayList源码 以ArrayList的add()方法为例 /** * 新增元素操作 */ // eg1:第一次新增元素e="a1", public boolean add(E e) { /** 确定是否需要扩容,如果需要,则进行扩容操作*/ ensureCapacityInternal(si ...
分类:其他好文   时间:2021-02-18 13:31:47    阅读次数:0
【springMVC中tomcat控制台乱码问题 】
我遇到的tomcat乱码可以分几种: 测试代码: @RestController public class TestController { @RequestMapping("/a1") public String test(){ System.out.println("TestController ...
分类:编程语言   时间:2021-02-15 11:51:13    阅读次数:0
MySQL修改表
原文链接http://zhhll.icu/2021/01/01/%E6%95%B0%E6%8D%AE%E5%BA%93/%E5%85%B3%E7%B3%BB%E5%9E%8B%E6%95%B0%E6%8D%AE%E5%BA%93/MySQL/%E4%BF%AE%E6%94%B9%E8%A1%A8/ ...
分类:数据库   时间:2021-02-06 12:08:49    阅读次数:0
P3321 [SDOI2015]序列统计
中文题面 题解:记模m的原根为yg,yg的i次幂mod m(0<=i<=p-2)与1到p-1是有一个一一对应关系的,如果我们相求a*b%mod=c%mod,我们可以把a和b换算为对应的$\(*\)\(=\)\(,即\){(a1+b1)mod(m-1)}\(=\)\(,因为\){(m-1)}$=1(m ...
分类:其他好文   时间:2021-02-05 10:55:19    阅读次数:0
机器学习进度06(朴素贝叶斯算法、决策树、随机森林)
朴素贝叶斯算法 什么是朴素贝叶斯分类方法 条件概率与联合概率 联合概率:包含多个条件,且所有条件同时成立的概率 记作:P(A,B) 特性:P(A, B) = P(A)P(B) 条件概率:就是事件A在另外一个事件B已经发生条件下的发生概率 记作:P(A|B) 特性:P(A1,A2|B) = P(A1| ...
分类:编程语言   时间:2021-01-22 12:09:06    阅读次数:0
test
package com.vfsd.core; public class Test1 { public static int[] a1= {3,8,2,5,1,9}; public static void main(String[] args) { print1(); for(int k=0;k<a1 ...
分类:其他好文   时间:2021-01-21 10:35:53    阅读次数:0
Educational Codeforces Round 101 (Rated for Div. 2) B. Red and Blue
题目: Monocarp had a sequence a consisting of n+m integers a1,a2,…,an+m. He painted the elements into two colors, red and blue; n elements were painted ...
分类:其他好文   时间:2021-01-20 12:13:42    阅读次数:0
NIO基础操作
原文链接http://zhhll.icu/2020/05/18/java%E5%9F%BA%E7%A1%80/IO/NIO%E5%9F%BA%E6%9C%AC%E6%93%8D%E4%BD%9C/ NIO 同步非阻塞 阻塞与非阻塞的区别: 阻塞时,在调用结果返回时,当前线程会被挂起,并在得到结果之后 ...
分类:其他好文   时间:2021-01-13 11:11:32    阅读次数:0
1.9 货仓选址问题——Python
题目描述 在一条数轴上有 N 家商店,它们的坐标分别为 A1~AN。 现在需要在数轴上建立一家货仓,每天清晨,从货仓到每家商店都要运送一车商品。 为了提高效率,求把货仓建在何处,可以使得货仓到每家商店的距离之和最小。 输入格式 第一行输入整数N。 第二行N个整数A1~AN。 输出格式 输出一个整数, ...
分类:编程语言   时间:2021-01-13 10:49:03    阅读次数:0
6114条   上一页 1 ... 3 4 5 6 7 ... 612 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!