|
ARTS
2.2.66
|
#include <cmath>#include <iostream>#include <cstdlib>#include "matpackVII.h"#include "exceptions.h"#include "array.h"#include "make_array.h"#include "mystring.h"#include "make_vector.h"#include "math_funcs.h"#include "describe.h"#include "matpackII.h"#include "rational.h"#include "logic.h"#include "wigner_functions.h"Go to the source code of this file.
Macros | |
| #define | docheck(fn, val, expect) cout << #fn << "(" << val << ") = " << fn(x) << " (expected " << #expect << ")" << std::endl; |
Functions | |
| Numeric | by_reference (const Numeric &x) |
| Numeric | by_value (Numeric x) |
| void | fill_with_junk (VectorView x) |
| void | fill_with_junk (MatrixView x) |
| int | test1 () |
| void | test2 () |
| void | test4 () |
| void | test5 () |
| void | test6 () |
| void | test7 () |
| void | test8 () |
| void | test9 () |
| void | test10 () |
| void | test11 () |
| void | test12 () |
| void | test13 () |
| void | test14 () |
| void | test15 () |
| void | test17 () |
| void | test18 () |
| void | test19 () |
| void | test20 () |
| void | test21 () |
| void | test22 () |
| void | test23 () |
| void | test24 () |
| void | test25 () |
| void | test26 () |
| void | test27 () |
| void | test28 () |
| void | test29 () |
| void | test30 () |
| void | test31 () |
| void | test32 () |
| void | test33 () |
| void | junk4 (Tensor4View a) |
| void | junk2 (ConstVectorView a) |
| void | test34 () |
| void | test35 () |
| void | test36 () |
| void | test37 (const Index &i) |
| void | test38 () |
| void | test39 () |
| void | test40 () |
| void | test41 () |
| void | test42 () |
| void | test43 () |
| void | test44 () |
| void | test45 () |
| int | main () |
| #define docheck | ( | fn, | |
| val, | |||
| expect | |||
| ) | cout << #fn << "(" << val << ") = " << fn(x) << " (expected " << #expect << ")" << std::endl; |
Definition at line 39 of file test_matpack.cc.
Referenced by test21().
Definition at line 44 of file test_matpack.cc.
Referenced by test22().
| void fill_with_junk | ( | MatrixView | x | ) |
Definition at line 54 of file test_matpack.cc.
| void fill_with_junk | ( | VectorView | x | ) |
Definition at line 49 of file test_matpack.cc.
Referenced by test1().
| void junk2 | ( | ConstVectorView | a | ) |
| void junk4 | ( | Tensor4View | a | ) |
| int main | ( | void | ) |
Definition at line 954 of file test_matpack.cc.
References test45().
| int test1 | ( | ) |
Definition at line 59 of file test_matpack.cc.
References VectorView::begin(), C, fill_with_junk(), joker, M, ConstVectorView::nelem(), Vector::resize(), and transpose().
| void test10 | ( | ) |
Definition at line 255 of file test_matpack.cc.
References M.
| void test11 | ( | ) |
Definition at line 266 of file test_matpack.cc.
References M, and ConstVectorView::nelem().
| void test12 | ( | ) |
Definition at line 278 of file test_matpack.cc.
References Array< base >::nelem().
| void test13 | ( | ) |
Definition at line 297 of file test_matpack.cc.
References M.
| void test14 | ( | ) |
Definition at line 308 of file test_matpack.cc.
| void test15 | ( | ) |
Definition at line 319 of file test_matpack.cc.
| void test17 | ( | ) |
Definition at line 342 of file test_matpack.cc.
References ConstVectorView::sum().
| void test18 | ( | ) |
Definition at line 349 of file test_matpack.cc.
| void test19 | ( | ) |
Definition at line 357 of file test_matpack.cc.
| void test2 | ( | ) |
Definition at line 143 of file test_matpack.cc.
References ConstVectorView::nelem().
| void test20 | ( | ) |
Definition at line 369 of file test_matpack.cc.
| void test21 | ( | ) |
Definition at line 376 of file test_matpack.cc.
References by_reference().
| void test22 | ( | ) |
Definition at line 389 of file test_matpack.cc.
References by_value().
| void test23 | ( | ) |
Definition at line 402 of file test_matpack.cc.
| void test24 | ( | ) |
Definition at line 411 of file test_matpack.cc.
| void test25 | ( | ) |
Definition at line 426 of file test_matpack.cc.
| void test26 | ( | ) |
Definition at line 433 of file test_matpack.cc.
| void test27 | ( | ) |
Definition at line 440 of file test_matpack.cc.
| void test28 | ( | ) |
Definition at line 449 of file test_matpack.cc.
| void test29 | ( | ) |
Definition at line 457 of file test_matpack.cc.
References Matrix::resize().
| void test30 | ( | ) |
Definition at line 482 of file test_matpack.cc.
References ConstMatrixView::ncols(), ConstMatrixView::nrows(), and Matrix::resize().
| void test31 | ( | ) |
Definition at line 504 of file test_matpack.cc.
References joker, max, ConstTensor3View::ncols(), ConstTensor3View::npages(), ConstTensor3View::nrows(), and transform().
| void test32 | ( | ) |
Definition at line 575 of file test_matpack.cc.
References mult().
| void test33 | ( | ) |
Definition at line 599 of file test_matpack.cc.
References describe(), and transpose().
| void test34 | ( | ) |
Definition at line 680 of file test_matpack.cc.
| void test35 | ( | ) |
Definition at line 691 of file test_matpack.cc.
| void test36 | ( | ) |
Definition at line 711 of file test_matpack.cc.
References joker.
| void test37 | ( | const Index & | i | ) |
Definition at line 720 of file test_matpack.cc.
| void test38 | ( | ) |
Definition at line 736 of file test_matpack.cc.
References VectorView::get_c_array(), MatrixView::get_c_array(), and Tensor3View::get_c_array().
| void test39 | ( | ) |
Definition at line 762 of file test_matpack.cc.
| void test4 | ( | ) |
Definition at line 158 of file test_matpack.cc.
References C, joker, mult(), and ConstVectorView::nelem().
| void test40 | ( | ) |
Definition at line 776 of file test_matpack.cc.
| void test41 | ( | ) |
Definition at line 785 of file test_matpack.cc.
| void test42 | ( | ) |
Definition at line 808 of file test_matpack.cc.
References joker.
| void test43 | ( | ) |
Definition at line 830 of file test_matpack.cc.
| void test44 | ( | ) |
Definition at line 841 of file test_matpack.cc.
References docheck, is_decreasing(), is_increasing(), and is_sorted().
| void test45 | ( | ) |
Definition at line 885 of file test_matpack.cc.
References ECS_wigner(), max, N, Vector::resize(), Rational::toNumeric(), and wigner6j().
Referenced by main().
| void test5 | ( | ) |
Definition at line 187 of file test_matpack.cc.
References M, mult(), and transpose().
| void test6 | ( | ) |
Definition at line 208 of file test_matpack.cc.
References M, and transform().
| void test7 | ( | ) |
Definition at line 231 of file test_matpack.cc.
References max, min, ConstVectorView::nelem(), and transform().
| void test8 | ( | ) |
Definition at line 239 of file test_matpack.cc.
References ConstVectorView::nelem().
| void test9 | ( | ) |
Definition at line 247 of file test_matpack.cc.
References joker.