warn?

warn?() Instance Public methods Returns true iff the current severity level allows for the printing of WARN messages.

ludecomp

ludecomp(a,n,zero=0,one=1) Instance Public methods Performs LU decomposition of the n by n matrix a.

lusolve

lusolve(a,b,ps,zero=0.0) Instance Public methods Solves a*x = b for x, using LU decomposition. a is a matrix, b is a constant vector, x is the solution vector. ps is the pivot, a vector which indicates the permutation of rows performed during LU decomposition.

new

new(f) Class Public methods

new 2

new(f) Class Public methods

body

body() Instance Public methods

header

header() Instance Public methods

check_signedness

check_signedness(type, headers = nil, opts = nil, &b) Instance Public methods Returns the signedness of the given type. You may optionally specify additional headers to search in for the type. If the type is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the type name, in uppercase, prepended with SIGNEDNESS_OF_, followed by the type name, followed by =X where âXâ is positive integer if the type is unsigned and a negative intege

check_sizeof

check_sizeof(type, headers = nil, opts = "", &b) Instance Public methods Returns the size of the given type. You may optionally specify additional headers to search in for the type. If found, a macro is passed as a preprocessor constant to the compiler using the type name, in uppercase, prepended with SIZEOF_, followed by the type name, followed by =X where âXâ is the actual size. For example, if check_sizeof('mystruct') returned 12, then the SIZEOF_MYSTRUCT=12 preprocessor ma

convertible_int

convertible_int(type, headers = nil, opts = nil, &b) Instance Public methods Returns the convertible integer type of the given type. You may optionally specify additional headers to search in for the type. convertible means actually the same type, or typedef'd from the same type. If the type is a integer type and the convertible type is found, the following macros are passed as preprocessor constants to the compiler using the type name, in uppercase. TYPEOF_, followed by the