Searched defs:_VecOps (Results 1 – 1 of 1) sorted by relevance
| /petsc/include/petsc/private/ |
| H A D | vecimpl.h | 18 struct _VecOps { struct 19 …rrorCode (*duplicate)(Vec, Vec *); /* get single vector */ 20 …rCode (*duplicatevecs)(Vec, PetscInt, Vec **); /* get array of vectors */ 21 …Code (*destroyvecs)(PetscInt, Vec[]); /* free array of vectors */ 22 …PetscErrorCode (*dot)(Vec, Vec, PetscScalar *); /* z = x^H * y */ 23 …rrorCode (*mdot)(Vec, PetscInt, const Vec[], PetscScalar *); /* z[j] = x dot y[j] */ 24 …rrorCode (*norm)(Vec, NormType, PetscReal *); /* z = sqrt(x^H * x) */ 25 PetscErrorCode (*tdot)(Vec, Vec, PetscScalar *); /* x'*y */ 26 …rrorCode (*mtdot)(Vec, PetscInt, const Vec[], PetscScalar *); /* z[j] = x dot y[j] */ 27 …cErrorCode (*scale)(Vec, PetscScalar); /* x = alpha * x */ [all …]
|