numerical: add dft & idft

Signed-off-by: Yibo Cai <cyb70289@gmail.com>