Clicky

Fortran Wiki
matmul (changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #2 to #3: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

Performs a matrix multiplication on numeric or logical arguments.

Standard

Fortran 95 and later

Class

Transformational function

Syntax

result = matmul(matrix_a, matrix_b)

Arguments

  • matrix_a - An array of integer, real, complex, or logical type, with a rank of one or two.
  • matrix_b - An array of integer, real, or complex type if matrix_a is of a numeric type; otherwise, an array of logical type. The rank shall be one or two, and the first (or only) dimension of matrix_b shall be equal to the last (or only) dimension of matrix_a .(追記) matrix_a (追記ここまで)(追記) and (追記ここまで)(追記) matrix_b (追記ここまで)(追記) shall not both be rank one arrays. (追記ここまで)

Return value

The matrix product of matrix_a and matrix_b. The type and kind of the result follow the usual type and kind promotion rules, as for the * or .and. operators.

category: intrinsics

Revised on March 16, 2018 14:43:13 by Jason Blevins (128.146.137.52) (874 characters / 0.0 pages)
Edit | Back in time (2 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures

AltStyle によって変換されたページ (->オリジナル) /