[note] data structure and algorithm of JavaScript version - "sorting class" of basic algorithm (164. Maximum spacing)

Article catalog Maximum spacing 1. Title Example 1 Example 2 Topic template 2. Thought analysis 3. Methods used 4. Problem solving and optimization Maximum spacing 1. Title 164. Maximum spacing - LeetCode Given an unordered array, find out the maximum difference between adjacent element ...

Posted by XxDeadmanxX on Sun, 14 Jun 2020 23:13:37 -0700

OpenCV Development Notes: red fat man 8 minutes to take you in-depth understanding of SIFT feature points (illustrated + easy to understand + program source code)

If the article is original, it cannot be reproduced without permission Original blog address: https://blog.csdn.net/qq21497936 Original blogger blog navigation: https://blog.csdn.net/qq21497936/article/details/102478062 Blog address: https://blog.csdn.net/qq21497936/article/details/106755662 Dear readers, knowledge is infinite and manpower ...

Posted by jbardin on Sun, 14 Jun 2020 21:36:12 -0700

Gradient descent + regression

First of all, understand what is return. The purpose of regression is to predict the target value of another numerical data through several known data. Suppose that the characteristic and the result satisfy the linear relation, that is to say, the independent variable of the formula is the known data x ...

Posted by smitho on Sun, 14 Jun 2020 00:58:52 -0700

Python implementation of multiplexing TCP LAN file transmission based on socket

Basic information of LAN transmission 1. What is Io? ⦁ definition ⦁ blocking IO ⦁ non blocking IO 2.IO multiplexing definition select specific usage 3. Realize the file transmission of multiplex LAN server.py client.py FileOperation.py matters needing attention Operation effect 1. What is ...

Posted by steelerman99 on Sat, 13 Jun 2020 21:27:21 -0700

On Qt3D module

0. Preface Qt3D is initiated by Nokia, and then improved by Digia and KDAB (the new version seems to be basically made by KDAB). It is a 3D image display and processing module based on OpenGL. Unfortunately, the data of Qt3D is relatively small, and with the version change, many online old Demo can' ...

Posted by Mattyspatty on Sat, 13 Jun 2020 18:10:30 -0700

Learn these Python art skills and wait for your girlfriend to praise you

1, Foreword Python has many libraries for image processing, such as pilot or OpenCV. Most of the time, it's useless to learn these image processing modules, but you don't know how to use them. Today, I've brought you some art skills to make your art come true. The circle of friends is full of praise. My girlfriend also praises you. How powerful ...

Posted by neutra on Fri, 12 Jun 2020 22:59:48 -0700

[JavaSE]: 7. Java operator

Java operators One of the most basic uses of computers is to perform mathematical operations. As a computer language, Java also provides a rich set of operators to manipulate variables. We can divide operators into the following groups: Arithmetic operator Relational operators Bitwise Operators Logi ...

Posted by jebster on Fri, 12 Jun 2020 22:50:59 -0700

STM8 Learning Notes--Simple Porting of Modbus Communication Protocol

Modbus is a serial communication protocol and is widely used in industry.There is a lot of information about Modbus on the Internet, let's not go into details here.When I first came into contact, I looked at Modbus's introduction, just a few hundred pages of protocol introduction, as well as various ...

Posted by delorian on Fri, 12 Jun 2020 19:02:08 -0700

On the sum of three numbers

Problem solving subject thinking code Code with two pointers to the left and right (last example timed out) Code calling "sum of two" (failed) subject thinking When I first saw this problem, I still had the solution of "sum of two numbers" in my mind. And according to th ...

Posted by dstantdog3 on Thu, 11 Jun 2020 22:09:23 -0700

Note: Chapter 9 of High Performance Python

This chapter is about parallel computing, accounting for more than 60 pages. After reading it, we have to straighten out and digest this big lump of things. 1. Using Monte Carlo simulation to estimate pi. The logic is simple: put the needle in the unit square of the coordinate system, calculate the proportion of the needle falling in the 1 / 4 ...

Posted by dunnsearch on Thu, 11 Jun 2020 20:43:15 -0700