• 2024-03-14操作DOM对象
    创建一个标签,实现插入<script>varjs=document.getElementById('js');//已经存在的节点varlist=document.getElementById('list');//通过js创建一个节点varnewp=document.createElement('p')//创建一个p标签newp.id='newp'newp.inner
  • 2024-01-13matlab练习程序(Bundle Adjustment)
    BA作为视觉SLAM中后端优化的一个核心点还是比较重要的。BA根据优化量的不同可以分为三种形式。FullBA:观测点和位姿同时优化,一般是视觉SLAM后端的核心。MotionBA:已知观测点,优化位姿,一般用来定位。之前的文章中有用到BA单做位姿计算的方法。StructBA:已知位姿,优化观测点,一般用
  • 2023-12-312023.12.31做题纪要
    TJOI2015弦论身为彩笔的我觉得这道题还不错???对于新学的我来说挺考验对\(SAM\)的理解??要用一个类似洛谷\(SAM\)板子题的数组来记录每个节点的\(right(endpos)\)集合的大小。最后维护一下就行了。主要难在证明。晴天#include<bits/stdc++.h>constintMAXN=3*(5
  • 2023-12-302023.12.30做题纪要
    SAM模板评价:逆天纸糊串,学不会一点。#include<bits/stdc++.h>constintMAXN=3e6+100;intN;charch[MAXN];longlonganswer;classSuffix_Automaton{private:inttot,last,root;intchild[MAXN][26],link[MAXN],length[MAXN];longlongcnt
  • 2023-12-19微信小游戏中的场景拖拽显示范围
    usingOrg.BouncyCastle.Crypto.Macs;usingSystem;usingSystem.Collections.Generic;usingUnityEngine;[RequireComponent(typeof(Camera))]publicclassCameraControl:MonoBehaviour{publicstaticCameraControlinstance;publicList<string>
  • 2023-12-19微信小游戏中拖拽场景位置的限制代码
    usingSystem.Collections.Generic;usingUnityEngine;[RequireComponent(typeof(Camera))]publicclassCameraControl:MonoBehaviour{publicstaticCameraControlinstance;publicList<string>list_RayName=newList<string>();publ