98 const Numeric& epsilon = 0.001 );
118 return( n == x.
nelem() );
INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.
bool is_bool(const Index &x)
Checks if a variable equals 0 or 1.
bool is_same_within_epsilon(const Numeric &a, const Numeric &b, const Numeric &epsilon)
Check, if two numbers agree within a given epsilon.
A constant view of a Tensor7.
bool is_diagonal(ConstMatrixView A)
Checks if a square matrix is diagonal.
A constant view of a Tensor6.
bool is_unique(const ArrayOfIndex &x)
Checks if an ArrayOfIndex is unique, i.e., has no duplicate values.
bool is_sorted(ConstVectorView x)
Checks if a vector is sorted in ascending order.
bool is_decreasing(ConstVectorView x)
Checks if a vector is sorted in reversed order and is strictly decreasing.
A constant view of a Tensor4.
The global header file for ARTS.
A constant view of a Tensor5.
NUMERIC Numeric
The type to use for all floating point numbers.
bool is_increasing(ConstVectorView x)
Checks if a vector is sorted and strictly increasing.
bool is_size(ConstVectorView x, const Index &l)
Verifies that the size of x is l.
This can be used to make arrays out of anything.
A constant view of a Tensor3.
A constant view of a Vector.
A constant view of a Matrix.
bool is_multiple(const Index &x, const Index &y)
Checks if an integer is a multiple of another integer.
bool is_lon_cyclic(ConstVectorView grid, const Numeric &epsilon=0.001)
Check if the given longitude grid is cyclic.
bool is_singular(ConstMatrixView A)
Checks if a square matrix is singular.