(git:c5411e0)
Loading...
Searching...
No Matches
ai_contraction::block_add Interface Reference

Public Member Functions

subroutine block_add_ab (dir, sab, na, nb, qab, ia, ib, trans)
 Copy a block out of a matrix and add it to another matrix SAB = SAB + QAB or QAB = QAB + SAB QAB(ia:,ib:) and SAB(1:,1:)
 

Detailed Description

Definition at line 43 of file ai_contraction.F.

Member Function/Subroutine Documentation

◆ block_add_ab()

subroutine ai_contraction::block_add::block_add_ab ( character(len=*), intent(in)  dir,
real(kind=dp), dimension(:, :), intent(inout)  sab,
integer, intent(in)  na,
integer, intent(in)  nb,
real(kind=dp), dimension(:, :), intent(inout)  qab,
integer, intent(in)  ia,
integer, intent(in)  ib,
logical, intent(in), optional  trans 
)

Copy a block out of a matrix and add it to another matrix SAB = SAB + QAB or QAB = QAB + SAB QAB(ia:,ib:) and SAB(1:,1:)

Parameters
dir"IN" and "OUT" defines direction of copy
sabMatrix input for "IN", output for "OUT"
nafirst dimension of matrix to copy
nbsecond dimension of matrix to copy
qabMatrix output for "IN", input for "OUT" Use subblock of this matrix
iaStarting index in qab first dimension
ibStarting index in qab second dimension
transMatrices (qab and sab) are transposed

Definition at line 415 of file ai_contraction.F.


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