Common Linux Commands for Scientific Computing

Common Linux Commands for Scientific Computing

When performing calculations on a Linux system, we often encounter the use of Linux shell commands. Below is a summary of commonly used Linux shell commands and shell script task submission cases that I have compiled during my calculations. I hope this is helpful to readers. Shell: Introduction to VIM Editor Usage Introduction to Linux … Read more

A Beginner’s Guide to NumPy for Python Learners

Why Every Python Learner Should Master NumPy Imagine this: you need to calculate the average math score of 50 students in your class. If you use a Python list, you have to write a loop to sum each score one by one; with NumPy, you can do it in just one line of code. This … Read more

Quick Mastery of the Eigen Library from Scratch: A C++ Matrix Calculation Tool

1. Introduction to Eigen: Eigen is an open-source C++ template library specifically designed for linear algebra operations, including matrices, vectors, numerical computations, and solving linear equations. It is known for its efficiency, supporting expression template optimizations to achieve near-optimal performance without runtime overhead. Eigen does not rely on third-party libraries and can be used simply … Read more

The Path of Scientific Computing in Rust – 1.2 Functions

📌 Introduction In programming, a function is like a “recipe”—you write a series of steps, and then you can reuse that logic by calling it. In scientific computing, many formulas and algorithms appear repeatedly, and packaging them into functions can make the code clearer and less error-prone. In fact, readers familiar with any high-level programming … Read more

Tired of Python Environment Issues? Master Conda in 10 Minutes and Say Goodbye to Version Conflicts

Just resolved the version issue with TensorFlow, and now PyTorch throws an error? Switching projects leads to Python version conflicts that make you want to smash your keyboard? New colleagues run your code and always miss dependencies, wasting a whole day just setting up the environment? If you have faced these frustrating issues, then today’s … Read more

The Origin and Development of Python: The Most Popular Programming Language in the World

The Origin and Development of Python: The Most Popular Programming Language in the World

Word count: 1405, reading time approximately 8 minutes The Origin and Development of Python: The Most Popular Programming Language in the World Strongly recommended for Python users and friends who wish to learn Python to take a look at this video, hoping to understand why Python exists and whether you need to learn Python from … Read more

Advanced Python: 8. NumPy Library

Advanced Python: 8. NumPy Library

1. Introduction to NumPy LibraryNumPy is the core library for scientific computing in Python, primarily providing high-performance multidimensional array objects and accompanying mathematical functions. It is a fundamental tool in fields such as data analysis, machine learning, and scientific computing. Here, to complement the study of data visualization (using the Matplotlib library), we will only … Read more

I. Strengthening Fundamentals and Establishing ‘MATLAB Thinking’

I. Strengthening Fundamentals and Establishing 'MATLAB Thinking'

Objective:Break free from habits formed in other languages (especially Python) and master the most core and efficient vectorized programming concepts in MATLAB. (1)Familiarize Yourself with an Efficient Interactive Environment 1.Command Window: Quickly test code snippets and view variables. 2.Editor: Write and debug complete scripts (.m files) and functions. 3.Workspace: View the names, dimensions, and values … Read more

CBLAS: A Powerful Linear Algebra Library in C++

CBLAS: A Powerful Linear Algebra Library in C++

CBLAS: A Powerful Linear Algebra Library in C++ In the fields of scientific computing and high-performance computing, the efficiency of linear algebra operations is crucial. CBLAS (C Interface to Basic Linear Algebra Subprograms) is a library that provides BLAS (Basic Linear Algebra Subprograms) functionality for C language programs. Although its name includes “C”, it can … Read more

The Programming Language That Might Beat Python is Conquering the Scientific Community

The Programming Language That Might Beat Python is Conquering the Scientific Community

Image Source: Unsplash The Julia language has emerged as a dark horse in the scientific world in recent years. Physicist Lee Phillips published a popular science article introducing the true charm of this scientific computing language. This article is reprinted from the public account “Data Practicalist” Written by Lee Phillips, Physicist Translated by REN Recently, … Read more