Loading...
Searching...
No Matches
dc_scaledsec::sign Interface Reference

Public Member Functions

type(dc_scaled_sec) function dcscaledsec_sign_si (sclsec, factor)
type(dc_scaled_sec) function dcscaledsec_sign_sr (sclsec, factor)
type(dc_scaled_sec) function dcscaledsec_sign_sd (sclsec, factor)
type(dc_scaled_sec) function dcscaledsec_sign_ss (sclsec1, sclsec2)

Detailed Description

Definition at line 180 of file dc_scaledsec.f90.

Member Function/Subroutine Documentation

◆ dcscaledsec_sign_sd()

type(dc_scaled_sec) function dc_scaledsec::sign::dcscaledsec_sign_sd ( type(dc_scaled_sec), intent(in) sclsec,
real(dp), intent(in) factor )

Definition at line 1973 of file dc_scaledsec.f90.

1974 !
1975 ! sclsec の絶対値に factor の符号をつけたものを返す.
1976 !
1977 ! Return an absolute value of "sclsec" with sign of "factor".
1978 !
1979 implicit none
1980 type(DC_SCALED_SEC), intent(in):: sclsec
1981 real(DP), intent(in):: factor
1982 type(DC_SCALED_SEC):: sclsec_work
1983 continue
1984 sclsec_work = factor
1985 result = sign( sclsec, sclsec_work )

◆ dcscaledsec_sign_si()

type(dc_scaled_sec) function dc_scaledsec::sign::dcscaledsec_sign_si ( type(dc_scaled_sec), intent(in) sclsec,
integer, intent(in) factor )

Definition at line 1939 of file dc_scaledsec.f90.

1940 !
1941 ! sclsec の絶対値に factor の符号をつけたものを返す.
1942 !
1943 ! Return an absolute value of "sclsec" with sign of "factor".
1944 !
1945 implicit none
1946 type(DC_SCALED_SEC), intent(in):: sclsec
1947 integer, intent(in):: factor
1948 type(DC_SCALED_SEC):: sclsec_work
1949 continue
1950 sclsec_work = factor
1951 result = sign( sclsec, sclsec_work )

◆ dcscaledsec_sign_sr()

type(dc_scaled_sec) function dc_scaledsec::sign::dcscaledsec_sign_sr ( type(dc_scaled_sec), intent(in) sclsec,
real, intent(in) factor )

Definition at line 1956 of file dc_scaledsec.f90.

1957 !
1958 ! sclsec の絶対値に factor の符号をつけたものを返す.
1959 !
1960 ! Return an absolute value of "sclsec" with sign of "factor".
1961 !
1962 implicit none
1963 type(DC_SCALED_SEC), intent(in):: sclsec
1964 real, intent(in):: factor
1965 type(DC_SCALED_SEC):: sclsec_work
1966 continue
1967 sclsec_work = factor
1968 result = sign( sclsec, sclsec_work )

◆ dcscaledsec_sign_ss()

type(dc_scaled_sec) function dc_scaledsec::sign::dcscaledsec_sign_ss ( type(dc_scaled_sec), intent(in) sclsec1,
type(dc_scaled_sec), intent(in) sclsec2 )

Definition at line 1924 of file dc_scaledsec.f90.

1925 !
1926 ! sclsec1 の絶対値に sclsec2 の符号をつけたものを返す.
1927 !
1928 ! Return an absolute value of "sclsec1" with sign of "sclsec2".
1929 !
1930 implicit none
1931 type(DC_SCALED_SEC), intent(in):: sclsec1, sclsec2
1932 continue
1933 result = sclsec1
1934 result % flag_negative = sclsec2 % flag_negative

The documentation for this interface was generated from the following file: