More Commonly Misspelled Words Words You Always Have to Look Up Your vs. You're: How to Use Them Correctly Popular in Wordplay See All More Words with Remarkable Origins 12 Words Whose History Will Surprise You 8 Words for Lesser-Known Musical Instruments ...
在数值模式中,会经常要用到一些实体(entities),它们比单个变量或由同类型变量组成的数组更加复杂。为了能搞满足这种需求,Fortran支持了用户定义类型(user-defined types)(也叫派生数据类型(Derived Data Types (DTS)或absctact data types (ADTS))。这提供了将不同类型的实体打包成一个逻辑单元的方法,这类似于传统...
在上例中,用户在禁止对编译器可能尝试的例程 zpoint() 进行任何可能的内联的同时,还启用了 -O4 级别的自动内联。 3.4.49 –iorounding[ ={compatible|processor-defined}] 为格式化输入/输出设置浮点舍入模式。 以全局方式为所有的格式化输入/输出运算设置 ROUND= 说明符。 如果使用 -iorounding=compatible,数据转...
/tmp/ccy4yDLX.o: In function `output_': Hjdk.for:(.text+0xc3): relocation truncated to fit: R_X86_64_32S against symbol `sol_' defined in COMMON section in /tmp/ccy4yDLX.o Hjdk.for:(.text+0xfa): relocation truncated to fit: R_X86_64_32S against symbol `sol_' defined in CO...
ROUND=[’PROCESSOR_DEFINED’|’COMPATIBLE’] 为格式化 I/OD、E、EN、ES、F和G编辑设置缺省舍入模式。如果使用'COMPATIBLE',数据转换后的值是与两个近似值较近的那个值,如果值正好在两者中间,则是离 0 远的值。如果使用'PROCESSOR_DEFINED',舍入模式取决于处理器的缺省模式,如果未指定ROUND,则为编译器缺省设...
1.Fortran函数是这样一个过程:它的结果只能是单个数值、逻辑值、字符串或数组之一。有两种不同类型的函数:内部函数(intrinsic function)和用户自定义的函数(user-defined function,或函数子程序function subprograms)。其中内部函数即是指Fortran自带的SIN(X)、LOG(X)等。
A recursive function may reference itself, directly or indirectly; a pure function has no side effects; and an elemental function is defined in terms of scalars but may be referenced for arrays. An example of a function statement is REAL FUNCTION minimum(a, b, func) where a, b, and func...
Arithmetic operations and functions of Taylor series can be defined easily by FORTRAN 90 and C++program language. Using this, it is shown that asymptotic e... 平山,弘 - 日本応用数理学会論文誌 被引量: 0发表: 1997年 FORTRAN応用:機械要素設計·設計製図·生産技術 Arithmetic operations and functions...
The result is an array the same data type and kind assourceand a shape as defined inshape. Examples INTEGER AR1( 2, 5) REAL F(5,3,8) REAL C(8,3,5) AR1 = RESHAPE((/1,2,3,4,5,6/),(/2,5/),(/0,0/),(/2,1/)) ! returns 1 2 3 4 5 ! 6 0 0 0 0 ! ! Chang...
Reshapes SOURCE to correspond to SHAPE. If necessary, the new array may be padded with elements from PAD or permuted as defined by ORDER. RESHAPE ((/3, 4, 5, 6, 7, 8/), (/2, 3/)) has the value [ 3 5 7 ] [ 4 6 8 ].RESHAPE ((/3, 4, 5, 6, 7, 8/), (/2, 4...