Tang Yanfei

Notes about thoughts, science, and simulations.

Front About Archive Tags

Modes of Circular Waveguide

Yanfei Tang 2025-05-07
  • electromagnetism
  • python

We review the electromagnetic field theory of circular waveguide, particular about the TE and TM mode. Most part of the discussion comes from David M. Pozar’s book.

Read More

Calculate S-matrix of Networks

Yanfei Tang 2025-04-09
  • circuit model
  • python

This post is about S-parameter of networks.

Read More

Mathematical Notes

Yanfei Tang 2024-12-28
  • math

This post is about mathematical formulas for my reference.

Read More

HPC series 4 - OpenACC Practice

2024-09-14
  • HPC
  • gpu
  • OpenACC

   Previously, we discussed about the CUDA language to increase performance of code by GPU. We give a very simple example to acceralte code of drawing a Mandelbrot graph. However, even for this ...

Read More

HPC Series 3 - Benchmark of numpy/torch/CuPy's Matrix Operators on Various Platforms

2024-07-04
  • HPC
  • gpu
  • cpu
  • cuda

   Recently, I was assigned a task to accelerate a program by using a GPU accelerator. After analyzing the original Python program, namely the rigorous coupled wave analysis (RCWA) method, I fou...

Read More

HPC Series 2 - Invoke BLAS/LAPACK compiled Fortran library in C

2024-06-01
  • C
  • Fortran
  • HPC
  • LAPACK
  • BLAS

Me: “Can you show me some examples using complex number in C language while using LAPACK library? Please don’t use lapacke.h.”

Gemini: “LAPACK functionality is typically accessed throug...

Read More

Toolkits

2023-12-13
  • tool
  • JavaScript

Useful toolkits for research.

Read More

HPC series 1 - 用CUDA画Mandelbrot图

2023-09-27
  • C
  • HPC

   CUDA是目前比较流行的高性能计算的开发工具之一,这种编程模式涉及了CPU+GPU的异构计算。

Read More
Next →