Go to the documentation of this file.
56 return ( x==0 || x==1 );
94 return( n == x.
nelem() );
110 return( r == x.
nrows() &&
129 return( p == x.
npages() &&
151 return( b == x.
nbooks() &&
259 if( !(x[i] >= x[i-1]) )
281 if( !(x[i] > x[i-1]) )
330 if( !(x[i] < x[i-1]) )
358 for (
Index s=0; s<i; ++s)
387 if ((
temp = fabs(A(i,j))) > big)
393 throw runtime_error (
"Matrix is singular.");
417 for(
Index j=0; j<i; j++ )
bool is_same_within_epsilon(const Numeric &a, const Numeric &b, const Numeric &epsilon)
Check, if two numbers agree within a given epsilon.
Index nshelves() const
Returns the number of shelves.
Index nshelves() const
Returns the number of shelves.
Index nbooks() const
Returns the number of books.
Index ncols() const
Returns the number of columns.
Index npages() const
Returns the number of pages.
Index ncols() const
Returns the number of columns.
bool is_diagonal(ConstMatrixView A)
Checks if a square matrix is diagonal.
A constant view of a Tensor7.
Index nrows() const
Returns the number of rows.
bool is_singular(ConstMatrixView A)
Checks if a square matrix is singular.
Index nrows() const
Returns the number of rows.
bool is_bool(const Index &x)
Checks if a variable equals 0 or 1.
bool is_size(ConstVectorView x, const Index &n)
Verifies that the size of x is l.
Index npages() const
Returns the number of pages.
Index npages() const
Returns the number of pages.
Index nlibraries() const
Returns the number of libraries.
A constant view of a Tensor4.
bool is_decreasing(ConstVectorView x)
Checks if a vector is sorted in reversed order and is strictly decreasing.
Index nvitrines() const
Returns the number of vitrines.
Index ncols() const
Returns the number of columns.
Index nelem() const
Returns the number of elements.
Index nvitrines() const
Returns the number of vitrines.
Index ncols() const
Returns the number of columns.
Index npages() const
Returns the number of pages.
A constant view of a Tensor6.
NUMERIC Numeric
The type to use for all floating point numbers.
Index npages() const
Returns the number of pages.
Index nbooks() const
Returns the number of books.
bool is_lon_cyclic(ConstVectorView grid, const Numeric &epsilon)
Check if the given longitude grid is cyclic.
Index nrows() const
Returns the number of rows.
Index nbooks() const
Returns the number of books.
A constant view of a Matrix.
Index nrows() const
Returns the number of rows.
Index nbooks() const
Returns the number of books.
Index nrows() const
Returns the number of rows.
bool is_increasing(ConstVectorView x)
Checks if a vector is sorted and strictly increasing.
Header file for logic.cc.
bool is_multiple(const Index &x, const Index &y)
Checks if an integer is a multiple of another integer.
Index nshelves() const
Returns the number of shelves.
Index ncols() const
Returns the number of columns.
A constant view of a Tensor3.
INDEX Index
The type to use for all integer numbers and indices.
Index nrows() const
Returns the number of rows.
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.
A constant view of a Vector.
Contains sorting routines.
Index nelem() const
Number of elements.
Index ncols() const
Returns the number of columns.
A constant view of a Tensor5.