ARTS  2.0.49
test_matpack.cc File Reference
#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"

Go to the source code of this file.

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 ()
 
int main ()
 

Function Documentation

◆ by_reference()

Numeric by_reference ( const Numeric x)

Definition at line 31 of file test_matpack.cc.

Referenced by test21().

◆ by_value()

Numeric by_value ( Numeric  x)

Definition at line 36 of file test_matpack.cc.

Referenced by test22().

◆ fill_with_junk() [1/2]

void fill_with_junk ( MatrixView  x)

Definition at line 46 of file test_matpack.cc.

◆ fill_with_junk() [2/2]

void fill_with_junk ( VectorView  x)

Definition at line 41 of file test_matpack.cc.

Referenced by test1().

◆ junk2()

void junk2 ( ConstVectorView  a)

Definition at line 667 of file test_matpack.cc.

References describe().

Referenced by test34().

◆ junk4()

void junk4 ( Tensor4View  a)

Definition at line 662 of file test_matpack.cc.

References describe().

Referenced by test34().

◆ main()

int main ( void  )

Definition at line 797 of file test_matpack.cc.

References test41().

◆ test1()

int test1 ( )

◆ test10()

void test10 ( )

Definition at line 247 of file test_matpack.cc.

References M.

◆ test11()

void test11 ( )

Definition at line 258 of file test_matpack.cc.

References M, and ConstVectorView::nelem().

◆ test12()

void test12 ( )

Definition at line 270 of file test_matpack.cc.

References Array< base >::nelem().

◆ test13()

void test13 ( )

Definition at line 289 of file test_matpack.cc.

References M.

◆ test14()

void test14 ( )

Definition at line 300 of file test_matpack.cc.

◆ test15()

void test15 ( )

Definition at line 311 of file test_matpack.cc.

◆ test17()

void test17 ( )

Definition at line 334 of file test_matpack.cc.

References ConstVectorView::sum().

◆ test18()

void test18 ( )

Definition at line 341 of file test_matpack.cc.

◆ test19()

void test19 ( )

Definition at line 349 of file test_matpack.cc.

◆ test2()

void test2 ( )

Definition at line 135 of file test_matpack.cc.

References ConstVectorView::nelem().

◆ test20()

void test20 ( )

Definition at line 361 of file test_matpack.cc.

◆ test21()

void test21 ( )

Definition at line 368 of file test_matpack.cc.

References by_reference().

◆ test22()

void test22 ( )

Definition at line 381 of file test_matpack.cc.

References by_value().

◆ test23()

void test23 ( )

Definition at line 394 of file test_matpack.cc.

◆ test24()

void test24 ( )

Definition at line 403 of file test_matpack.cc.

◆ test25()

void test25 ( )

Definition at line 418 of file test_matpack.cc.

References max, and min.

◆ test26()

void test26 ( )

Definition at line 425 of file test_matpack.cc.

◆ test27()

void test27 ( )

Definition at line 432 of file test_matpack.cc.

◆ test28()

void test28 ( )

Definition at line 441 of file test_matpack.cc.

◆ test29()

void test29 ( )

Definition at line 449 of file test_matpack.cc.

References Matrix::resize().

◆ test30()

void test30 ( )

◆ test31()

◆ test32()

void test32 ( )

Definition at line 567 of file test_matpack.cc.

References mult().

◆ test33()

void test33 ( )

Definition at line 591 of file test_matpack.cc.

References describe(), and transpose().

◆ test34()

void test34 ( )

Definition at line 672 of file test_matpack.cc.

References junk2(), and junk4().

◆ test35()

void test35 ( )

Definition at line 683 of file test_matpack.cc.

◆ test36()

void test36 ( )

Definition at line 703 of file test_matpack.cc.

References joker.

◆ test37()

void test37 ( const Index i)

Definition at line 712 of file test_matpack.cc.

◆ test38()

void test38 ( )

◆ test39()

void test39 ( )

Definition at line 754 of file test_matpack.cc.

◆ test4()

void test4 ( )

Definition at line 150 of file test_matpack.cc.

References joker, mult(), and ConstVectorView::nelem().

◆ test40()

void test40 ( )

Definition at line 768 of file test_matpack.cc.

◆ test41()

void test41 ( )

Definition at line 777 of file test_matpack.cc.

Referenced by main().

◆ test5()

void test5 ( )

Definition at line 179 of file test_matpack.cc.

References M, mult(), and transpose().

◆ test6()

void test6 ( )

Definition at line 200 of file test_matpack.cc.

References M, and transform().

◆ test7()

void test7 ( )

Definition at line 223 of file test_matpack.cc.

References max, min, ConstVectorView::nelem(), and transform().

◆ test8()

void test8 ( )

Definition at line 231 of file test_matpack.cc.

References ConstVectorView::nelem().

◆ test9()

void test9 ( )

Definition at line 239 of file test_matpack.cc.

References joker.