LMS algorithm to realize adaptive filter (C language version)

Last time, I just published the LMS algorithm of Matlab version. This time, I will publish the LMS algorithm of C language version together. I will publish the part related to finding the maximum eigenvalue of Jacobian formula in the blog later. This C language version is my own research on MATLAB language, and then I translate ...

Posted on Sun, 17 Nov 2019 11:35:20 -0500 by atoboldon

The realization and basic operation of single link table

Single chain table is another linear structure different from sequence table. Each node contains data field and pointer field. It can directly access the next node through the pointer field of each node. As the name implies, it is a chain structure.The functions of this implementation include: Building empty tables Insertion element Delete ele ...

Posted on Fri, 15 Nov 2019 11:21:12 -0500 by iffo

Luogu - P1018 product maximum problem solution

Original text: https://www.luogu.org/problemnew/solution/P1018?page=7   Title: P1018 [maximum product]   Preface: In theory, the positive solution of this problem is DP, but it is not difficult to use violence because of too much private data Overall thinking: A b array is used to mark whether each bit is divided (1-bit division, 0 is conne ...

Posted on Sun, 10 Nov 2019 10:42:31 -0500 by NoDoze

Array and bubble sort in my eyes

One-dimensional array An array is a fixed-length container that can hold the same type of data.Elements in an array can be any data type, including basic and reference data types Professional Interpretation Array is a linear table data structure.It uses a continuous set of memory space to store a set of data of the same type.Linear tables, as ...

Posted on Fri, 08 Nov 2019 20:18:24 -0500 by thedream

redis 5.0 cluster building

In October 2018, Redis released a stable version of 5.0 and introduced various new features. One of them is to give up Ruby's cluster mode and change to Redis cli mode written in C language, which greatly reduces the complexity of cluster construction. Here is a description of cluster building 1. Download redis first ​wget http://download.red ...

Posted on Fri, 08 Nov 2019 16:12:05 -0500 by bennyboywonder

Python practice - print calendar tutorial

I haven't been exposed to C language for a long time. I want to do this business for three or two years. Today, I suddenly think of the days when I used to write code on VC6 in C language, and I think of some practical exercises in the past. So today I plan to use Python to write a topic that I practiced before in C language - Calendar printer, ...

Posted on Fri, 08 Nov 2019 07:43:07 -0500 by mrdamien

Several methods of Python passing in parameters

Written in front The only parameter transfer method supported by Python is call by sharing Most object-oriented languages use this pattern, including Ruby, Smalltalk and Java (Java's reference type is like this, and the basic type is passed by value). Shared parameter passing refers to that each formal parameter of a function obtains a copy of ...

Posted on Mon, 04 Nov 2019 08:44:58 -0500 by mligor

Advanced iOS development (Tang Qiao) reading notes

Part 3: the underlying principles of iOS development 1. Objective-C object model 1.1 isa pointer Code of NSObject.h: NS_ROOT_CLASS @interface NSObject <NSObject> { Class isa; } Code of objc.h: typedef struct objc_class *Class; typedet struct objc_object { Class isa; } *id; Each object has a pointer named isa to the object's class ...

Posted on Fri, 01 Nov 2019 10:04:25 -0400 by johany

C/C++ goto statement

Note: the following code is only for learning and communication, not for commercial use Authors: yjljobrequest@163.com 01 the goto statement of "bad declaration" 02 centralized scenario of goto statement 01 the goto statement of "bad declaration" Goto statement is often denounced ...

Posted on Tue, 29 Oct 2019 15:15:50 -0400 by harinath

StringBuilder and chain operation principle

title: StringBuilder and chain operation principle date: 2019-10-26 14:53:59 tags: java Class String string class is one of the basic classes of java. Although it can be used to splice strings, the efficiency is not high. The reason is that objects will be generated every time when splicing, resul ...

Posted on Sun, 27 Oct 2019 01:50:23 -0400 by s.steele