ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ModuleBase::matrixCopy< T, Device > Struct Template Reference

#include <math_kernel_op.h>

Collaboration diagram for ModuleBase::matrixCopy< T, Device >:

Public Member Functions

void operator() (const int &n1, const int &n2, const T *A, const int &LDA, T *B, const int &LDB)
 copy matrix A to B, they can have different leading dimensions
 

Member Function Documentation

◆ operator()()

template<typename T , typename Device >
void ModuleBase::matrixCopy< T, Device >::operator() ( const int &  n1,
const int &  n2,
const T A,
const int &  LDA,
T B,
const int &  LDB 
)

copy matrix A to B, they can have different leading dimensions

Input Parameters

Parameters
n1: first dimension of matrix
n2: second dimension of matrix
A: input matrix A
LDA: leading dimension of A
LDB: leading dimension of B

Output Parameters

Parameters
B: output matrix B

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