Searched refs:imag (Results 1 – 10 of 10) sorted by relevance
| /petsc/src/dm/tests/ |
| H A D | ex36.c | 9 PetscReal imag; member 16 r = PetscSqrtReal(a.real * a.real + a.imag * a.imag); in CCmplxPow() 17 theta = PetscAtan2Real(a.imag, a.real); in CCmplxPow() 19 b.imag = PetscPowReal(r, n) * PetscSinReal(n * theta); in CCmplxPow() 25 b.real = PetscExpReal(a.real) * PetscCosReal(a.imag); in CCmplxExp() 26 b.imag = PetscExpReal(a.real) * PetscSinReal(a.imag); in CCmplxExp() 33 r = PetscSqrtReal(a.real * a.real + a.imag * a.imag); in CCmplxSqrt() 34 theta = PetscAtan2Real(a.imag, a.real); in CCmplxSqrt() 36 b.imag = PetscSqrtReal(r) * PetscSinReal(0.5 * theta); in CCmplxSqrt() 43 b.imag = a.imag + c.imag; in CCmplxAdd() [all …]
|
| /petsc/share/petsc/datafiles/matrices/ |
| H A D | tiny_system_with_x0_complex.mat | 9 �real ?@44�imag… 11 …�real ?@44�imag…
|
| /petsc/include/ |
| H A D | petsccxxcomplexfix.h | 114 return rhs.imag() == PetscReal(0) && rhs.real() == PetscReal(lhs); 120 return lhs.imag() == PetscReal(0) && lhs.real() == PetscReal(rhs); 126 return rhs.imag() != PetscReal(0) || rhs.real() != PetscReal(lhs); 132 return lhs.imag() != PetscReal(0) || lhs.real() != PetscReal(rhs);
|
| H A D | petscmath.h | 215 #define PetscImaginaryPartComplex(a) (static_cast<PetscComplex>(a)).imag()
|
| /petsc/src/binding/petsc4py/src/petsc4py/include/petsc4py/ |
| H A D | pyscalar.h | 29 PetscReal b = (PetscReal)cval.imag; in PyPetscScalar_AsPetscScalar()
|
| /petsc/share/petsc/matlab/ |
| H A D | PetscBinaryWrite.m | 73 si = imag(s); 89 si = imag(A);
|
| /petsc/src/mat/tests/ |
| H A D | mmio.c | 225 int mm_read_mtx_crd_entry(FILE *f, int *ia, int *ja, double *real, double *imag, MM_typecode matcod… in mm_read_mtx_crd_entry() argument 228 if (fscanf(f, "%d %d %lg %lg", ia, ja, real, imag) != 4) return MM_PREMATURE_EOF; in mm_read_mtx_crd_entry()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vinv.c | 1411 const PetscReal imag = PetscImaginaryPart(x); in ScalarImaginaryPart_Function() local 1414 return PetscCMPLX(imag, 0.0); in ScalarImaginaryPart_Function() 1416 return imag; in ScalarImaginaryPart_Function()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | KSP.pyx | 2119 eigen.imag = i[:neig]
|
| /petsc/doc/ |
| H A D | petsc.bib | 7372 url = {http://www-id.imag.fr/\~{ }allardj/files/ipts2002.pdf},
|