33 module procedure abs_c 110 module procedure tan_c 134 interface operator (<)
135 module procedure lt_cc 136 module procedure lt_cr 137 module procedure lt_rc 138 module procedure lt_ci 139 module procedure lt_ic 143 interface operator (<=)
144 module procedure le_cc 145 module procedure le_cr 146 module procedure le_rc 147 module procedure le_ci 148 module procedure le_ic 152 interface operator (>)
153 module procedure gt_cc 154 module procedure gt_cr 155 module procedure gt_rc 156 module procedure gt_ci 157 module procedure gt_ic 171 interface operator (>=)
172 module procedure ge_cc 173 module procedure ge_cr 174 module procedure ge_rc 175 module procedure ge_ci 176 module procedure ge_ic 199 interface operator (.ceq.)
200 module procedure eq_cc 201 module procedure eq_rr 202 module procedure eq_ii 203 module procedure eq_aa 204 module procedure eq_cr 205 module procedure eq_rc 206 module procedure eq_ci 207 module procedure eq_ic 208 module procedure eq_ir 209 module procedure eq_ri 220 interface operator (.cne.)
221 module procedure ne_cc 222 module procedure ne_rr 223 module procedure ne_ii 224 module procedure ne_aa 225 module procedure ne_cr 226 module procedure ne_rc 227 module procedure ne_ci 228 module procedure ne_ic 229 module procedure ne_ir 230 module procedure ne_ri 242 complex*16 function abs_c(val)
243 complex*16,
intent(in) :: val
245 if (
real(val) < 0)
abs_c = cmplx(-
real(val),-aimag(val))
262 complex*16 function acos_c(z)
263 complex*16,
intent(in) :: z
266 acos_c = cmplx(
acos(
real(z)),-aimag(z)/sqrt(1.-
real(z)**2))
271 complex*16 function asin_c(z)
272 complex*16,
intent(in) :: z
275 asin_c = cmplx(
asin(
real(z)),aimag(z)/sqrt(1.-
real(z)**2))
280 complex*16 function atan_c(z)
281 complex*16,
intent(in) :: z
293 atan_c = cmplx(
atan(
real(z)),aimag(z)/(1.+
real(z)**2))
298 complex*16 function atan2_cc(csn, ccs)
299 complex*16,
intent(in) :: csn, ccs
324 complex*16 function cosh_c(z)
325 complex*16,
intent(in) :: z
336 complex*16 function sinh_c(z)
337 complex*16,
intent(in) :: z
348 complex*16 function tan_c(z)
349 complex*16,
intent(in) :: z
355 tan_c=cmplx(
tan(
real(z)),aimag(z)/cos(
real(z))**2)
360 complex*16 function tanh_c(a)
361 complex*16,
intent(in) :: a
376 complex*16 function max_cc(val1, val2)
377 complex*16,
intent(in) :: val1, val2
378 if (
real(val1) >
real(val2)) then
385 complex*16 function max_cr(val1, val2)
386 complex*16,
intent(in) :: val1
387 real*8,
intent(in) :: val2
388 if (
real(val1) > val2) then
395 complex*16 function max_rc(val1, val2)
396 real*8,
intent(in) :: val1
397 complex*16,
intent(in) :: val2
398 if (val1 >
real(val2)) then
405 complex*16 function max_ccc(val1, val2, val3)
406 complex*16,
intent(in) :: val1, val2, val3
407 if (
real(val1) >
real(val2)) then
412 if (
real(val3) >
real(
max_ccc)) then
417 function max_cccc(val1, val2, val3, val4)
418 complex*16,
intent(in) :: val1, val2, val3, val4
421 if (
real(val1) >
real(val2)) then
426 if (
real(val3) >
real(val4)) then
431 if (
real(max_cccc2) >
real(max_cccc)) then
438 complex*16 function min_cc(val1, val2)
439 complex*16,
intent(in) :: val1, val2
440 if (
real(val1) <
real(val2)) then
447 complex*16 function min_cr(val1, val2)
448 complex*16,
intent(in) :: val1
449 real*8,
intent(in) :: val2
450 if (
real(val1) < val2) then
457 complex*16 function min_rc(val1, val2)
458 real*8,
intent(in) :: val1
459 complex*16,
intent(in) :: val2
460 if (val1 <
real(val2)) then
467 complex*16 function min_ccc(val1, val2, val3)
468 complex*16,
intent(in) :: val1, val2, val3
469 if (
real(val1) <
real(val2)) then
474 if (
real(val3) <
real(
min_ccc)) then
479 function min_cccc(val1, val2, val3, val4)
480 complex*16,
intent(in) :: val1, val2, val3, val4
483 if (
real(val1) <
real(val2)) then
488 if (
real(val3) <
real(val4)) then
493 if (
real(min_cccc2) <
real(min_cccc)) then
502 complex*16 function sign_cc(val1, val2)
503 complex*16,
intent(in) :: val1, val2
505 if (
real(val2) < 0.) then
513 complex*16 function sign_cr(val1, val2)
514 complex*16,
intent(in) :: val1
515 real*8,
intent(in) :: val2
517 if (
real(val2) < 0.) then
525 complex*16 function sign_rc(val1, val2)
526 real*8,
intent(in) :: val1
527 complex*16,
intent(in) :: val2
529 if (
real(val2) < 0.) then
539 complex*16 function dim_cc(val1, val2)
540 complex*16,
intent(in) :: val1, val2
541 if (val1 > val2)
then 548 complex*16 function dim_cr(val1, val2)
549 complex*16,
intent(in) :: val1
550 real*8,
intent(in) :: val2
551 if (val1 > val2)
then 552 dim_cr = val1 - cmplx(val2, 0.)
558 complex*16 function dim_rc(val1, val2)
559 real*8,
intent(in) :: val1
560 complex*16,
intent(in) :: val2
561 if (val1 > val2)
then 562 dim_rc = cmplx(val1, 0.) - val2
571 complex*16,
intent(in) :: z
576 integer function nint_c(z)
577 complex*16,
intent(in) :: z
583 complex*16,
intent(in) :: z
588 logical function lt_cc(lhs, rhs)
589 complex*16,
intent(in) :: lhs, rhs
590 lt_cc =
real(lhs) <
real(rhs)
592 logical function lt_cr(lhs, rhs)
593 complex*16,
intent(in) :: lhs
594 real*8,
intent(in) :: rhs
595 lt_cr =
real(lhs) < rhs
597 logical function lt_rc(lhs, rhs)
598 real*8,
intent(in) :: lhs
599 complex*16,
intent(in) :: rhs
600 lt_rc = lhs <
real(rhs)
602 logical function lt_ci(lhs, rhs)
603 complex*16,
intent(in) :: lhs
604 integer,
intent(in) :: rhs
605 lt_ci =
real(lhs) < rhs
607 logical function lt_ic(lhs, rhs)
608 integer,
intent(in) :: lhs
609 complex*16,
intent(in) :: rhs
610 lt_ic = lhs <
real(rhs)
614 logical function le_cc(lhs, rhs)
615 complex*16,
intent(in) :: lhs, rhs
616 le_cc =
real(lhs) <= real(rhs)
618 logical function le_cr(lhs, rhs)
619 complex*16,
intent(in) :: lhs
620 real*8,
intent(in) :: rhs
621 le_cr =
real(lhs) <= rhs
623 logical function le_rc(lhs, rhs)
624 real*8,
intent(in) :: lhs
625 complex*16,
intent(in) :: rhs
626 le_rc = lhs <=
real(rhs)
628 logical function le_ci(lhs, rhs)
629 complex*16,
intent(in) :: lhs
630 integer,
intent(in) :: rhs
631 le_ci =
real(lhs) <= rhs
633 logical function le_ic(lhs, rhs)
634 integer,
intent(in) :: lhs
635 complex*16,
intent(in) :: rhs
636 le_ic = lhs <=
real(rhs)
640 logical function gt_cc(lhs, rhs)
641 complex*16,
intent(in) :: lhs, rhs
642 gt_cc =
real(lhs) >
real(rhs)
644 logical function gt_cr(lhs, rhs)
645 complex*16,
intent(in) :: lhs
646 real*8,
intent(in) :: rhs
647 gt_cr =
real(lhs) > rhs
649 logical function gt_rc(lhs, rhs)
650 real*8,
intent(in) :: lhs
651 complex*16,
intent(in) :: rhs
652 gt_rc = lhs >
real(rhs)
654 logical function gt_ci(lhs, rhs)
655 complex*16,
intent(in) :: lhs
656 integer,
intent(in) :: rhs
657 gt_ci =
real(lhs) > rhs
659 logical function gt_ic(lhs, rhs)
660 integer,
intent(in) :: lhs
661 complex*16,
intent(in) :: rhs
662 gt_ic = lhs >
real(rhs)
667 logical function ge_cc(lhs, rhs)
668 complex*16,
intent(in) :: lhs, rhs
669 ge_cc =
real(lhs) >= real(rhs)
671 logical function ge_rr(lhs, rhs)
672 real*8,
intent(in) :: lhs, rhs
675 logical function ge_ii(lhs, rhs)
676 integer,
intent(in) :: lhs, rhs
679 logical function ge_aa(lhs, rhs)
680 character(len=*),
intent(in) :: lhs, rhs
683 logical function ge_cr(lhs, rhs)
684 complex*16,
intent(in) :: lhs
685 real*8,
intent(in) :: rhs
686 ge_cr =
real(lhs) >= rhs
688 logical function ge_rc(lhs, rhs)
689 real*8,
intent(in) :: lhs
690 complex*16,
intent(in) :: rhs
691 ge_rc = lhs >=
real(rhs)
693 logical function ge_ci(lhs, rhs)
694 complex*16,
intent(in) :: lhs
695 integer,
intent(in) :: rhs
696 ge_ci =
real(lhs) >= rhs
698 logical function ge_ic(lhs, rhs)
699 integer,
intent(in) :: lhs
700 complex*16,
intent(in) :: rhs
701 ge_ic = lhs >=
real(rhs)
703 logical function ge_ir(lhs, rhs)
704 integer,
intent(in) :: lhs
705 real*8,
intent(in) :: rhs
708 logical function ge_ri(lhs, rhs)
709 real*8,
intent(in) :: lhs
710 integer,
intent(in) :: rhs
715 logical function eq_cc(lhs, rhs)
716 complex*16,
intent(in) :: lhs, rhs
717 eq_cc =
real(lhs) == real(rhs)
719 logical function eq_rr(lhs, rhs)
720 real*8,
intent(in) :: lhs, rhs
723 logical function eq_ii(lhs, rhs)
724 integer,
intent(in) :: lhs, rhs
727 logical function eq_aa(lhs, rhs)
728 character(len=*),
intent(in) :: lhs, rhs
731 logical function eq_cr(lhs, rhs)
732 complex*16,
intent(in) :: lhs
733 real*8,
intent(in) :: rhs
734 eq_cr =
real(lhs) == rhs
736 logical function eq_rc(lhs, rhs)
737 real*8,
intent(in) :: lhs
738 complex*16,
intent(in) :: rhs
739 eq_rc = lhs ==
real(rhs)
741 logical function eq_ci(lhs, rhs)
742 complex*16,
intent(in) :: lhs
743 integer,
intent(in) :: rhs
744 eq_ci =
real(lhs) == rhs
746 logical function eq_ic(lhs, rhs)
747 integer,
intent(in) :: lhs
748 complex*16,
intent(in) :: rhs
749 eq_ic = lhs ==
real(rhs)
751 logical function eq_ir(lhs, rhs)
752 integer,
intent(in) :: lhs
753 real*8,
intent(in) :: rhs
756 logical function eq_ri(lhs, rhs)
757 real*8,
intent(in) :: lhs
758 integer,
intent(in) :: rhs
763 logical function ne_cc(lhs, rhs)
764 complex*16,
intent(in) :: lhs, rhs
765 ne_cc =
real(lhs) /= real(rhs)
767 logical function ne_rr(lhs, rhs)
768 real*8,
intent(in) :: lhs, rhs
771 logical function ne_ii(lhs, rhs)
772 integer,
intent(in) :: lhs, rhs
775 logical function ne_aa(lhs, rhs)
776 character(len=*),
intent(in) :: lhs, rhs
779 logical function ne_cr(lhs, rhs)
780 complex*16,
intent(in) :: lhs
781 real*8,
intent(in) :: rhs
782 ne_cr =
real(lhs) /= rhs
784 logical function ne_rc(lhs, rhs)
785 real*8,
intent(in) :: lhs
786 complex*16,
intent(in) :: rhs
787 ne_rc = lhs /=
real(rhs)
789 logical function ne_ci(lhs, rhs)
790 complex*16,
intent(in) :: lhs
791 integer,
intent(in) :: rhs
792 ne_ci =
real(lhs) /= rhs
794 logical function ne_ic(lhs, rhs)
795 integer,
intent(in) :: lhs
796 complex*16,
intent(in) :: rhs
797 ne_ic = lhs /=
real(rhs)
799 logical function ne_ir(lhs, rhs)
800 integer,
intent(in) :: lhs
801 real*8,
intent(in) :: rhs
804 logical function ne_ri(lhs, rhs)
805 real*8,
intent(in) :: lhs
806 integer,
intent(in) :: rhs
complex *16 function max_ccc(val1, val2, val3)
logical function ge_cc(lhs, rhs)
logical function eq_ii(lhs, rhs)
logical function le_ic(lhs, rhs)
logical function eq_cc(lhs, rhs)
complex *16 function max_cc(val1, val2)
logical function lt_rc(lhs, rhs)
complex *16 function sinh_c(z)
logical function eq_ci(lhs, rhs)
logical function ne_ii(lhs, rhs)
logical function ne_aa(lhs, rhs)
complex *16 function atan2_cc(csn, ccs)
logical function lt_ic(lhs, rhs)
logical function ge_ir(lhs, rhs)
logical function gt_ic(lhs, rhs)
complex *16 function min_cr(val1, val2)
logical function ge_aa(lhs, rhs)
complex *16 function min_rc(val1, val2)
logical function gt_cc(lhs, rhs)
complex *16 function dim_cr(val1, val2)
logical function eq_rc(lhs, rhs)
integer function nint_c(z)
logical function ne_ic(lhs, rhs)
complex *16 function max_cr(val1, val2)
complex *16 function sign_rc(val1, val2)
complex *16 function min_cccc(val1, val2, val3, val4)
logical function eq_ic(lhs, rhs)
logical function le_ci(lhs, rhs)
logical function gt_cr(lhs, rhs)
complex *16 function tanh_c(a)
logical function eq_ri(lhs, rhs)
complex *16 function log10_c(z)
complex *16 function dim_cc(val1, val2)
logical function ge_cr(lhs, rhs)
logical function ge_ri(lhs, rhs)
logical function ne_cc(lhs, rhs)
logical function ne_ci(lhs, rhs)
complex *16 function sign_cc(val1, val2)
logical function eq_rr(lhs, rhs)
complex *16 function acos_c(z)
logical function gt_rc(lhs, rhs)
complex *16 function sign_cr(val1, val2)
logical function ge_ic(lhs, rhs)
logical function ne_rc(lhs, rhs)
complex *16 function min_cc(val1, val2)
logical function ne_cr(lhs, rhs)
logical function ge_rr(lhs, rhs)
logical function ge_ci(lhs, rhs)
logical function ne_ri(lhs, rhs)
logical function le_cr(lhs, rhs)
logical function ne_rr(lhs, rhs)
complex *16 function asin_c(z)
logical function ne_ir(lhs, rhs)
logical function ge_ii(lhs, rhs)
logical function lt_cc(lhs, rhs)
logical function le_rc(lhs, rhs)
complex *16 function max_rc(val1, val2)
logical function gt_ci(lhs, rhs)
complex *16 function min_ccc(val1, val2, val3)
logical function ge_rc(lhs, rhs)
complex *16 function abs_c(val)
logical function le_cc(lhs, rhs)
complex *16 function cosh_c(z)
complex *16 function atan_c(z)
logical function eq_ir(lhs, rhs)
complex *16 function dim_rc(val1, val2)
complex *16 function epsilon_c(z)
complex *16 function tan_c(z)
complex *16 function max_cccc(val1, val2, val3, val4)
logical function eq_aa(lhs, rhs)
logical function lt_ci(lhs, rhs)
logical function lt_cr(lhs, rhs)
logical function eq_cr(lhs, rhs)