我要评分
获取效率
正确性
完整性
易理解

KesVectorReplicate

Interface Definition

KesReturnCode KesVectorReplicate(const KesVector X, KesVector *replicateX, bool toAllocateMem, bool toCopyData);

Interface Description

Replicates a vector.

Parameters

Parameter

Type

Description

Input/Output

X

const KesVector

Handle to the vector. It cannot be a null pointer.

Input

replicateX

KesVector *

The vector to be created. Its communicator and dimension are the same as those of X.

Output

toAllocateMem

bool

Specifies whether to allocate memory to replicateX.

Input

toCopyData

bool

Specifies whether to copy the data of X to replicateX.

Input