Octopus
lalg_basic_oct_m::lalg_gemm Interface Reference

Matrix-matrix multiplication plus matrix. More...

Detailed Description

Matrix-matrix multiplication plus matrix.

Definition at line 227 of file lalg_basic.F90.

Private Member Functions

subroutine gemm_1_2 (m, n, k, alpha, a, b, beta, c)
 
subroutine gemm_1_4 (m, n, k, alpha, a, b, beta, c)
 
subroutine gemm_2_2 (m1, m2, n, k, alpha, a, b, beta, c)
 
subroutine gemm_2_4 (m1, m2, n, k, alpha, a, b, beta, c)
 
subroutine dgemm_simple (a, b, c, transa, transb, alpha, beta)
 GEMM with a simplified API for two matrices of consistent shape and type. More...
 

Member Function/Subroutine Documentation

◆ gemm_1_2()

subroutine lalg_basic_oct_m::lalg_gemm::gemm_1_2 ( integer, intent(in)  m,
integer, intent(in)  n,
integer, intent(in)  k,
real(real64), intent(in)  alpha,
real(real64), dimension(:,:), intent(in), contiguous  a,
real(real64), dimension(:,:), intent(in), contiguous  b,
real(real64), intent(in)  beta,
real(real64), dimension(:,:), intent(inout), contiguous  c 
)
private

BLAS level III

Matrix-matrix multiplication plus matrix.

Definition at line 909 of file lalg_basic.F90.

◆ gemm_1_4()

subroutine lalg_basic_oct_m::lalg_gemm::gemm_1_4 ( integer, intent(in)  m,
integer, intent(in)  n,
integer, intent(in)  k,
complex(real64), intent(in)  alpha,
complex(real64), dimension(:,:), intent(in), contiguous  a,
complex(real64), dimension(:,:), intent(in), contiguous  b,
complex(real64), intent(in)  beta,
complex(real64), dimension(:,:), intent(inout), contiguous  c 
)
private

BLAS level III

Matrix-matrix multiplication plus matrix.

Definition at line 1866 of file lalg_basic.F90.

◆ gemm_2_2()

subroutine lalg_basic_oct_m::lalg_gemm::gemm_2_2 ( integer, intent(in)  m1,
integer, intent(in)  m2,
integer, intent(in)  n,
integer, intent(in)  k,
real(real64), intent(in)  alpha,
real(real64), dimension(:, :, :), intent(in), contiguous  a,
real(real64), dimension(:, :), intent(in), contiguous  b,
real(real64), intent(in)  beta,
real(real64), dimension(:, :, :), intent(inout), contiguous  c 
)
private
Parameters
[in]aa(m1, m2, k)
[in]bb(k, n)
[in,out]cc(m1, m2, n)

Definition at line 930 of file lalg_basic.F90.

◆ gemm_2_4()

subroutine lalg_basic_oct_m::lalg_gemm::gemm_2_4 ( integer, intent(in)  m1,
integer, intent(in)  m2,
integer, intent(in)  n,
integer, intent(in)  k,
complex(real64), intent(in)  alpha,
complex(real64), dimension(:, :, :), intent(in), contiguous  a,
complex(real64), dimension(:, :), intent(in), contiguous  b,
complex(real64), intent(in)  beta,
complex(real64), dimension(:, :, :), intent(inout), contiguous  c 
)
private
Parameters
[in]aa(m1, m2, k)
[in]bb(k, n)
[in,out]cc(m1, m2, n)

Definition at line 1887 of file lalg_basic.F90.

◆ dgemm_simple()

subroutine lalg_basic_oct_m::lalg_gemm::dgemm_simple ( real(real64), dimension(:,:), intent(in), contiguous  a,
real(real64), dimension(:,:), intent(in), contiguous  b,
real(real64), dimension(:,:), intent(inout), contiguous  c,
character(len=1), intent(in), optional  transa,
character(len=1), intent(in), optional  transb,
real(real64), intent(in), optional  alpha,
real(real64), intent(in), optional  beta 
)
private

GEMM with a simplified API for two matrices of consistent shape and type.

GEMM performs one of the matrix-matrix operations:

c := alpha*op( a )*op( b ) + beta*c,

where op( X ) is one of:

op( x ) = x or op( x ) = x**t
either or(at your option) !! any later version. !! !! This program is distributed in the hope that it will be useful

operating on all elements of both matrices. If all defaults are used, the routine performs \(C = A B\). See the official [lapack](https: documentation for more details.

Parameters
[in,out]cIf not summing to c, it does not need to be
[in]transbTranspose a and b
[in]alphaScale the product, op( A )*op( B )
[in]betaScale input value of c.

Definition at line 285 of file lalg_basic.F90.


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