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
Class Method Summary
collapse
Class Method Details
.tolerance(*args) ⇒ Object
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
|
# File 'ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx', line 22150
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
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
|
# File 'ext/gps_pvt/SylphideMath/SylphideMath_wrap.cxx', line 22115
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;
}
|