Lindevs
Programming tutorials, blogs & resources
Menu
  • Home ×
  • Tutorials
    • Programming Language
      • Python
      • PHP
      • Java
      • C
      • C++
      • JavaScript
    • Machine Learning
      • TensorFlow 2
      • PyTorch
    • Computer Vision
      • OpenCV
    • Embedded System
      • Raspberry Pi
      • Arduino
      • ESP8266
      • XIAO SAMD21
    • Home Automation
      • Tasmota
    • Mobile App Development
      • Android
      • Flutter
    • Game Development
      • Unity
    • Framework
      • Laravel
      • Symfony
    • Operating System
      • Linux
        • Ubuntu
      • Windows
    • Database
      • MySQL
    • DevOps
      • Command Line
      • Web Server
      • Grafana
      • Networking
      • Security
      • Containerization
  • Code Snippets
  • Electronics
    • Circuits
  • Questions
    • PHP
  • Contact
    • Sign In

C++

Calculate Manhattan Distance Between Two Arrays using C++ SIMD

Calculate Manhattan Distance Between Two Arrays using C++ SIMD

  • November 13, 2024
  • C++
  • 0 Comments
  • 196 Views
The Manhattan distance is the sum of the absolute differences between corresponding elements in two arrays. SIMD is highly effective in optimizing such operations, enabling us to process multiple array...
Calculate Euclidean Distance Between Two Arrays using C++ SIMD

Calculate Euclidean Distance Between Two Arrays using C++ SIMD

  • November 12, 2024
  • C++
  • 0 Comments
  • 167 Views
Calculating the Euclidean distance between two arrays is a fundamental operation in many applications. The Euclidean distance provides a measure of similarity between two arrays by summing the squared differences...
Multiply Array Elements by Index Position using C++ SIMD

Multiply Array Elements by Index Position using C++ SIMD

  • November 11, 2024
  • C++
  • 0 Comments
  • 99 Views
Multiplying each element of an array by its index is a common operation in data processing, allowing us to scale elements based on their position within the array. A basic...
Perform Element-wise Subtraction of Arrays using C++ SIMD

Perform Element-wise Subtraction of Arrays using C++ SIMD

  • November 10, 2024
  • C++
  • 0 Comments
  • 114 Views
Element-wise subtraction is a common operation in numerical computing, signal processing, and data science, where corresponding elements of two arrays are subtracted and stored in a result array. Modern CPUs...
Normalize Array Elements by L-infinity Norm using C++ SIMD

Normalize Array Elements by L-infinity Norm using C++ SIMD

  • November 9, 2024
  • C++
  • 0 Comments
  • 142 Views
Normalizing data is a common preprocessing step in many scientific and machine learning applications, and one of the widely used methods for normalization is the L-infinity norm. The L-infinity norm...
Calculate Mean of Array Elements using C++ SIMD

Calculate Mean of Array Elements using C++ SIMD

  • November 8, 2024
  • C++
  • 0 Comments
  • 122 Views
Calculating the mean of an array is a common operation that involves summing all elements and dividing by the number of elements. When using SIMD, we can perform this calculation...
Calculate Sum of Array Elements using C++ SIMD

Calculate Sum of Array Elements using C++ SIMD

  • November 7, 2024
  • C++
  • 0 Comments
  • 209 Views
When working with large datasets, calculating the sum of array elements can be time-consuming if processed one element at a time. By using SIMD instructions, we can process multiple elements...
Calculate Standard Deviation of Array Elements using C++ SIMD

Calculate Standard Deviation of Array Elements using C++ SIMD

  • November 6, 2024
  • C++
  • 0 Comments
  • 168 Views
When working with large datasets in data analysis, statistics, or scientific computing, calculating metrics like standard deviation can become time-consuming. Standard deviation, which measures how spread out numbers are in...
Count Negative Elements in Array using C++ SIMD

Count Negative Elements in Array using C++ SIMD

  • November 5, 2024
  • C++
  • 0 Comments
  • 120 Views
Counting negative elements in an array is a common task that can be optimized with SIMD operations. Using SIMD allows us to process multiple elements simultaneously, enhancing performance, especially for...
Count Positive Elements in Array using C++ SIMD

Count Positive Elements in Array using C++ SIMD

  • November 4, 2024
  • C++
  • 0 Comments
  • 119 Views
Counting positive elements in an array is a common task, especially in fields like signal processing and data analysis, where you need to filter or transform data based on conditions...
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 14
  • 15
  • »
Buy Me a Coffee

Recent Posts

  • Install IntelliJ IDEA on Ubuntu 24.04
  • Install Tealdeer on Ubuntu 24.04
  • Install bpftop on Ubuntu 24.04
  • Install Czkawka CLI on Ubuntu 24.04
  • Convert PEM-Encoded Public Key to OpenSSH Format using ssh‑keygen

Archives

  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
Copyright © 2020 - 2025 · lindevs.com · All Rights Reserved