Rate This Document
Findability
Accuracy
Completeness
Readability

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