Numeric first(ConstVectorView x)
Gives the first value of a vector.
void interp_lin_vector(VectorView yi, ConstVectorView x, ConstVectorView y, ConstVectorView xi)
Multiple linear interpolation of a vector.
void nlinspace(Vector &x, const Numeric start, const Numeric stop, const Index n)
Linearly spaced vector with specified length.
void check_length_ncol(const Vector &x, const String &x_name, const Matrix &A, const String &A_name)
Checkss that the length of a vector and the number of columns of a matrix match.
void nlogspace(Vector &x, const Numeric start, const Numeric stop, const Index n)
Logarithmically spaced vector with specified length.
void check_length_nrow(const Vector &x, const String &x_name, const Matrix &A, const String &A_name)
Checks that the length of a vector and the number of rows of a matrix match.
void check_ncol_nrow(const Matrix &A, const String &A_name, const Matrix &B, const String &B_name)
Checks that the number of columns of the first matrix is the same as the number of rows of the second...
void check_lengths(const Vector &x1, const String &x1_name, const Vector &x2, const String &x2_name)
Checks that two vectors have the same length.
bool any(const ArrayOfIndex &x)
True if any element of a boolean vector, b, is not 0.
void check_if_bool(const Index &x, const String &x_name)
Checks if an integer is 0 or 1.
NUMERIC Numeric
The type to use for all floating point numbers.
Numeric last(ConstVectorView x)
Gives the last value of a vector.
void interp_lin_matrix(MatrixView Yi, ConstVectorView x, ConstMatrixView Y, ConstVectorView xi)
Multiple linear interpolation of matrix rows.
A constant view of a Matrix.
void linspace(Vector &x, const Numeric start, const Numeric stop, const Numeric step)
Linearly spaced vector with specified spacing.
INDEX Index
The type to use for all integer numbers and indices.
void check_if_in_range(const Numeric &x_low, const Numeric &x_high, const Numeric &x, const String &x_name)
Checks if a numeric variable is inside a specified range.
Numeric interp_lin(ConstVectorView x, ConstVectorView y, const Numeric xi)
Single linear interpolation of a vector (return version).
A constant view of a Vector.
This file contains the definition of String, the ARTS string class.