微信小程序完整代码+欧拉蜜语法,支持快递、身份证、天气、计算、诗歌、电视节目、百科等
2019-12-21 19:54:30 98KB 小程序实例
1
package hamierton; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Random; public class EularCircuit { public EularCircuit() { } public static void main(String[] args) { // System.out.println("please input n:"); // BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = 4; try { // n = Integer.parseInt(br.readLine()); } catch (Exception ex) { return; } try { Graph g = new Graph(n); g.printg(); g.circuit(); } catch (Exception e) { System.out.println(e.toString()); e.printStackTrace(); return; } } } class Node { private static int count = 0; private String name; private ArrayList adjacencyList; private boolean visited =false; public Node() { name = "node " + count; adjacencyList = new ArrayList(); } public Node(String name) { this.name = name; adjacencyList = new ArrayList(); } public boolean isAllVisited() { for (int i = 0; i < adjacencyList.size(); i++) { SNode sn = (SNode) adjacencyList.get(i); if (sn.visited == false) { return false; } } return true; } public boolean isvisited(){ return visited; } public void setvisited(){ visited = true; } public int getAdjacencyCount() { return adjacencyList.size(); } public boolean contains(int i) { return this.adjacencyList.contains(new SNode(i)); } public void removeAdjacencyNode(int i) { this.adjacencyList.remove(new SNode(i)); } public void addAdjacencyNode(int i) { this.adjacencyList.add(new SNode(i)); } public SNode getAdjacencyNode(int i) { return (SNode) this.adjacencyList.get(i); } public SNode getAdjacencyNodeEX(int i_ref) { for (int i = 0; i < this.getAdjacencyCount(); i++) { if (getAdjacencyNode(i).index == i_ref) { return getAdjacencyNode(i); } } return null; } public String toString() { return this.name; } } class SNode { public boolean visited = false; public int index = 0;
2019-12-21 19:48:49 7KB 欧拉
1
压缩文件里包括三种数值计算方法分别是:欧拉方法,龙格-库塔方法和直线拟合最小二乘法
2019-12-21 19:44:30 188KB 数值计算
1
这个是OpenGL相关的矩阵类,其中实现了包括了平移矩阵、旋转矩阵、缩放矩阵等各种矩阵变换的实现以及欧拉角和四元数的相关转换。
2019-12-21 19:42:18 3KB openGL Matirx 矩阵 旋转
1
由旋转矩阵求欧拉角, 用于有已知的旋转矩阵推算旋转角度。 对于任何形式的旋转矩阵有一定的参考价值。
2019-12-21 19:38:58 93KB 旋转矩阵 欧拉角
1
运用Matlab变成,对单机无穷大系统三相短路后的暂态行为进行计算,分析不同切除时间对暂态稳定的影响,比较不同算法,如欧拉法(显隐式)、龙格库塔法的对计算性能的影响。
2019-12-21 19:33:34 202KB 电力 暂稳 欧拉 龙格库塔
1
一款基于ST公司开发板的6050DMP程序,基于3.5的固件库编写,只需更改SCL、SDA、串口波特率即可运行,默认115200、SCL-PE8、SDA-PE9. (温馨提示;如果下载后上电运行没有现象,可以尝试手动复位)
2019-12-21 19:33:14 8.33MB STM32 MPU6050 DMP 欧拉角
1
航空航天器运动的建模-飞行动力学的理论基础 扫描版 大学教材
2019-12-21 19:30:43 2.73MB 四元数  欧拉角 航空航天 动力学
1
基于STM32F103C8T6的四轴飞行器飞控源码,采用MPU6050加速度计陀螺仪,滑动平均滤波,采用四元数姿态解算,欧拉角计算,两级PID进行控制,角速度环加角度环控制,实现四轴飞行器平稳飞行,程序通俗易懂,希望帮助大家学习~
1
stm32F103通过IIC读取MPU9250用DMP融合得到欧拉角 //显示Pitch printf("Pitch:"); temp = (Pitch); printf("%f",temp); printf("度 "); //显示Roll printf("Roll:"); temp = (Roll); printf("%f",temp); printf("度 "); //显示Yaw printf("Yaw:"); temp = (Yaw); printf("%f",temp); printf("度 "); printf("\r\n");
2019-12-21 18:55:49 630KB stm32MPU9250
1