ARTS  2.3.1285(git:92a29ea9-dirty)
test_tensor.cc File Reference
#include <cmath>
#include <iostream>
#include "array.h"
#include "matpackVII.h"

Go to the source code of this file.

Functions

Tensor4 fill_tensor4 (Index b, Index p, Index r, Index c, Index start=1)
 
Tensor5 fill_tensor5 (Index s, Index b, Index p, Index r, Index c, Index start=1)
 
void test1 ()
 
void test2 ()
 
void test3 ()
 
void test4 ()
 
void test5 ()
 
void fill_tensor6 (Tensor6 &x, Index v, Index s, Index b, Index p, Index r, Index c)
 
void test6 ()
 
void fill_tensor7 (Tensor7 &x, Index l, Index v, Index s, Index b, Index p, Index r, Index c)
 
void test7 ()
 
void test8 ()
 
void test9 ()
 
int main ()
 

Function Documentation

◆ fill_tensor4()

Tensor4 fill_tensor4 ( Index  b,
Index  p,
Index  r,
Index  c,
Index  start = 1 
)

Definition at line 34 of file test_tensor.cc.

Referenced by test1(), and test2().

◆ fill_tensor5()

Tensor5 fill_tensor5 ( Index  s,
Index  b,
Index  p,
Index  r,
Index  c,
Index  start = 1 
)

Definition at line 47 of file test_tensor.cc.

Referenced by test4(), and test5().

◆ fill_tensor6()

void fill_tensor6 ( Tensor6 x,
Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
)

Definition at line 190 of file test_tensor.cc.

Referenced by test6().

◆ fill_tensor7()

void fill_tensor7 ( Tensor7 x,
Index  l,
Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
)

Definition at line 237 of file test_tensor.cc.

Referenced by test7(), and test8().

◆ main()

int main ( void  )

Definition at line 572 of file test_tensor.cc.

References test9().

◆ test1()

◆ test2()

void test2 ( )

Definition at line 99 of file test_tensor.cc.

References fill_tensor4(), sqrt(), and transform().

◆ test3()

void test3 ( )

Definition at line 110 of file test_tensor.cc.

◆ test4()

◆ test5()

void test5 ( )

Definition at line 172 of file test_tensor.cc.

References fill_tensor5().

◆ test6()

◆ test7()

◆ test8()

void test8 ( )

Definition at line 284 of file test_tensor.cc.

References fill_tensor7().

◆ test9()

void test9 ( )

Definition at line 427 of file test_tensor.cc.

Referenced by main().