Module: GPS_PVT::SylphideMath

Defined in:
ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx

Defined Under Namespace

Classes: ComplexD, GC_VALUE, MatrixComplexD, MatrixD, Matrix_FrozenComplexD, Matrix_FrozenComplexD_f, Matrix_FrozenD, Matrix_FrozenD_f

Constant Summary collapse

ENABLE_IOSTREAM =
SWIG_From_int(static_cast< int >(1))

Class Method Summary collapse

Class Method Details

.tolerance(*args) ⇒ Object

call-seq:

tolerance -> double

A module function.



21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
# File 'ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx', line 21963

SWIGINTERN VALUE
_wrap_tolerance(int argc, VALUE *argv, VALUE self) {
  double result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (double)get_tolerance();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}

.tolerance=(*args) ⇒ Object

call-seq:

tolerance=(double const & width) -> double

A module function.



21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
# File 'ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx', line 21928

SWIGINTERN VALUE
_wrap_tolerancee___(int argc, VALUE *argv, VALUE self) {
  double *arg1 = 0 ;
  double temp1 ;
  double val1 ;
  int ecode1 = 0 ;
  double result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  ecode1 = SWIG_AsVal_double(argv[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "double","set_tolerance", 1, argv[0] ));
  } 
  temp1 = static_cast< double >(val1);
  arg1 = &temp1;
  result = (double)set_tolerance((double const &)*arg1);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}