String parameters.
More...
#include <JModel.hh>
|
static size_t | getN () |
| Get number of fit parameters. More...
|
|
String parameters.
Definition at line 116 of file JAcoustics/JModel.hh.
JACOUSTICS::JMODEL::JString::JString |
( |
| ) |
|
|
inline |
JACOUSTICS::JMODEL::JString::JString |
( |
const double |
tx, |
|
|
const double |
ty, |
|
|
const double |
tx2 = 0.0 , |
|
|
const double |
ty2 = 0.0 , |
|
|
const double |
vs = 0.0 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
tx | slope dx/dz |
ty | slope dy/dz |
tx2 | 2nd order correction of slope dx/dz |
ty2 | 2nd order correction of slope dy/dz |
vs | stretching factor |
Definition at line 141 of file JAcoustics/JModel.hh.
static size_t JACOUSTICS::JMODEL::JString::getN |
( |
| ) |
|
|
inlinestatic |
Get number of fit parameters.
- Returns
- number of parameters
Definition at line 159 of file JAcoustics/JModel.hh.
fit times of emission of emitters and tilt angles of strings with second order correction and stretch...
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
fit times of emission of emitters and tilt angles of strings
fit times of emission of emitters and tilt angles of strings with second order correction ...
JOption_t getOption()
Get fit option.
fit only times of emission of emitters
JString& JACOUSTICS::JMODEL::JString::negate |
( |
| ) |
|
|
inline |
JString& JACOUSTICS::JMODEL::JString::mul |
( |
const double |
factor | ) |
|
|
inline |
Scale string.
- Parameters
-
factor | multiplication factor |
- Returns
- this string
Definition at line 240 of file JAcoustics/JModel.hh.
JString& JACOUSTICS::JMODEL::JString::div |
( |
const double |
factor | ) |
|
|
inline |
bool JACOUSTICS::JMODEL::JString::equals |
( |
const JString & |
string, |
|
|
const double |
precision = std::numeric_limits<double>::min() |
|
) |
| const |
|
inline |
Check equality.
- Parameters
-
string | string |
precision | precision |
- Returns
- true if strings are equal; else false
Definition at line 277 of file JAcoustics/JModel.hh.
280 return (fabs(
tx -
string.
tx) <= precision &&
281 fabs(
ty -
string.
ty) <= precision &&
282 fabs(
tx2 -
string.
tx2) <= precision &&
283 fabs(
ty2 -
string.
ty2) <= precision &&
284 fabs(
vs -
string.
vs) <= precision);
double JACOUSTICS::JMODEL::JString::getLengthSquared |
( |
| ) |
const |
|
inline |
double JACOUSTICS::JMODEL::JString::getLength |
( |
| ) |
const |
|
inline |
Get length.
- Returns
- length
Definition at line 304 of file JAcoustics/JModel.hh.
double getLengthSquared() const
Get length squared.
double JACOUSTICS::JMODEL::JString::getAngle |
( |
| ) |
const |
|
inline |
double JACOUSTICS::JMODEL::JString::getDot |
( |
const JString & |
string | ) |
const |
|
inline |
template<class JFirst_t, class JSecond_t = JNullType>
JFirst_t& JMATH::JMath< JFirst_t, JSecond_t >::mul |
( |
const JSecond_t & |
object | ) |
|
|
inlineinherited |
Multiply with object.
- Parameters
-
- Returns
- result object
Definition at line 357 of file JMath.hh.
Auxiliary class for arithmetic operations on objects.
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JString & |
string |
|
) |
| |
|
friend |
Read string parameters from input stream.
- Parameters
-
in | input stream |
string | string |
- Returns
- input stream
Definition at line 344 of file JAcoustics/JModel.hh.
346 return in >>
string.tx >>
string.ty >>
string.tx2 >>
string.ty2 >>
string.vs;
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JString & |
string |
|
) |
| |
|
friend |
Write string parameters to output stream.
- Parameters
-
out | output stream |
string | string |
- Returns
- output stream
Definition at line 357 of file JAcoustics/JModel.hh.
362 return out <<
FIXED(10,7) <<
string.tx <<
' '
363 <<
FIXED(10,7) <<
string.ty <<
' '
366 <<
FIXED(8,5) <<
string.vs;
Auxiliary data structure for floating point format specification.
Auxiliary data structure for floating point format specification.
double JACOUSTICS::JMODEL::JString::tx |
double JACOUSTICS::JMODEL::JString::ty |
double JACOUSTICS::JMODEL::JString::tx2 |
double JACOUSTICS::JMODEL::JString::ty2 |
double JACOUSTICS::JMODEL::JString::vs |
The documentation for this struct was generated from the following file: