Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Programming \ Python implementation Bursa transition model     - Three kinds of binary tree traversal recursive and iterative solution (Programming)

- Build Python3.4 + PyQt5.3.2 + Eric 6.0 development platform Ubuntu 14.04 (Server)

- A list of the basics of Python, Ganso, Dictionary (Programming)

- Simple Calendar C language (Programming)

- CentOS 7 install Hadoop-cdh-2.5 on Mesos (Server)

- HTTP and FTP TCP-FLOOD CC Attacks Analysis and Prevention solutions under CentOS 6.5 (Linux)

- C / C ++ various data types Conversion Summary (Programming)

- Testing Oracle 11g RMAN replicate database (Database)

- PHP generates a random password several ways (Programming)

- Configuring LIDS build Linux kernel security intrusion detection system (Linux)

- Paint with Vim (Linux)

- JDK installation under CentOS (Linux)

- OpenJDK 7 compiled under Ubuntu 14.04.3 64-bit (Linux)

- Virtual Judge structures under Ubuntu 14.04 (Server)

- CentOS 6.5 / Linux restart network card being given Determining if ip address x.x.x.x is already in use (Linux)

- The free command in Linux (Linux)

- Installation of Python2.7.10 under CentOS 6.4 (Linux)

- CentOS 7 Add yum source (Linux)

- Oracle table Access Control (Database)

- findmnt- Looking mounted file system (Linux)

  Python implementation Bursa transition model
  Add Date : 2018-11-21      
  The core issue

1. Because it is the same accuracy and mutually independent observations, final weight matrix should be used for the matrix P (3m * 3m), m is the number of known points.

p = np.eye (n) # Unit weight matrix 3n * 3n

2. The program implements all known points of XYZ coordinate read into the corresponding columns of the matrix, the coefficient matrix B also need this operation (V = BX-L). When numpy process can be expressed as:

for i in range (vector_count):
        matrix_source.append (vector3d_list_source [i] .X)
        matrix_source.append (vector3d_list_source [i] .Y)
        matrix_source.append (vector3d_list_source [i] .Z)
        matrix_dest.append (vector3d_list_dest [i] .X)
        matrix_dest.append (vector3d_list_dest [i] .Y)
        matrix_dest.append (vector3d_list_dest [i] .Z)
        matrix_B.append ([1, 0, 0, 0, -vector3d_list_source [i] .Z, vector3d_list_source [i] .Y, vector3d_list_source [i] .X])
        matrix_B.append ([0, 1, 0, vector3d_list_source [i] .Z, 0, -vector3d_list_source [i] .X, vector3d_list_source [i] .Y])
        matrix_B.append ([0, 0, 1, -vector3d_list_source [i] .Y, vector3d_list_source [i] .X, 0, vector3d_list_source [i] .Z])
    matrix_source = np.array (matrix_source) .reshape (1, -1) .T
    matrix_dest = np.array (matrix_dest) .reshape (1, -1) .T
    matrix_B = np.array (matrix_B)
    L = matrix_dest - matrix_source

3. The value of the parameter matrix (column matrix)

X = np.dot (np.linalg.inv (np.dot (matrix_B.T, matrix_B)), np.dot (matrix_B.T, L))

4. The error equation

V = np.dot (matrix_B, X) - L # error equation

5. Accuracy Assessment

standard_deviation = math.sqrt (np.dot (np.dot (V.T, p), V) / r) # conversion error
- Wireshark basic introduction and learning TCP three-way handshake (Linux)
- Installation JDK 1.8 under CentOS7 (Linux)
- Linux kernel update error, update-initramfs: failed Solution (Linux)
- To install Ganglia configuration of experience under CentOS 5.5 (Linux)
- HBase vs Oracle (Database)
- MySQL database to open a remote connection method (Database)
- Android system source code and compile the kernel source code (Programming)
- CentOS 5.10 installed Oracle 11G R2 (Database)
- What is Unikernel? (Linux)
- RabbitMQ user roles and access control (Linux)
- JavaScript common functions summary (Programming)
- Getting Started with Linux system to learn: how to install the Shrew Soft IPsec VPN on Linux (Linux)
- To install and configure the Jetty server and JDK under Ubuntu 14.04.2 (Server)
- The Java utility, JavaMail (Programming)
- MNIST presentation and database conversion (Database)
- Android Studio Personalization (Linux)
- Oracle 11G using DG Broker create DataGuard (Database)
- Open source backup software installed on Ubuntu Systemback 1.6.201 (Linux)
- Ubuntu Tutorial: How to Upgrade a New Linux Kernel 3.12.7 on Ubuntu (Linux)
- C language - Traverse pci device (Programming)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.