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 Root Mean Squared Error using C++ SIMD

Calculate Root Mean Squared Error using C++ SIMD

  • November 18, 2024
  • C++
  • 0 Comments
  • 317 Views
The Root Mean Squared Error (RMSE) is a common metric used to measure the difference between two arrays, such as observed and predicted values. It involves summing the squared differences...
Calculate Mean Absolute Deviation of Array Elements using C++ SIMD

Calculate Mean Absolute Deviation of Array Elements using C++ SIMD

  • November 17, 2024
  • C++
  • 0 Comments
  • 405 Views
The Mean Absolute Deviation (MAD) measures the average absolute difference between each array element and the mean of the array. It is a common statistical tool for analyzing variability. Using...
Apply Floor Function for Array Elements using C++ SIMD

Apply Floor Function for Array Elements using C++ SIMD

  • November 16, 2024
  • C++
  • 0 Comments
  • 325 Views
The floor function rounds each element of an array down to the nearest integer. For instance, applying floor to 4.7 gives 4.0, and to -2.1 gives -3.0. When processing large...
Apply Ceil Function for Array Elements using C++ SIMD

Apply Ceil Function for Array Elements using C++ SIMD

  • November 15, 2024
  • C++
  • 0 Comments
  • 259 Views
The ceil function rounds each element in an array up to the nearest integer value. For example, applying ceil to 4.3 returns 5, while applying it to -2.7 returns -2...
Multiply Array Elements by Scalar using C++ SIMD

Multiply Array Elements by Scalar using C++ SIMD

  • November 14, 2024
  • C++
  • 0 Comments
  • 591 Views
Multiplying each element of an array by a scalar is a common operation in various applications, from image processing to data normalization. By using SIMD, we can accelerate this operation...
Calculate Manhattan Distance Between Two Arrays using C++ SIMD

Calculate Manhattan Distance Between Two Arrays using C++ SIMD

  • November 13, 2024
  • C++
  • 0 Comments
  • 411 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
  • 540 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
  • 277 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
  • 414 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
  • 434 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...
  • «
  • 1
  • 2
  • …
  • 9
  • 10
  • 11
  • …
  • 20
  • 21
  • »
Buy Me a Coffee

Recent Posts

  • Open File in Exclusive Mode in C++23
  • Generate Repeated Elements with views::repeat in C++23
  • Get Default Remote Branch Name in Git
  • Get First Commit Date and Time in Git
  • Get Latest Tag Name in Git

Archives

  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • 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 - 2026 · lindevs.com · All Rights Reserved