2 #include <blitz/array.h> 24 std::ostringstream os;
25 os <<
"Array<double, 1>: " << V;
39 std::ostringstream os;
40 os <<
"Array<int, 1>: " << V;
54 std::ostringstream os;
55 os <<
"Array<bool, 1>: " << V;
91 std::ostringstream os;
92 os <<
"Array<double, 2>: " << V;
130 std::ostringstream os;
131 os <<
"Array<int, 2>: " << V;
170 std::ostringstream os;
171 os <<
"Array<bool, 2>: " << V;
177 {
return V(i, j, k); }
180 {
return V(i, j, k); }
182 {
return V(i, j, k); }
184 {
return V(i, j, k); }
186 {
return V(i, j, k); }
189 {
return V(i, j, k); }
191 {
return V(i, j, k); }
193 {
return V(i, j, k); }
235 std::ostringstream os;
236 os <<
"Array<double, 3>: "<< V;
242 {
return V(i, j, k); }
245 {
return V(i, j, k); }
247 {
return V(i, j, k); }
249 {
return V(i, j, k); }
251 {
return V(i, j, k); }
254 {
return V(i, j, k); }
256 {
return V(i, j, k); }
258 {
return V(i, j, k); }
300 std::ostringstream os;
301 os <<
"Array<int, 3>: "<< V;
307 {
return V(i, j, k); }
328 std::ostringstream os;
329 os <<
"Array<bool, 3>: " << V;
335 return V.extent(fourthDim);
339 {
return V(i, j, k, l); }
342 {
return V(i, j, k, l); }
345 {
return V(i, j, k, l); }
347 {
return V(i, j, k, l); }
349 {
return V(i, j, k, l); }
351 {
return V(i, j, k, l); }
354 {
return V(i, j, k, l); }
356 {
return V(i, j, k, l); }
358 {
return V(i, j, k, l); }
360 {
return V(i, j, k, l); }
362 {
return V(i, j, k, l); }
364 {
return V(i, j, k, l); }
367 {
return V(i, j, k, l); }
369 {
return V(i, j, k, l); }
372 { V(i, j, k, l) = v; }
375 { V(i, j, k, l) = v; }
377 { V(i, j, k, l) = v; }
379 { V(i, j, k, l) = v; }
381 { V(i, j, k, l) = v; }
384 { V(i, j, k, l) = v; }
386 { V(i, j, k, l) = v; }
388 { V(i, j, k, l) = v; }
390 { V(i, j, k, l) = v; }
392 { V(i, j, k, l) = v; }
394 { V(i, j, k, l) = v; }
397 { V(i, j, k, l) = v; }
399 { V(i, j, k, l) = v; }
401 { V(i, j, k, l) = v; }
403 { V(i, j, k, l) = v; }
405 { V(i, j, k, l) = v; }
408 { V(i, j, k, l) = v; }
410 { V(i, j, k, l) = v; }
412 { V(i, j, k, l) = v; }
414 { V(i, j, k, l) = v; }
417 { V(i, j, k, l) = v; }
419 { V(i, j, k, l) = v; }
421 { V(i, j, k, l) = v; }
423 { V(i, j, k, l) = v; }
425 { V(i, j, k, l) = v; }
427 { V(i, j, k, l) = v; }
430 { V(i, j, k, l) = v; }
432 { V(i, j, k, l) = v; }
434 { V(i, j, k, l) = v; }
436 { V(i, j, k, l) = v; }
440 std::ostringstream os;
441 os <<
"Array<double, 4>: "<< V;
446 return V.extent(fourthDim);
450 return V.extent(fifthDim);
454 {
return V(i, j, k, l, m); }
457 {
return V(i, j, k, l, m); }
460 {
return V(i, j, k, l, m); }
462 {
return V(i, j, k, l, m); }
464 {
return V(i, j, k, l, m); }
466 {
return V(i, j, k, l, m); }
468 {
return V(i, j, k, l, m); }
471 {
return V(i, j, k, l, m); }
473 {
return V(i, j, k, l, m); }
475 {
return V(i, j, k, l, m); }
477 {
return V(i, j, k, l, m); }
479 {
return V(i, j, k, l, m); }
481 {
return V(i, j, k, l, m); }
483 {
return V(i, j, k, l, m); }
485 {
return V(i, j, k, l, m); }
487 {
return V(i, j, k, l, m); }
489 {
return V(i, j, k, l, m); }
492 {
return V(i, j, k, l, m); }
494 {
return V(i, j, k, l, m); }
496 {
return V(i, j, k, l, m); }
498 {
return V(i, j, k, l, m); }
500 {
return V(i, j, k, l, m); }
502 {
return V(i, j, k, l, m); }
504 {
return V(i, j, k, l, m); }
506 {
return V(i, j, k, l, m); }
508 {
return V(i, j, k, l, m); }
510 {
return V(i, j, k, l, m); }
513 {
return V(i, j, k, l, m); }
515 {
return V(i, j, k, l, m); }
517 {
return V(i, j, k, l, m); }
519 {
return V(i, j, k, l, m); }
521 {
return V(i, j, k, l, m); }
525 { V(i, j, k, l, m) = v; }
528 { V(i, j, k, l, m) = v; }
531 { V(i, j, k, l, m) = v; }
534 { V(i, j, k, l, m) = v; }
536 { V(i, j, k, l, m) = v; }
538 { V(i, j, k, l, m) = v; }
540 { V(i, j, k, l, m) = v; }
542 { V(i, j, k, l, m) = v; }
545 { V(i, j, k, l, m) = v; }
547 { V(i, j, k, l, m) = v; }
549 { V(i, j, k, l, m) = v; }
551 { V(i, j, k, l, m) = v; }
553 { V(i, j, k, l, m) = v; }
555 { V(i, j, k, l, m) = v; }
557 { V(i, j, k, l, m) = v; }
559 { V(i, j, k, l, m) = v; }
561 { V(i, j, k, l, m) = v; }
563 { V(i, j, k, l, m) = v; }
566 { V(i, j, k, l, m) = v; }
568 { V(i, j, k, l, m) = v; }
570 { V(i, j, k, l, m) = v; }
572 { V(i, j, k, l, m) = v; }
574 { V(i, j, k, l, m) = v; }
576 { V(i, j, k, l, m) = v; }
578 { V(i, j, k, l, m) = v; }
580 { V(i, j, k, l, m) = v; }
582 { V(i, j, k, l, m) = v; }
584 { V(i, j, k, l, m) = v; }
587 { V(i, j, k, l, m) = v; }
589 { V(i, j, k, l, m) = v; }
591 { V(i, j, k, l, m) = v; }
593 { V(i, j, k, l, m) = v; }
595 { V(i, j, k, l, m) = v; }
599 std::ostringstream os;
600 os <<
"Array<double, 5>: "<< V;
715 typedef Array<double, 1>
ad1;
716 typedef Array<double, 2>
ad2;
717 typedef Array<double, 3>
ad3;
718 typedef Array<double, 4>
ad4;
719 typedef Array<double, 5>
ad5;
720 typedef Array<bool, 1>
ab1;
721 typedef Array<bool, 2>
ab2;
722 typedef Array<bool, 3>
ab3;
723 typedef Array<int, 1>
ai1;
724 typedef Array<int, 2>
ai2;
725 typedef Array<int, 3>
ai3;
727 .def(luabind::constructor<int>())
728 .def(
"rows", &Array<double, 1>::rows)
735 .def(
"__add", &blitz_oper_add_double<ad1>)
736 .def(
"__add", &double_oper_add_blitz<ad1>)
737 .def(
"__add", &blitz_oper_add_array<ad1>)
738 .def(
"__sub", &blitz_oper_sub_double<ad1>)
739 .def(
"__sub", &double_oper_sub_blitz<ad1>)
740 .def(
"__sub", &blitz_oper_sub_array<ad1>)
741 .def(
"__mul", &blitz_oper_mul_double<ad1>)
742 .def(
"__mul", &double_oper_mul_blitz<ad1>)
743 .def(
"__mul", &blitz_oper_mul_array<ad1>)
744 .def(
"__div", &blitz_oper_div_double<ad1>)
745 .def(
"__div", &double_oper_div_blitz<ad1>)
746 .def(
"__div", &blitz_oper_div_array<ad1>)
747 .def(
"sum", &blitz_sum<ad1>)
748 .def(
"product", &blitz_product<ad1>)
749 .def(
"mean", &blitz_mean<ad1>)
750 .def(
"min", &blitz_min<ad1>)
751 .def(
"max", &blitz_max<ad1>)
752 .def(
"log", &blitz_log<ad1>)
753 .def(
"exp", &blitz_exp<ad1>)
757 .
def(luabind::constructor<
int>())
758 .
def("rows", &Array<
int, 1>::rows)
766 .
def(luabind::constructor<
int>())
767 .
def("rows", &Array<
bool, 1>::rows)
775 .
def(luabind::constructor<
int,
int>())
776 .
def("rows", &Array<
double, 2>::rows)
777 .
def("cols", &Array<
double, 2>::cols)
812 .
def(luabind::constructor<
int,
int>())
813 .
def("rows", &Array<
int, 2>::rows)
814 .
def("cols", &Array<
int, 2>::cols)
830 .
def(luabind::constructor<
int,
int>())
831 .
def("rows", &Array<
bool, 2>::rows)
832 .
def("cols", &Array<
bool, 2>::cols)
848 .
def(luabind::constructor<
int,
int,
int>())
849 .
def("rows", &Array<
double, 3>::rows)
850 .
def("cols", &Array<
double, 3>::cols)
851 .
def("depth", &Array<
double, 3>::depth)
898 .
def(luabind::constructor<
int,
int,
int>())
899 .
def("rows", &Array<
int, 3>::rows)
900 .
def("cols", &Array<
int, 3>::cols)
901 .
def("depth", &Array<
int, 3>::depth)
929 .
def(luabind::constructor<
int>())
930 .
def("rows", &Array<
bool, 3>::rows)
931 .
def("cols", &Array<
bool, 3>::cols)
932 .
def("depth", &Array<
bool, 3>::depth)
946 .
def(luabind::constructor<
int,
int,
int,
int>())
947 .
def("rows", &Array<
double, 4>::rows)
948 .
def("cols", &Array<
double, 4>::cols)
949 .
def("depth", &Array<
double, 4>::depth)
1018 .
def(luabind::constructor<
int,
int,
int,
int,
int>())
1019 .
def("rows", &Array<
double, 5>::rows)
1020 .
def("cols", &Array<
double, 5>::cols)
1021 .
def("depth", &Array<
double, 5>::depth)
1111 std::
string range_tostring(const
blitz::Range& R)
1113 std::ostringstream os;
1119 .def(luabind::constructor<>())
1120 .def(luabind::constructor<int>())
1121 .def(luabind::constructor<int,int>())
1122 .def(luabind::constructor<int,int,int>())
1123 .def(
"__tostring", &range_tostring)
void blitz_double_array_5d_set_irrrr(Array< double, 5 > &V, int i, Range j, Range k, Range l, Range m, blitz::Array< double, 4 > v)
#define range_check(V, Min, Max)
Range check.
void blitz_double_array_4d_set_rrir(Array< double, 4 > &V, Range i, Range j, int k, Range l, double v)
void blitz_double_array_4d_set_irir(Array< double, 4 > &V, int i, Range j, int k, Range l, double v)
void blitz_double_array_3d_set_rir(Array< double, 3 > &V, Range i, int j, Range k, double v)
void blitz_int_array_2d_set_arr_ir(Array< int, 2 > &V, int i, Range j, Array< int, 1 > v)
double blitz_sum(const Vt &Arr)
void blitz_bool_array_2d_set_arr_ri(Array< bool, 2 > &V, Range i, int j, Array< bool, 1 > v)
blitz::Array< double, 2 > blitz_double_array_5d_slice_irrii(const Array< double, 5 > &V, int i, Range j, Range k, int l, int m)
double blitz_product(const Vt &Arr)
void blitz_double_array_5d_set_riirr(Array< double, 5 > &V, Range i, int j, int k, Range l, Range m, blitz::Array< double, 3 > v)
blitz::Array< double, 2 > blitz_double_array_5d_slice_iirir(const Array< double, 5 > &V, int i, int j, Range k, int l, Range m)
void blitz_int_array_3d_set_rrr(Array< int, 3 > &V, Range i, Range j, Range k, int v)
void blitz_double_array_5d_set_irrii(Array< double, 5 > &V, int i, Range j, Range k, int l, int m, blitz::Array< double, 2 > v)
void blitz_bool_array_2d_set_rr(Array< bool, 2 > &V, Range i, Range j, bool v)
blitz::Array< double, 3 > blitz_double_array_3d_slice_rrr(const Array< double, 3 > &V, Range i, Range j, Range k)
void blitz_double_array_4d_set_arr_iiir(Array< double, 4 > &V, int i, int j, int k, Range l, Array< double, 1 > &v)
blitz::Array< double, 3 > blitz_double_array_5d_slice_rrrii(const Array< double, 5 > &V, Range i, Range j, Range k, int l, int m)
void blitz_bool_array_3d_set_rri(Array< bool, 3 > &V, Range i, Range j, int k, bool v)
void blitz_bool_array_2d_set_ri(Array< bool, 2 > &V, Range i, int j, bool v)
blitz::Array< double, 3 > blitz_double_array_4d_slice_rrir(const Array< double, 4 > &V, Range i, Range j, int k, Range l)
blitz::Array< double, 3 > blitz_double_array_5d_slice_irrir(const Array< double, 5 > &V, int i, Range j, Range k, int l, Range m)
double blitz_double_array_3d_read(const Array< double, 3 > &V, int i, int j, int k)
void blitz_double_array_5d_set_iirir(Array< double, 5 > &V, int i, int j, Range k, int l, Range m, blitz::Array< double, 2 > v)
blitz::Array< double, 2 > blitz_double_array_5d_slice_iirri(const Array< double, 5 > &V, int i, int j, Range k, Range l, int m)
void blitz_double_array_5d_set_iirii(Array< double, 5 > &V, int i, int j, Range k, int l, int m, blitz::Array< double, 1 > v)
std::string blitz_int_array_2d_tostring(const Array< int, 2 > &V)
void blitz_double_array_2d_set_rr(Array< double, 2 > &V, Range i, Range j, double v)
void blitz_double_array_2d_set_ri(Array< double, 2 > &V, Range i, int j, double v)
blitz::Array< double, 1 > blitz_double_array_3d_slice_iir(const Array< double, 3 > &V, int i, int j, Range k)
std::string blitz_bool_array_1d_tostring(const Array< bool, 1 > &V)
blitz::Array< double, 4 > blitz_double_array_5d_slice_rirrr(const Array< double, 5 > &V, Range i, int j, Range k, Range l, Range m)
void blitz_double_array_5d_set_irrir(Array< double, 5 > &V, int i, Range j, Range k, int l, Range m, blitz::Array< double, 3 > v)
void blitz_double_array_4d_set_irri(Array< double, 4 > &V, int i, Range j, Range k, int l, double v)
blitz::Array< double, 2 > blitz_double_array_4d_slice_rrii(const Array< double, 4 > &V, Range i, Range j, int k, int l)
double blitz_double_array_1d_read(const Array< double, 1 > &V, int i)
Register various Blitz array types into Lua.
void blitz_double_array_5d_set_riiii(Array< double, 5 > &V, Range i, int j, int k, int l, int m, blitz::Array< double, 1 > v)
void blitz_bool_array_3d_set_iir(Array< bool, 3 > &V, int i, int j, Range k, bool v)
void blitz_double_array_4d_set_arr_irrr(Array< double, 4 > &V, int i, Range j, Range k, Range l, Array< double, 3 > &v)
void blitz_int_array_3d_set_rii(Array< int, 3 > &V, Range i, int j, int k, int v)
blitz::Array< int, 2 > blitz_int_array_2d_slice_rr(const Array< int, 2 > &V, Range i, Range j)
void blitz_double_array_5d_set_riiri(Array< double, 5 > &V, Range i, int j, int k, Range l, int m, blitz::Array< double, 2 > v)
void blitz_int_array_3d_set_arr_irr(Array< int, 3 > &V, int i, Range j, Range k, Array< int, 2 > v)
void blitz_int_array_2d_set_ir(Array< int, 2 > &V, int i, Range j, int v)
void blitz_double_array_4d_set_arr_irii(Array< double, 4 > &V, int i, Range j, int k, int l, Array< double, 1 > &v)
void blitz_double_array_4d_set_iiir(Array< double, 4 > &V, int i, int j, int k, Range l, double v)
blitz::Array< double, 2 > blitz_double_array_4d_slice_irir(const Array< double, 4 > &V, int i, Range j, int k, Range l)
void blitz_double_array_5d_set_iiiri(Array< double, 5 > &V, int i, int j, int k, Range l, int m, blitz::Array< double, 1 > v)
void blitz_double_array_3d_set_arr_rrr(Array< double, 3 > &V, Range i, Range j, Range k, Array< double, 3 > v)
blitz::Array< double, 2 > blitz_double_array_5d_slice_riiri(const Array< double, 5 > &V, Range i, int j, int k, Range l, int m)
blitz::Array< double, 2 > blitz_double_array_3d_slice_rri(const Array< double, 3 > &V, Range i, Range j, int k)
void blitz_int_array_3d_set_arr_rri(Array< int, 3 > &V, Range i, Range j, int k, Array< int, 2 > v)
Vt blitz_oper_mul_array(const Vt &Arr, const Vt v)
void blitz_bool_array_3d_set_iii(Array< bool, 3 > &V, int i, int j, int k, bool v)
int blitz_double_array_4d_extent_4(const Array< double, 4 > &V)
void blitz_double_array_4d_set_arr_rrii(Array< double, 4 > &V, Range i, Range j, int k, int l, Array< double, 2 > &v)
blitz::Array< int, 3 > blitz_int_array_3d_slice_rrr(const Array< int, 3 > &V, Range i, Range j, Range k)
Vt double_oper_add_blitz(const double v, const Vt &Arr)
std::string blitz_double_array_3d_tostring(const Array< double, 3 > &V)
void blitz_bool_array_2d_set_ir(Array< bool, 2 > &V, int i, Range j, bool v)
void blitz_double_array_5d_set_iriri(Array< double, 5 > &V, int i, Range j, int k, Range l, int m, blitz::Array< double, 2 > v)
blitz::Array< int, 1 > blitz_int_array_3d_slice_rii(const Array< int, 3 > &V, Range i, int j, int k)
void blitz_double_array_3d_set_arr_iri(Array< double, 3 > &V, int i, Range j, int k, Array< double, 1 > v)
void blitz_double_array_5d_set_ririi(Array< double, 5 > &V, Range i, int j, Range k, int l, int m, blitz::Array< double, 2 > v)
blitz::Array< double, 2 > blitz_double_array_5d_slice_iriri(const Array< double, 5 > &V, int i, Range j, int k, Range l, int m)
void blitz_double_array_3d_set_iii(Array< double, 3 > &V, int i, int j, int k, double v)
blitz::Array< double, 3 > blitz_double_array_4d_slice_rrri(const Array< double, 4 > &V, Range i, Range j, Range k, int l)
blitz::Array< int, 1 > blitz_int_array_2d_slice_ir(const Array< int, 2 > &V, int i, Range j)
Vt blitz_oper_sub_double(const Vt &Arr, const double v)
blitz::Array< double, 2 > blitz_double_array_4d_slice_riir(const Array< double, 4 > &V, Range i, int j, int k, Range l)
void blitz_double_array_4d_set_arr_riii(Array< double, 4 > &V, Range i, int j, int k, int l, Array< double, 1 > &v)
std::string blitz_bool_array_2d_tostring(const Array< bool, 2 > &V)
bool blitz_bool_array_2d_read(const Array< bool, 2 > &V, int i, int j)
void blitz_int_array_3d_set_arr_iri(Array< int, 3 > &V, int i, Range j, int k, Array< int, 1 > v)
void blitz_double_array_5d_set_iiiir(Array< double, 5 > &V, int i, int j, int k, int l, Range m, blitz::Array< double, 1 > v)
blitz::Array< double, 4 > blitz_double_array_5d_slice_rrrir(const Array< double, 5 > &V, Range i, Range j, Range k, int l, Range m)
void blitz_double_array_5d_set_iirri(Array< double, 5 > &V, int i, int j, Range k, Range l, int m, blitz::Array< double, 2 > v)
double blitz_mean(const Vt &Arr)
blitz::Array< double, 3 > blitz_double_array_5d_slice_iirrr(const Array< double, 5 > &V, int i, int j, Range k, Range l, Range m)
void blitz_double_array_5d_set_rrrri(Array< double, 5 > &V, Range i, Range j, Range k, Range l, int m, blitz::Array< double, 4 > v)
void blitz_double_array_2d_set_arr_ri(Array< double, 2 > &V, Range i, int j, Array< double, 1 > v)
void blitz_double_array_5d_set_rirrr(Array< double, 5 > &V, Range i, int j, Range k, Range l, Range m, blitz::Array< double, 4 > v)
blitz::Array< bool, 1 > blitz_bool_array_2d_slice_ri(const Array< bool, 2 > &V, Range i, int j)
blitz::Array< double, 2 > blitz_double_array_3d_slice_irr(const Array< double, 3 > &V, int i, Range j, Range k)
void blitz_double_array_5d_set_iiiii(Array< double, 5 > &V, int i, int j, int k, int l, int m, double v)
void blitz_int_array_2d_set_rr(Array< int, 2 > &V, Range i, Range j, int v)
blitz::Array< double, 3 > blitz_double_array_5d_slice_ririr(const Array< double, 5 > &V, Range i, int j, Range k, int l, Range m)
blitz::Array< double, 4 > blitz_double_array_5d_slice_irrrr(const Array< double, 5 > &V, int i, Range j, Range k, Range l, Range m)
blitz::Array< double, 3 > blitz_double_array_5d_slice_irirr(const Array< double, 5 > &V, int i, Range j, int k, Range l, Range m)
std::string blitz_double_array_4d_tostring(const Array< double, 4 > &V)
void blitz_double_array_4d_set_irii(Array< double, 4 > &V, int i, Range j, int k, int l, double v)
void blitz_double_array_2d_set_ir(Array< double, 2 > &V, int i, Range j, double v)
void blitz_int_array_1d_set_i(Array< int, 1 > &V, int i, int v)
double blitz_double_array_2d_read(const Array< double, 2 > &V, int i, int j)
blitz::Array< double, 2 > blitz_double_array_5d_slice_riiir(const Array< double, 5 > &V, Range i, int j, int k, int l, Range m)
blitz::Array< double, 3 > blitz_double_array_5d_slice_rirri(const Array< double, 5 > &V, Range i, int j, Range k, Range l, int m)
void blitz_double_array_1d_set_r_arr(Array< double, 1 > &V, Range r, Array< double, 1 > &v)
blitz::Array< double, 4 > blitz_double_array_5d_slice_rrirr(const Array< double, 5 > &V, Range i, Range j, int k, Range l, Range m)
void blitz_double_array_3d_set_arr_rii(Array< double, 3 > &V, Range i, int j, int k, Array< double, 1 > v)
blitz::Array< double, 2 > blitz_double_array_4d_slice_irri(const Array< double, 4 > &V, int i, Range j, Range k, int l)
void blitz_double_array_3d_set_rri(Array< double, 3 > &V, Range i, Range j, int k, double v)
blitz::Array< int, 1 > blitz_int_array_3d_slice_iri(const Array< int, 3 > &V, int i, Range j, int k)
Vt blitz_oper_add_array(const Vt &Arr, const Vt v)
std::string blitz_int_array_3d_tostring(const Array< int, 3 > &V)
void blitz_double_array_5d_set_rriir(Array< double, 5 > &V, Range i, Range j, int k, int l, Range m, blitz::Array< double, 3 > v)
Vt blitz_exp(const Vt &Arr)
void blitz_double_array_4d_set_arr_riir(Array< double, 4 > &V, Range i, int j, int k, Range l, Array< double, 2 > &v)
void blitz_int_array_3d_set_iii(Array< int, 3 > &V, int i, int j, int k, int v)
void blitz_int_array_1d_set_r(Array< int, 1 > &V, Range r, int v)
void blitz_int_array_3d_set_irr(Array< int, 3 > &V, int i, Range j, Range k, int v)
void blitz_double_array_4d_set_arr_irri(Array< double, 4 > &V, int i, Range j, Range k, int l, Array< double, 2 > &v)
void blitz_double_array_3d_set_arr_irr(Array< double, 3 > &V, int i, Range j, Range k, Array< double, 2 > v)
Vt blitz_log(const Vt &Arr)
void blitz_double_array_3d_set_arr_rir(Array< double, 3 > &V, Range i, int j, Range k, Array< double, 2 > v)
blitz::Array< int, 2 > blitz_int_array_3d_slice_irr(const Array< int, 3 > &V, int i, Range j, Range k)
blitz::Array< double, 2 > blitz_double_array_3d_slice_rir(const Array< double, 3 > &V, Range i, int j, Range k)
void blitz_bool_array_3d_set_iri(Array< bool, 3 > &V, int i, Range j, int k, bool v)
blitz::Array< double, 2 > blitz_double_array_4d_slice_riri(const Array< double, 4 > &V, Range i, int j, Range k, int l)
std::string blitz_double_array_5d_tostring(const Array< double, 5 > &V)
Vt double_oper_mul_blitz(const double v, const Vt &Arr)
blitz::Array< double, 3 > blitz_double_array_4d_slice_irrr(const Array< double, 4 > &V, int i, Range j, Range k, Range l)
blitz::Array< double, 1 > blitz_double_array_5d_slice_iirii(const Array< double, 5 > &V, int i, int j, Range k, int l, int m)
void blitz_double_array_4d_set_riir(Array< double, 4 > &V, Range i, int j, int k, Range l, double v)
void blitz_double_array_4d_set_rrii(Array< double, 4 > &V, Range i, Range j, int k, int l, double v)
void blitz_double_array_5d_set_iriii(Array< double, 5 > &V, int i, Range j, int k, int l, int m, blitz::Array< double, 1 > v)
blitz::Array< double, 1 > blitz_double_array_4d_slice_iiir(const Array< double, 4 > &V, int i, int j, int k, Range l)
std::string blitz_double_array_1d_tostring(const Array< double, 1 > &V)
Vt blitz_oper_div_array(const Vt &Arr, const Vt &v)
void blitz_double_array_4d_set_arr_irir(Array< double, 4 > &V, int i, Range j, int k, Range l, Array< double, 2 > &v)
double blitz_double_array_5d_read(const Array< double, 5 > &V, int i, int j, int k, int l, int m)
Apply value function to a blitz array.
int blitz_int_array_2d_read(const Array< int, 2 > &V, int i, int j)
blitz::Array< int, 2 > blitz_int_array_3d_slice_rir(const Array< int, 3 > &V, Range i, int j, Range k)
blitz::Array< double, 1 > blitz_double_array_5d_slice_riiii(const Array< double, 5 > &V, Range i, int j, int k, int l, int m)
void blitz_double_array_4d_set_iiii(Array< double, 4 > &V, int i, int j, int k, int l, double v)
void blitz_double_array_3d_set_arr_rri(Array< double, 3 > &V, Range i, Range j, int k, Array< double, 2 > v)
Vt double_oper_div_blitz(const double v, const Vt &Arr)
blitz::Array< double, 2 > blitz_double_array_5d_slice_rriii(const Array< double, 5 > &V, Range i, Range j, int k, int l, int m)
double blitz_min(const Vt &Arr)
int blitz_int_array_3d_read(const Array< int, 3 > &V, int i, int j, int k)
void blitz_int_array_2d_set_ii(Array< int, 2 > &V, int i, int j, int v)
blitz::Array< double, 1 > blitz_double_array_1d_slice(const Array< double, 1 > &V, Range i)
#define REGISTER_LUA_CLASS_NAME(X, Y)
void blitz_double_array_3d_set_rii(Array< double, 3 > &V, Range i, int j, int k, double v)
blitz::Array< double, 4 > blitz_double_array_4d_slice_rrrr(const Array< double, 4 > &V, Range i, Range j, Range k, Range l)
void blitz_bool_array_3d_set_irr(Array< bool, 3 > &V, int i, Range j, Range k, bool v)
void blitz_double_array_4d_set_iirr(Array< double, 4 > &V, int i, int j, Range k, Range l, double v)
void blitz_double_array_5d_set_rriri(Array< double, 5 > &V, Range i, Range j, int k, Range l, int m, blitz::Array< double, 3 > v)
void blitz_double_array_5d_set_rrrii(Array< double, 5 > &V, Range i, Range j, Range k, int l, int m, blitz::Array< double, 3 > v)
int blitz_int_array_1d_read(const Array< int, 1 > &V, int i)
blitz::Array< double, 1 > blitz_double_array_5d_slice_iriii(const Array< double, 5 > &V, int i, Range j, int k, int l, int m)
void blitz_double_array_4d_set_rrrr(Array< double, 4 > &V, Range i, Range j, Range k, Range l, double v)
void blitz_int_array_3d_set_arr_rrr(Array< int, 3 > &V, Range i, Range j, Range k, Array< int, 3 > v)
void blitz_double_array_4d_set_riii(Array< double, 4 > &V, Range i, int j, int k, int l, double v)
blitz::Array< double, 2 > blitz_double_array_5d_slice_iiirr(const Array< double, 5 > &V, int i, int j, int k, Range l, Range m)
void blitz_bool_array_2d_set_arr_ir(Array< bool, 2 > &V, int i, Range j, Array< bool, 1 > v)
void blitz_double_array_1d_set_i(Array< double, 1 > &V, int i, double v)
double blitz_max(const Vt &Arr)
blitz::Array< int, 2 > blitz_int_array_3d_slice_rri(const Array< int, 3 > &V, Range i, Range j, int k)
void blitz_double_array_4d_set_rirr(Array< double, 4 > &V, Range i, int j, Range k, Range l, double v)
void blitz_double_array_4d_set_riri(Array< double, 4 > &V, Range i, int j, Range k, int l, double v)
void blitz_double_array_5d_set_riiir(Array< double, 5 > &V, Range i, int j, int k, int l, Range m, blitz::Array< double, 2 > v)
void blitz_double_array_3d_set_iri(Array< double, 3 > &V, int i, Range j, int k, double v)
double blitz_double_array_4d_read(const Array< double, 4 > &V, int i, int j, int k, int l)
blitz::Array< double, 2 > blitz_double_array_2d_slice_rr(const Array< double, 2 > &V, Range i, Range j)
Vt blitz_oper_mul_double(const Vt &Arr, const double v)
bool blitz_bool_array_3d_read(const Array< bool, 1 > &V, int i, int j, int k)
const Unit m("m", 1.0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
Vt blitz_oper_div_double(const Vt &Arr, const double v)
void blitz_double_array_5d_set_rirri(Array< double, 5 > &V, Range i, int j, Range k, Range l, int m, blitz::Array< double, 3 > v)
Vt blitz_oper_sub_array(const Vt &Arr, const Vt v)
void blitz_int_array_2d_set_ri(Array< int, 2 > &V, Range i, int j, int v)
blitz::Array< bool, 1 > blitz_bool_array_2d_slice_ir(const Array< bool, 2 > &V, int i, Range j)
void blitz_int_array_3d_set_rir(Array< int, 3 > &V, Range i, int j, Range k, int v)
void blitz_bool_array_1d_set_i(Array< bool, 1 > &V, int i, bool v)
blitz::Array< double, 1 > blitz_double_array_3d_slice_iri(const Array< double, 3 > &V, int i, Range j, int k)
void blitz_double_array_5d_set_ririr(Array< double, 5 > &V, Range i, int j, Range k, int l, Range m, blitz::Array< double, 3 > v)
blitz::Array< double, 1 > blitz_double_array_2d_slice_ri(const Array< double, 2 > &V, Range i, int j)
void blitz_bool_array_3d_set_rrr(Array< bool, 3 > &V, Range i, Range j, Range k, bool v)
void blitz_int_array_3d_set_arr_iir(Array< int, 3 > &V, int i, int j, Range k, Array< int, 1 > v)
blitz::Array< int, 1 > blitz_int_array_3d_slice_iir(const Array< int, 3 > &V, int i, int j, Range k)
blitz::Array< double, 1 > blitz_double_array_5d_slice_iiiir(const Array< double, 5 > &V, int i, int j, int k, int l, Range m)
void blitz_double_array_3d_set_irr(Array< double, 3 > &V, int i, Range j, Range k, double v)
void blitz_double_array_2d_set_arr_rr(Array< double, 2 > &V, Range i, Range j, Array< double, 2 > v)
void blitz_double_array_4d_set_rrri(Array< double, 4 > &V, Range i, Range j, Range k, int l, double v)
void blitz_int_array_2d_set_arr_rr(Array< int, 2 > &V, Range i, Range j, Array< int, 2 > v)
void blitz_double_array_5d_set_iiirr(Array< double, 5 > &V, int i, int j, int k, Range l, Range m, blitz::Array< double, 2 > v)
blitz::Array< double, 2 > blitz_double_array_4d_slice_iirr(const Array< double, 4 > &V, int i, int j, Range k, Range l)
int blitz_double_array_5d_extent_4(const Array< double, 5 > &V)
void blitz_double_array_5d_set_rrrrr_val(Array< double, 5 > &V, Range i, Range j, Range k, Range l, Range m, double v)
void blitz_double_array_5d_set_irirr(Array< double, 5 > &V, int i, Range j, int k, Range l, Range m, blitz::Array< double, 3 > v)
blitz::Array< double, 2 > blitz_double_array_5d_slice_iriir(const Array< double, 5 > &V, int i, Range j, int k, int l, Range m)
void blitz_double_array_5d_set_iriir(Array< double, 5 > &V, int i, Range j, int k, int l, Range m, blitz::Array< double, 2 > v)
blitz::Array< double, 3 > blitz_double_array_5d_slice_riirr(const Array< double, 5 > &V, Range i, int j, int k, Range l, Range m)
int blitz_double_array_5d_extent_5(const Array< double, 5 > &V)
void blitz_double_array_2d_set_arr_ir(Array< double, 2 > &V, int i, Range j, Array< double, 1 > v)
Vt double_oper_sub_blitz(const double v, const Vt &Arr)
blitz::Array< bool, 2 > blitz_bool_array_2d_slice_rr(const Array< bool, 2 > &V, Range i, Range j)
blitz::Array< double, 2 > blitz_double_array_5d_slice_ririi(const Array< double, 5 > &V, Range i, int j, Range k, int l, int m)
void blitz_double_array_4d_set_arr_rrir(Array< double, 4 > &V, Range i, Range j, int k, Range l, Array< double, 3 > &v)
Contains classes to abstract away details in various Spurr Radiative Transfer software.
void blitz_double_array_5d_set_rrrir(Array< double, 5 > &V, Range i, Range j, Range k, int l, Range m, blitz::Array< double, 4 > v)
void blitz_double_array_5d_set_iirrr(Array< double, 5 > &V, int i, int j, Range k, Range l, Range m, blitz::Array< double, 3 > v)
void blitz_double_array_4d_set_arr_rrri(Array< double, 4 > &V, Range i, Range j, Range k, int l, Array< double, 3 > &v)
#define REGISTER_LUA_END()
def(luabind::constructor< int >()) .def("rows"
void blitz_double_array_3d_set_arr_iir(Array< double, 3 > &V, int i, int j, Range k, Array< double, 1 > v)
blitz::Array< double, 3 > blitz_double_array_5d_slice_irrri(const Array< double, 5 > &V, int i, Range j, Range k, Range l, int m)
void blitz_double_array_5d_set_rriii(Array< double, 5 > &V, Range i, Range j, int k, int l, int m, blitz::Array< double, 2 > v)
std::string blitz_bool_array_3d_tostring(const Array< bool, 3 > &V)
void blitz_double_array_3d_set_iir(Array< double, 3 > &V, int i, int j, Range k, double v)
blitz::Array< double, 1 > blitz_double_array_5d_slice_iiiri(const Array< double, 5 > &V, int i, int j, int k, Range l, int m)
blitz::Array< double, 4 > blitz_double_array_5d_slice_rrrri(const Array< double, 5 > &V, Range i, Range j, Range k, Range l, int m)
blitz::Array< double, 3 > blitz_double_array_4d_slice_rirr(const Array< double, 4 > &V, Range i, int j, Range k, Range l)
void blitz_int_array_3d_set_arr_rir(Array< int, 3 > &V, Range i, int j, Range k, Array< int, 2 > v)
void blitz_double_array_3d_set_rrr(Array< double, 3 > &V, Range i, Range j, Range k, double v)
blitz::Array< double, 3 > blitz_double_array_5d_slice_rriri(const Array< double, 5 > &V, Range i, Range j, int k, Range l, int m)
blitz::Array< int, 1 > blitz_int_array_2d_slice_ri(const Array< int, 2 > &V, Range i, int j)
void blitz_double_array_4d_set_arr_iirr(Array< double, 4 > &V, int i, int j, Range k, Range l, Array< double, 2 > &v)
void blitz_double_array_5d_set_irrri(Array< double, 5 > &V, int i, Range j, Range k, Range l, int m, blitz::Array< double, 3 > v)
void blitz_double_array_4d_set_irrr(Array< double, 4 > &V, int i, Range j, Range k, Range l, double v)
Vt blitz_oper_add_double(const Vt &Arr, const double v)
void blitz_bool_array_3d_set_rir(Array< bool, 3 > &V, Range i, int j, Range k, bool v)
double value(const FullPhysics::AutoDerivative< double > &Ad)
void blitz_int_array_3d_set_arr_rii(Array< int, 3 > &V, Range i, int j, int k, Array< int, 1 > v)
std::string blitz_double_array_2d_tostring(const Array< double, 2 > &V)
void blitz_double_array_4d_set_arr_riri(Array< double, 4 > &V, Range i, int j, Range k, int l, Array< double, 2 > &v)
void blitz_double_array_1d_set_r_val(Array< double, 1 > &V, Range r, double v)
void blitz_bool_array_3d_set_rii(Array< bool, 3 > &V, Range i, int j, int k, bool v)
blitz::Array< double, 3 > blitz_double_array_5d_slice_rriir(const Array< double, 5 > &V, Range i, Range j, int k, int l, Range m)
blitz::Array< double, 5 > blitz_double_array_5d_slice_rrrrr(const Array< double, 5 > &V, Range i, Range j, Range k, Range l, Range m)
blitz::Array< double, 1 > blitz_double_array_3d_slice_rii(const Array< double, 3 > &V, Range i, int j, int k)
bool blitz_bool_array_1d_read(const Array< bool, 1 > &V, int i)
void blitz_double_array_5d_set_rrrrr_arr(Array< double, 5 > &V, Range i, Range j, Range k, Range l, Range m, blitz::Array< double, 5 > v)
void blitz_double_array_4d_set_iiri(Array< double, 4 > &V, int i, int j, Range k, int l, double v)
void blitz_double_array_2d_set_ii(Array< double, 2 > &V, int i, int j, double v)
void blitz_bool_array_2d_set_ii(Array< bool, 2 > &V, int i, int j, bool v)
void blitz_double_array_4d_set_arr_rirr(Array< double, 4 > &V, Range i, int j, Range k, Range l, Array< double, 3 > &v)
std::string blitz_int_array_1d_tostring(const Array< int, 1 > &V)
void blitz_int_array_3d_set_rri(Array< int, 3 > &V, Range i, Range j, int k, int v)
void blitz_double_array_5d_set_rrirr(Array< double, 5 > &V, Range i, Range j, int k, Range l, Range m, blitz::Array< double, 4 > v)
blitz::Array< double, 1 > blitz_double_array_4d_slice_riii(const Array< double, 4 > &V, Range i, int j, int k, int l)
void blitz_int_array_3d_set_iir(Array< int, 3 > &V, int i, int j, Range k, int v)
void blitz_int_array_2d_set_arr_ri(Array< int, 2 > &V, Range i, int j, Array< int, 1 > v)
blitz::Array< double, 1 > blitz_double_array_2d_slice_ir(const Array< double, 2 > &V, int i, Range j)
void blitz_double_array_4d_set_arr_iiri(Array< double, 4 > &V, int i, int j, Range k, int l, Array< double, 1 > &v)
void blitz_bool_array_1d_set_r(Array< bool, 1 > &V, Range r, bool v)
void blitz_int_array_3d_set_iri(Array< int, 3 > &V, int i, Range j, int k, int v)
void blitz_bool_array_2d_set_arr_rr(Array< bool, 2 > &V, Range i, Range j, Array< bool, 2 > v)