From the integer split term

1. Overview of integer split items 1.1 1 * 2 + 2 * 3 + 3 * 4 + ... + (n - 1) * n = ? Solution:   The split term formula is: (n - 1) * n = [(n - 1) * n * (n + 1) - (n - 2) * (n - 1) * n] / 3 The solution process is shown in the following figure:   1.2 1 * 2 * 3 + 2 * 3 * 4 + 3 * 4 * 5 + ... + (n - 2) * (n - 1) * n = ? Solution:   ...

Posted by Skudd on Sun, 05 Dec 2021 10:21:25 -0800

Common probability distribution and hypothesis test

1 general random variable 1.1 two types of random variables According to the number of possible values of random variables, they are divided into discrete type (finite value) and continuous type (infinite value). 1.2 discrete random variables For discrete random variables, the probability mass function (PMF) is used to describe their di ...

Posted by synapp2 on Tue, 30 Nov 2021 05:51:54 -0800

Hands on C + + game animation programming reading notes

Chapter 7: Exploring the glTF File Format glTF is a standard format that can store both mesh and animation data. a file format that contains everything you need to display animated models. It's a standard format that most three-dimensional content creation applications can export to and allows you to load any arbitrary model. glTF: Graph ...

Posted by pozer69 on Sun, 21 Nov 2021 15:45:07 -0800

least square method

least square method What is the essence of least squares Taking measuring the length with different rulers as an example, several measured values are obtained. How to determine the true value? "y, which minimizes the sum of squares of errors, is the true value." this is based on the fact that if the error is random, the measured ...

Posted by britey on Fri, 19 Nov 2021 02:12:36 -0800

This article takes you through the tower of Hanoi and its deformation problems

Ordinary Hanoi Tower Interested children's shoes can contact and communicate with me~ Official account: swim the code sea more high quality original articles are inside! The Tower of Hanoi is a mathematical problem based on a legend: There are three poles A, B and C. There are N (N > 1) perforated discs on rod A, and the size of the ...

Posted by markbm on Thu, 18 Nov 2021 16:29:50 -0800

Using markdown to write mathematical formulas

It's really convenient to use markdown to write documents and support mathematical formulas!!!Step 1: modify the preference settings and check the inline formula optionfile -> Preferences -> Markdown -> Inline formulaAfter setting according to the following figure, we can happily enter the formula in Typora~1, Enter Greek lettersEnter: ...

Posted by fukumdaryl on Mon, 08 Nov 2021 17:10:25 -0800

Code clipping algorithm for line segment

Code clipping algorithm for line segment For example, many uneven straight-line segments are distributed on a canvas, and we want to find a rectangular window on the canvas and only want to get the straight-line segments in the rectangular window. How should we achieve this? We know that the straight line segment can be expressed by a para ...

Posted by Jeyush on Fri, 05 Nov 2021 23:45:29 -0700

LightOJ - 1287 Where to Run?(dfs + probability dp)

Title Link: Where to Run? - LightOJ 1287 - Virtual Judge (ppsucxtt.cn) Topic meaning: there are n cities, numbered 0~n-1, and there are m right undirected edges. The edge right represents the time it takes to pass through this edge. A thief starts from the city numbered 0, and he will not go to the city he has passed. Every time he arrives at ...

Posted by prasad_deba on Mon, 01 Nov 2021 06:14:03 -0700

[NOI P simulation] large factorial (Stirling number)

meaning of the title seek 16 16 In hexadecimal, n ! n! n! Remove the tail 0 0 ...

Posted by asterinex on Sun, 31 Oct 2021 08:21:42 -0700

P7116-[NOIP2020] wechat steps [mathematics]

Topic Title Link: https://www.luogu.com.cn/problem/P7116 General idea of the topic There is one k k k-dimensional space, second i i The length of dimension i is ...

Posted by aniesh82 on Thu, 07 Oct 2021 15:51:30 -0700