Skip to content

Instantly share code, notes, and snippets.

View LadaF's full-sized avatar

Vladimír Fuka LadaF

  • Charles University Prague
View GitHub Profile
@LadaF
LadaF / r2cfftw.f90
Last active April 27, 2016 17:48
Simple r2c and c2r FFT with FFTW in Fortran
module FFTW3
use, intrinsic :: iso_c_binding
include "fftw3.f03"
end module
use FFTW3
implicit none
integer, parameter :: n = 100
@LadaF
LadaF / CHello.c
Created April 23, 2011 10:29
C Hello world with pointers
# include <stdio.h>
char* ch;
struct typ{
int i,j;
float a,b;
};
struct typ t;
int main(void)
{