Sha256: 97c18a3e14cd10b00513ca270afa9067955f44745c6e7f55de88e87d6873548d

Contents?: true

Size: 1.8 KB

Versions: 2

Compression:

Stored size: 1.8 KB

Contents

/////////////////////////////////////////////////////////////////////
// = NMatrix
//
// A linear algebra library for scientific computation in Ruby.
// NMatrix is part of SciRuby.
//
// NMatrix was originally inspired by and derived from NArray, by
// Masahiro Tanaka: http://narray.rubyforge.org
//
// == Copyright Information
//
// SciRuby is Copyright (c) 2010 - 2013, Ruby Science Foundation
// NMatrix is Copyright (c) 2013, Ruby Science Foundation
//
// Please see LICENSE.txt for additional copyright notices.
//
// == Contributing
//
// By contributing source code to SciRuby, you agree to be bound by
// our Contributor Agreement:
//
// * https://github.com/SciRuby/sciruby/wiki/Contributor-Agreement
//
// == data.h
//
// Header file for dealing with data types.

#ifndef RUBY_CONSTANTS_H
#define RUBY_CONSTANTS_H

/*
 * Standard Includes
 */

#include <ruby.h>

/*
 * Data
 */

extern ID nm_rb_real,
					nm_rb_imag,
		
					nm_rb_numer,
					nm_rb_denom,
		
					nm_rb_complex_conjugate,
					nm_rb_transpose,
					nm_rb_no_transpose,
					nm_rb_left,
					nm_rb_right,
					nm_rb_upper,
					nm_rb_lower,
					nm_rb_unit,
					nm_rb_nonunit,
		
					nm_rb_dense,
					nm_rb_list,
					nm_rb_yale,

          nm_rb_row,
          nm_rb_column,
		
					nm_rb_add,
					nm_rb_sub,
					nm_rb_mul,
					nm_rb_div,

					nm_rb_negate,
		
					nm_rb_percent,
					nm_rb_gt,
					nm_rb_lt,
					nm_rb_eql,
					nm_rb_neql,
					nm_rb_gte,
					nm_rb_lte,

					nm_rb_hash;

extern VALUE	cNMatrix,
              cNMatrix_IO,
              cNMatrix_IO_Matlab,
							cNVector,
							cNMatrix_YaleFunctions,
							cNMatrix_BLAS,
							cNMatrix_LAPACK,
			
							nm_eDataTypeError,
              nm_eConvergenceError,
							nm_eStorageTypeError;

/*
 * Functions
 */

void nm_init_ruby_constants(void);

#endif // RUBY_CONSTANTS_H

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nmatrix-0.0.8 ext/nmatrix/ruby_constants.h
nmatrix-0.0.7 ext/nmatrix/ruby_constants.h