Top Level Namespace

Defined Under Namespace

Modules: <%= full_module_name %>, DeclMethod, ErbppGsl, FuncParser, Numo Classes: Argument, BesselArray, CoulombArray, Counter, DefAlias, DefAllocFunc, DefCdf, DefClass, DefConst, DefDiscrete, DefError, DefFit, DefGslClass, DefGslMethod, DefGslModule, DefGslModuleFunction, DefHistogram, DefInclueModule, DefInterp, DefIterSolve, DefLib, DefLinearWorkspace, DefMethod, DefModule, DefModuleFunction, DefMultifit, DefPdf, DefPoly, DefPolyWs, DefRan, DefRng, DefRstat, DefSf, DefSpBlas, DefSpMatrix, DefStats, DefStruct, DefSubclassNew, DefSys, DefWavelet, ErbPP, Fit, FuncMatch, GegenpolyArray, LegendreArray, MathieuArray, MultifitLinear, PdfMethod, RanMethod, SfBasic, SfTemplate, StatsBasic, UndefAllocFunc, UndefMethod, UndefSingletonMethod

Instance Method Summary collapse

Instance Method Details

#create_dependObject



21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'ext/numo/gsl/mkmf_gsl.rb', line 21

def create_depend
  require 'erb'
  message "creating depend\n"
  dep_path = File.join(Dir.pwd, "depend")
  File.open(dep_path, "w") do |dep|
    dep_erb_path = File.join(Dir.pwd, "depend.erb")
    File.open(dep_erb_path, "r") do |dep_erb|
      erb = ERB.new(dep_erb.read)
      erb.filename = dep_erb_path
      dep.print(erb.result)
    end
  end
end

#find_libnarray_aObject



12
13
14
15
16
17
18
19
# File 'ext/numo/gsl/mkmf_gsl.rb', line 12

def find_libnarray_a
  $LOAD_PATH.each do |x|
    if File.exist? File.join(x,'numo/libnarray.a')
      $LDFLAGS = "-L#{x}/numo " + $LDFLAGS
      break
    end
  end
end

#find_narray_hObject



3
4
5
6
7
8
9
10
# File 'ext/numo/gsl/mkmf_gsl.rb', line 3

def find_narray_h
  $LOAD_PATH.each do |x|
    if File.exist? File.join(x,'numo/numo/narray.h')
      $INCFLAGS = "-I#{x}/numo " + $INCFLAGS
      break
    end
  end
end