Logo Search packages:      
Sourcecode: octave-xraylib version File versions  Download package

xrlexample.c

#include <stdio.h>
#include <xraylib.h>

int main()
{
  XRayInit();
  printf("Example of C program using xraylib\n");
  printf("Calcium K-alpha Fluorescence Line Energy: %f\n",
       LineEnergy(20,KA_LINE));

  return 0;
}

Generated by  Doxygen 1.6.0   Back to index