Go to the documentation of this file.
90 for(
Index i=0; i<nelem; i++ )
105 Index n = (
Index) floor( (stop-start)/step ) + 1;
110 for (
Index i = 0; i < n; i++ )
111 x[i] = start + i*step;
113 out2 <<
" Creating a linearly spaced ArrayOfIndex.\n";
114 out3 <<
" length : " << x.
nelem() <<
"\n";
115 out3 <<
" first value : " << x[0] <<
"\n";
119 out3 <<
" step size : " << x[1]-x[0] <<
"\n";
120 out3 <<
" last value : " << x[x.nelem()-1] <<
"\n";
130 sa.resize(sa2.
nelem());
211 os <<
"Matrix dimensions must be consistent!\n"
212 <<
"Matrix1.ncols() = " <<
M.ncols() <<
"\n"
213 <<
"Matrix2.nrows() = " << X.
nrows();
214 throw runtime_error( os.str() );
253 if( v2.
nelem() != nv )
254 throw runtime_error(
"Vectors must be of the same size.");
275 throw runtime_error(
"Vectors must be of the same size.");
308 if( v2.
nelem() != nv )
309 throw runtime_error(
"Vectors must be of the same size.");
330 throw runtime_error(
"Vectors must be of the same size.");
435 os <<
"Matrix dimensions must be consistent!\n"
436 <<
"Matrix1.ncols() = " <<
M.ncols() <<
"\n"
437 <<
"Matrix2.nrows() = " << X.
nrows();
438 throw runtime_error( os.str() );
511 x.
resize( npages, nrows, ncols );
514 out2 <<
" Tensor3 = " << value <<
"\n";
515 out3 <<
" npages : " << npages <<
"\n";
516 out3 <<
" nrows : " << nrows <<
"\n";
517 out3 <<
" ncols : " << ncols <<
"\n";
573 x.
resize( nbooks, npages, nrows, ncols );
576 out2 <<
" Tensor4 = " << value <<
"\n";
577 out3 <<
" nbooks : " << nbooks <<
"\n";
578 out3 <<
" npages : " << npages <<
"\n";
579 out3 <<
" nrows : " << nrows <<
"\n";
580 out3 <<
" ncols : " << ncols <<
"\n";
607 const Index& nshelves,
618 x.
resize( nshelves, nbooks, npages, nrows, ncols );
621 out2 <<
" Tensor5 = " << value <<
"\n";
622 out3 <<
" nshelves : " << nshelves <<
"\n";
623 out3 <<
" nbooks : " << nbooks <<
"\n";
624 out3 <<
" npages : " << npages <<
"\n";
625 out3 <<
" nrows : " << nrows <<
"\n";
626 out3 <<
" ncols : " << ncols <<
"\n";
653 const Index& nvitrines,
654 const Index& nshelves,
665 x.
resize( nvitrines, nshelves, nbooks, npages, nrows, ncols );
668 out2 <<
" Tensor6 = " << value <<
"\n";
669 out3 <<
" nvitrines : " << nvitrines <<
"\n";
670 out3 <<
" nshelves : " << nshelves <<
"\n";
671 out3 <<
" nbooks : " << nbooks <<
"\n";
672 out3 <<
" npages : " << npages <<
"\n";
673 out3 <<
" nrows : " << nrows <<
"\n";
674 out3 <<
" ncols : " << ncols <<
"\n";
701 const Index& nlibraries,
702 const Index& nvitrines,
703 const Index& nshelves,
714 x.
resize( nlibraries, nvitrines, nshelves, nbooks, npages, nrows, ncols );
717 out2 <<
" Tensor7 = " << value <<
"\n";
718 out3 <<
" nlibraries : " << nlibraries <<
"\n";
719 out3 <<
" nvitrines : " << nvitrines <<
"\n";
720 out3 <<
" nshelves : " << nshelves <<
"\n";
721 out3 <<
" nbooks : " << nbooks <<
"\n";
722 out3 <<
" npages : " << npages <<
"\n";
723 out3 <<
" nrows : " << nrows <<
"\n";
724 out3 <<
" ncols : " << ncols <<
"\n";
762 for(
Index i=0; i<nin; i++ )
764 if( in[i] >= min_value && in[i] <= max_value )
775 for(
Index i=0; i<nin; i++ )
777 if( c[i] >= min_value && c[i] <= max_value )
798 for(
Index i=0; i<n; i++ )
805 for(
Index i=0; i<n; i++ )
850 os <<
"The input Vector must be either\n"
851 <<
"strictly increasing or strictly decreasing,\n"
852 <<
"but this is not the case.\n";
853 os <<
"The vector contains:\n"
855 throw runtime_error( os.str() );
880 else if ( p[ip]>ig[iig] )
882 x.push_back(ig[iig]);
887 out3 <<
" Skipping point " << p[ip] <<
", which is already "
888 <<
"in the original grid.\n";
894 out2 <<
" " << sk <<
" points skipped.\n";
901 while ( iig<ig.
nelem() )
903 x.push_back(ig[iig]);
907 else if ( iig==ig.
nelem() )
910 while ( ip<p.
nelem() )
933 og[i] = x[x.
nelem()-1-i];
950 out2 <<
" Creating a linearly spaced vector.\n";
951 out3 <<
" length : " << x.
nelem() <<
"\n";
952 out3 <<
" first value : " << x[0] <<
"\n";
956 out3 <<
" step size : " << x[1]-x[0] <<
"\n";
957 out3 <<
" last value : " << x[x.nelem()-1] <<
"\n";
971 linspace(x,log(start),log(stop),step);
974 out2 <<
" Creating a logarithmically spaced vector.\n";
975 out3 <<
" length : " << x.
nelem() <<
"\n";
976 out3 <<
" first value : " << x[0] <<
"\n";
980 out3 <<
" step size : " << x[1]-x[0] <<
"\n";
981 out3 <<
" last value : " << x[x.nelem()-1] <<
"\n";
997 os <<
"Matrix and vector dimensions must be consistent!\n"
998 <<
"Matrix.ncols() = " <<
M.ncols() <<
"\n"
999 <<
"Vector.nelem() = " << x.
nelem();
1000 throw runtime_error( os.str() );
1024 throw runtime_error(
"The number of points must be > 1.");
1027 out2 <<
" Creating a linearly spaced vector.\n";
1028 out3 <<
" length : " << n <<
"\n";
1029 out3 <<
" first value : " << x[0] <<
"\n";
1031 if ( x.nelem() > 1 )
1033 out3 <<
" step size : " << x[1]-x[0] <<
"\n";
1034 out3 <<
" last value : " << x[x.nelem()-1] <<
"\n";
1050 throw runtime_error(
"The number of points must be > 1.");
1051 if ( (start<=0) || (stop<=0) )
1052 throw runtime_error(
"Only positive numbers are allowed.");
1056 out2 <<
" Creating a logarithmically spaced vector.\n";
1057 out3 <<
" length : " << n <<
"\n";
1058 out3 <<
" first value : " << x[0] <<
"\n";
1060 if ( x.nelem() > 1 )
1061 out3 <<
" last value : " << x[x.nelem()-1] <<
"\n";
1100 out2 <<
" Creating a constant vector.\n";
1101 out3 <<
" length : " << n <<
"\n";
1102 out3 <<
" value : " << value <<
"\n";
1119 const String& error_message,
1126 const Numeric maxdiff = var1-var2;
1127 if(
abs(maxdiff) > maxabsdiff )
1130 os << var1name <<
"-" << var2name <<
" FAILED!\n";
1131 if (error_message.length()) os << error_message <<
"\n";
1132 os <<
"Max allowed deviation set to: " << maxabsdiff << endl
1133 <<
"but the value deviates with: " << maxdiff << endl;
1134 throw runtime_error(os.str());
1138 out2 <<
" " << var1name <<
"-" << var2name
1139 <<
" OK (maximum difference = " << maxdiff <<
").\n";
1147 const String& error_message,
1156 if( var2.
nelem() != n )
1159 os << var1name <<
" (" << n <<
") and "
1160 << var2name <<
" (" << var2.
nelem() <<
") do not have the same size.";
1161 throw runtime_error(os.str());
1165 for(
Index i=0; i <n; i++ )
1167 const Numeric diff = var1[i] - var2[i];
1168 if(
abs(diff) >
abs(maxdiff) )
1172 if(
abs(maxdiff) > maxabsdiff )
1175 os << var1name <<
"-" << var2name <<
" FAILED!\n";
1176 if (error_message.length()) os << error_message <<
"\n";
1177 os <<
"Max allowed deviation set to: " << maxabsdiff << endl
1178 <<
"but the vectors deviate with: " << maxdiff << endl;
1179 throw runtime_error(os.str());
1183 out2 <<
" " << var1name <<
"-" << var2name
1184 <<
" OK (maximum difference = " << maxdiff <<
").\n";
1192 const String& error_message,
1202 if( var2.
nrows() != nrows || var2.
ncols() != ncols )
1205 os << var1name <<
" (" << nrows <<
"," << ncols <<
") and "
1206 << var2name <<
" (" << var2.
nrows() <<
"," << var2.
ncols()
1207 <<
") do not have the same size.";
1208 throw runtime_error(os.str());
1213 for(
Index r=0; r<nrows; r++ )
1215 for(
Index c=0; c<ncols; c++ )
1217 const Numeric diff = var1(r,c) - var2(r,c);
1218 if(
abs(diff) >
abs(maxdiff) )
1223 if(
abs(maxdiff) > maxabsdiff )
1226 os << var1name <<
"-" << var2name <<
" FAILED!\n";
1227 if (error_message.length()) os << error_message <<
"\n";
1228 os <<
"Max allowed deviation set to : " << maxabsdiff << endl
1229 <<
"but the matrices deviate with: " << maxdiff << endl;
1230 throw runtime_error(os.str());
1234 out2 <<
" " << var1name <<
"-" << var2name
1235 <<
" OK (maximum difference = " << maxdiff <<
").\n";
1243 const String& error_message,
1254 if(var2.
ncols() != ncols ||
1255 var2.
nrows() != nrows ||
1256 var2.
npages() != npages )
1259 os << var1name <<
" and " << var2name <<
" do not have the same size.";
1260 throw runtime_error(os.str());
1265 for(
Index c=0; c<ncols; c++ )
1266 for(
Index r=0; r<nrows; r++ )
1267 for(
Index p=0; p<npages; p++ )
1269 const Numeric diff = var1(p,r,c) - var2(p,r,c);
1270 if(
abs(diff) >
abs(maxdiff) )
1274 if(
abs(maxdiff) > maxabsdiff )
1277 os << var1name <<
"-" << var2name <<
" FAILED!\n";
1278 if (error_message.length()) os << error_message <<
"\n";
1279 os <<
"Max allowed deviation set to : " << maxabsdiff << endl
1280 <<
"but the tensors deviate with: " << maxdiff << endl;
1281 throw runtime_error(os.str());
1285 out2 <<
" " << var1name <<
"-" << var2name
1286 <<
" OK (maximum difference = " << maxdiff <<
").\n";
1294 const String& error_message,
1309 if(var2.
ncols() != ncols ||
1310 var2.
nrows() != nrows ||
1311 var2.
npages() != npages ||
1312 var2.
nbooks() != nbooks ||
1318 os << var1name <<
" and " << var2name <<
" do not have the same size.";
1319 throw runtime_error(os.str());
1324 for(
Index c=0; c<ncols; c++ )
1325 for(
Index r=0; r<nrows; r++ )
1326 for(
Index p=0; p<npages; p++ )
1327 for(
Index b=0; b<nbooks; b++ )
1328 for(
Index s=0; s<nshelves; s++ )
1329 for(
Index v=0; v<nvitrines; v++ )
1330 for(
Index l=0; l<nlibraries; l++ )
1332 const Numeric diff = var1(l,v,s,b,p,r,c) - var2(l,v,s,b,p,r,c);
1333 if(
abs(diff) >
abs(maxdiff) )
1338 if(
abs(maxdiff) > maxabsdiff )
1341 os << var1name <<
"-" << var2name <<
" FAILED!\n";
1342 if (error_message.length()) os << error_message <<
"\n";
1343 os <<
"Max allowed deviation set to : " << maxabsdiff << endl
1344 <<
"but the tensors deviate with: " << maxdiff << endl;
1345 throw runtime_error(os.str());
1349 out2 <<
" " << var1name <<
"-" << var2name
1350 <<
" OK (maximum difference = " << maxdiff <<
").\n";
1358 const String& error_message,
1368 os <<
"The two arrays do not have the same size." << endl
1369 << var1name <<
" nelem: " << var1.
nelem() << endl
1370 << var2name <<
" nelem: " << var2.
nelem() << endl;
1371 throw runtime_error(os.str());
1374 bool failed =
false;
1375 ostringstream fail_msg;
1380 ostringstream vn1, vn2;
1381 vn1 << var1name <<
"[" << i <<
"]";
1382 vn2 << var2name <<
"[" << i <<
"]";
1383 Compare(var1[i], var2[i], maxabsdiff, error_message,
1384 vn1.str(), vn2.str(),
"",
"", verbosity);
1386 catch (runtime_error e)
1389 fail_msg << endl << e.what() << endl
1390 <<
"Mismatch at array index: " << i << endl;
1395 throw runtime_error(fail_msg.str());
1403 const String& error_message,
1413 os <<
"The two arrays do not have the same size." << endl
1414 << var1name <<
" nelem: " << var1.
nelem() << endl
1415 << var2name <<
" nelem: " << var2.
nelem() << endl;
1416 throw runtime_error(os.str());
1419 bool failed =
false;
1420 ostringstream fail_msg;
1425 ostringstream vn1, vn2;
1426 vn1 << var1name <<
"[" << i <<
"]";
1427 vn2 << var2name <<
"[" << i <<
"]";
1428 Compare(var1[i], var2[i], maxabsdiff, error_message,
1429 vn1.str(), vn2.str(),
"",
"", verbosity);
1431 catch (runtime_error e)
1434 fail_msg << endl << e.what() << endl
1435 <<
"Mismatch at array index: " << i << endl;
1440 throw runtime_error(fail_msg.str());
1448 const String& error_message,
1460 os << var1name <<
" and "
1461 << var2name <<
" grid " << i <<
" do not have the same size: "
1463 throw runtime_error(os.str());
1468 os << var1name <<
" and "
1469 << var2name <<
" grid " << i <<
" do not have the same name: "
1471 throw runtime_error(os.str());
1476 var1name, var2name,
"",
"", verbosity);
Implementation of gridded fields.
void transform(VectorView y, double(&my_func)(double), ConstVectorView x)
A generic transform function for vectors, which can be used to implement mathematical functions opera...
void IndexStepDown(Index &xout, const Index &xin, const Verbosity &)
WORKSPACE METHOD: IndexStepDown.
void resize(Index b, Index p, Index r, Index c)
Resize function.
Index nshelves() const
Returns the number of shelves.
void NumericScale(Numeric &out, const Numeric &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: NumericScale.
Index nshelves() const
Returns the number of shelves.
Index nbooks() const
Returns the number of books.
The declarations of all the exception classes.
void ArrayOfIndexSet(ArrayOfIndex &aoi, const ArrayOfIndex &values, const Verbosity &)
WORKSPACE METHOD: ArrayOfIndexSet.
void resize(Index v, Index s, Index b, Index p, Index r, Index c)
Resize function.
void VectorAddScalar(Vector &out, const Vector &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: VectorAddScalar.
void ArrayOfStringSet(ArrayOfString &sa, const ArrayOfString &sa2, const Verbosity &)
WORKSPACE METHOD: ArrayOfStringSet.
Index ncols() const
Returns the number of columns.
void Matrix1RowFromVector(Matrix &m, const Vector &v, const Verbosity &)
WORKSPACE METHOD: Matrix1RowFromVector.
void MatrixSet(Matrix &x, const Matrix &values, const Verbosity &)
WORKSPACE METHOD: MatrixSet.
Index ncols() const
Returns the number of columns.
Index npages() const
Returns the number of pages.
void Matrix2ColFromVectors(Matrix &m, const Vector &v1, const Vector &v2, const Verbosity &)
WORKSPACE METHOD: Matrix2ColFromVectors.
Index ncols() const
Returns the number of columns.
Index nrows() const
Returns the number of rows.
void resize(Index n)
Resize function.
Index get_dim() const
Get the dimension of this gridded field.
void Tensor4Scale(Tensor4 &out, const Tensor4 &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: Tensor4Scale.
void Tensor6SetConstant(Tensor6 &x, const Index &nvitrines, const Index &nshelves, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value, const Verbosity &verbosity)
WORKSPACE METHOD: Tensor6SetConstant.
Index nrows() const
Returns the number of rows.
void NumericSet(Numeric &x, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: NumericSet.
void Tensor7Scale(Tensor7 &out, const Tensor7 &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: Tensor7Scale.
void Tensor3AddScalar(Tensor3 &out, const Tensor3 &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: Tensor3AddScalar.
void Matrix2RowFromVectors(Matrix &m, const Vector &v1, const Vector &v2, const Verbosity &)
WORKSPACE METHOD: Matrix2RowFromVectors.
This file contains the definition of Array.
void NumericAdd(Numeric &out, const Numeric &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: NumericAdd.
void resize(Index p, Index r, Index c)
Resize function.
Index npages() const
Returns the number of pages.
void VectorLogSpace(Vector &x, const Numeric &start, const Numeric &stop, const Numeric &step, const Verbosity &verbosity)
WORKSPACE METHOD: VectorLogSpace.
Index npages() const
Returns the number of pages.
Index nlibraries() const
Returns the number of libraries.
void nlogspace(Vector &x, const Numeric start, const Numeric stop, const Index n)
nlogspace
Index get_grid_size(Index i) const
Get the size of a grid.
void IndexSet(Index &x, const Index &value, const Verbosity &)
WORKSPACE METHOD: IndexSet.
void Tensor4SetConstant(Tensor4 &x, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value, const Verbosity &verbosity)
WORKSPACE METHOD: Tensor4SetConstant.
bool is_decreasing(ConstVectorView x)
Checks if a vector is sorted in reversed order and is strictly decreasing.
void get_sorted_indexes(ArrayOfIndex &sorted, const T &data)
get_sorted_indexes
void Tensor6Scale(Tensor6 &out, const Tensor6 &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: Tensor6Scale.
void Compare(const Numeric &var1, const Numeric &var2, const Numeric &maxabsdiff, const String &error_message, const String &var1name, const String &var2name, const String &, const String &, const Verbosity &verbosity)
WORKSPACE METHOD: Compare.
Index nvitrines() const
Returns the number of vitrines.
void MatrixScale(Matrix &out, const Matrix &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: MatrixScale.
void resize(Index l, Index v, Index s, Index b, Index p, Index r, Index c)
Resize function.
void mult(VectorView y, const ConstMatrixView &M, const ConstVectorView &x)
Matrix Vector multiplication.
void resize(Index s, Index b, Index p, Index r, Index c)
Resize function.
void NumericInvScale(Numeric &out, const Numeric &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: NumericInvScale.
void Matrix3RowFromVectors(Matrix &m, const Vector &v1, const Vector &v2, const Vector &v3, const Verbosity &)
WORKSPACE METHOD: Matrix3RowFromVectors.
Declarations having to do with the four output streams.
void VectorFlip(Vector &out, const Vector &in, const Verbosity &)
WORKSPACE METHOD: VectorFlip.
void VectorNLinSpace(Vector &x, const Index &n, const Numeric &start, const Numeric &stop, const Verbosity &verbosity)
WORKSPACE METHOD: VectorNLinSpace.
Index ncols() const
Returns the number of columns.
The implementation for String, the ARTS string class.
void VectorInsertGridPoints(Vector &og, const Vector &ingrid, const Vector &points, const Verbosity &verbosity)
WORKSPACE METHOD: VectorInsertGridPoints.
Index nelem() const
Returns the number of elements.
void StringSet(String &s, const String &s2, const Verbosity &)
WORKSPACE METHOD: StringSet.
Index nvitrines() const
Returns the number of vitrines.
Index ncols() const
Returns the number of columns.
void Tensor3SetConstant(Tensor3 &x, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value, const Verbosity &verbosity)
WORKSPACE METHOD: Tensor3SetConstant.
Index npages() const
Returns the number of pages.
NUMERIC Numeric
The type to use for all floating point numbers.
void VectorCrop(Vector &out, const Vector &in, const Numeric &min_value, const Numeric &max_value, const Verbosity &)
WORKSPACE METHOD: VectorCrop.
Index npages() const
Returns the number of pages.
Index nbooks() const
Returns the number of books.
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization.
void Tensor5SetConstant(Tensor5 &x, const Index &nshelves, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value, const Verbosity &verbosity)
WORKSPACE METHOD: Tensor5SetConstant.
void IndexStepUp(Index &xout, const Index &xin, const Verbosity &)
WORKSPACE METHOD: IndexStepUp.
void ArrayOfIndexLinSpace(ArrayOfIndex &x, const Index &start, const Index &stop, const Index &step, const Verbosity &verbosity)
WORKSPACE METHOD: ArrayOfIndexLinSpace.
void SparseSparseMultiply(Sparse &Y, const Sparse &M, const Sparse &X, const Verbosity &)
WORKSPACE METHOD: SparseSparseMultiply.
void resize(Index r, Index c)
Resize function.
void VectorScale(Vector &out, const Vector &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: VectorScale.
Index nrows() const
Returns the number of rows.
void VectorLinSpace(Vector &x, const Numeric &start, const Numeric &stop, const Numeric &step, const Verbosity &verbosity)
WORKSPACE METHOD: VectorLinSpace.
void nlinspace(Vector &x, const Numeric start, const Numeric stop, const Index n)
nlinspace
Index nbooks() const
Returns the number of books.
Index nrows() const
Returns the number of rows.
void MatrixSetConstant(Matrix &x, const Index &nrows, const Index &ncols, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: MatrixSetConstant.
void ArrayOfIndexSetConstant(ArrayOfIndex &aoi, const Index &nelem, const Index &value, const Verbosity &)
WORKSPACE METHOD: ArrayOfIndexSetConstant.
void Matrix1ColFromVector(Matrix &m, const Vector &v, const Verbosity &)
WORKSPACE METHOD: Matrix1ColFromVector.
Index nbooks() const
Returns the number of books.
Index nrows() const
Returns the number of rows.
void VectorSet(Vector &x, const Vector &values, const Verbosity &)
WORKSPACE METHOD: VectorSet.
bool is_increasing(ConstVectorView x)
Checks if a vector is sorted and strictly increasing.
Header file for logic.cc.
Index nrows() const
Returns the number of rows.
Index nshelves() const
Returns the number of shelves.
Index ncols() const
Returns the number of columns.
Header file for sparse matrices.
void VectorNLogSpace(Vector &x, const Index &n, const Numeric &start, const Numeric &stop, const Verbosity &verbosity)
WORKSPACE METHOD: VectorNLogSpace.
void Matrix3ColFromVectors(Matrix &m, const Vector &v1, const Vector &v2, const Vector &v3, const Verbosity &)
WORKSPACE METHOD: Matrix3ColFromVectors.
void FlagOn(Index &x, const Verbosity &)
WORKSPACE METHOD: FlagOn.
void VectorMatrixMultiply(Vector &y, const Matrix &M, const Vector &x, const Verbosity &)
WORKSPACE METHOD: VectorMatrixMultiply.
void MatrixMatrixMultiply(Matrix &Y, const Matrix &M, const Matrix &X, const Verbosity &)
WORKSPACE METHOD: MatrixMatrixMultiply.
INDEX Index
The type to use for all integer numbers and indices.
const String & get_grid_name(Index i) const
Get grid name.
Index nrows() const
Returns the number of rows.
void linspace(Vector &x, const Numeric start, const Numeric stop, const Numeric step)
linspace
void arts_exit(int status)
This is the exit function of ARTS.
void FlagOff(Index &x, const Verbosity &)
WORKSPACE METHOD: FlagOff.
Contains sorting routines.
Index nelem() const
Number of elements.
void Tensor7SetConstant(Tensor7 &x, const Index &nlibraries, const Index &nvitrines, const Index &nshelves, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value, const Verbosity &verbosity)
WORKSPACE METHOD: Tensor7SetConstant.
Index ncols() const
Returns the number of columns.
void MatrixAddScalar(Matrix &out, const Matrix &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: MatrixAddScalar.
void Tensor5Scale(Tensor5 &out, const Tensor5 &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: Tensor5Scale.
This file contains the definition of String, the ARTS string class.
The global header file for ARTS.
void Tensor4AddScalar(Tensor4 &out, const Tensor4 &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: Tensor4AddScalar.
void Tensor3Scale(Tensor3 &out, const Tensor3 &in, const Numeric &value, const Verbosity &)
WORKSPACE METHOD: Tensor3Scale.
void VectorSetConstant(Vector &x, const Index &n, const Numeric &value, const Verbosity &verbosity)
WORKSPACE METHOD: VectorSetConstant.