/dports/science/py-pyscf/pyscf-2.0.1/pyscf/lib/ |
H A D | numpy_helper.py | 162 err = ('ERROR: In index string %s, the range of index %s is ' 165 raise ValueError(err) 765 ci = ddot(a, numpy.asarray(b.imag, order=order), alpha) 769 ab.imag = ci 773 ab.imag += ci 782 ci = ddot(numpy.asarray(a.imag, order=order), b, alpha) 786 ab.imag = ci 790 ab.imag += ci 855 (ctypes.c_double*2)(alpha.real, alpha.imag), 856 (ctypes.c_double*2)(beta.real, beta.imag))
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/pbc/df/ |
H A D | aft.py | 190 vj[k] += numpy.einsum('k,kx->x', vG[p0:p1].imag, aoao.imag) 362 err = numpy.exp(-0.436392335*min(self.mesh[cell.dimension:]) - 2.99944305) 363 err *= cell.nelectron 366 if err > cell.precision*10: 371 self.mesh, cell.precision, cell.dimension, err, mesh_guess) 441 pqkI[:] = aoao[i0:i1].imag.T 446 pqkI[:] = aoao[i0:i1].imag.transpose(0,2,1)
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/langtools/tools/javac/processing/model/element/ |
H A D | TestRecordDesugar.java | 63 int rc = javac.run(System.out, System.err, options.toArray(new String[0])); in main() 370 record ComplexCartesian(double real, double imag) implements ComplexNumber { 372 public ComplexCartesian(double real, double imag) { in ComplexCartesian() argument 374 this.imag = imag; in ComplexCartesian() 379 return StrictMath.hypot(real, imag); in modulus() 387 if (Double.isInfinite(real) || Double.isInfinite(imag)) in proj() 403 projThis.imag == projThat.imag; in equals()
|
/dports/lang/racket/racket-8.3/share/pkgs/htdp-lib/2htdp/private/ |
H A D | image-more.rkt | 4 "img-err.rkt" 1070 (make-point (real-part right-corner) (imag-part right-corner)) 1071 (make-point (real-part bottom-corner) (imag-part bottom-corner)) 1072 (make-point (real-part left-corner) (imag-part left-corner))) 1213 (make-point (real-part right-corner) (imag-part right-corner)) 1214 (make-point (real-part left-corner) (imag-part left-corner))) 1423 [else (cons (build-pulled-point pull angle (real-part p) (imag-part p) pull (- angle))
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/langtools/tools/javac/processing/model/element/ |
H A D | TestRecordDesugar.java | 60 int rc = javac.run(System.out, System.err, options.toArray(new String[0])); in main() 367 record ComplexCartesian(double real, double imag) implements ComplexNumber { 369 public ComplexCartesian(double real, double imag) { in ComplexCartesian() argument 371 this.imag = imag; in ComplexCartesian() 376 return StrictMath.hypot(real, imag); in modulus() 384 if (Double.isInfinite(real) || Double.isInfinite(imag)) in proj() 400 projThis.imag == projThat.imag; in equals()
|
/dports/math/octave/octave-6.4.0/libinterp/corefcn/ |
H A D | ls-mat4.cc | 155 swap_bytes<4> (&imag); in read_mat_file_header() 159 if (mopt > 9999 || mopt < 0 || imag > 1 || imag < 0) in read_mat_file_header() 238 int32_t mopt, nr, nc, imag, len; in read_mat_binary_data() local 240 int err = read_mat_file_header (is, swap, mopt, nr, nc, imag, len); in read_mat_binary_data() local 241 if (err) in read_mat_binary_data() 243 if (err < 0) in read_mat_binary_data() 268 if (imag && type == 1) in read_mat_binary_data() 361 if (imag) in read_mat_binary_data() 430 int32_t imag = (tc.iscomplex () ? 1 : 0); in save_mat_binary_data() local 513 dtmp[i] = std::imag (m.data (i)); in save_mat_binary_data() [all …]
|
H A D | load-save.cc | 1099 int32_t mopt, nr, nc, imag, len; in get_file_format() local 1101 int err = read_mat_file_header (file, swap, mopt, nr, nc, imag, len, in get_file_format() local 1104 if (! err) in get_file_format() 1111 err = read_mat5_binary_file_header (file, swap, true, filename); in get_file_format() 1113 if (! err) in get_file_format()
|
/dports/math/octave/octave-6.4.0/m4/ |
H A D | acinclude.m4 | 1865 const char *err; 1867 pcre *data = pcre_compile (pattern, PCRE_UTF8, &err, &erroffset, nullptr); 2870 x.imag () = 1.0; 2878 [Define to 1 if C++ complex class has T& real (void) and T& imag (void) methods.]) 2894 x.imag (2.0); 2901 [Define to 1 if C++ complex class has void real (T) and void imag (T) methods.])
|
/dports/math/octave/octave-6.4.0/liboctave/numeric/ |
H A D | lo-specfun.cc | 137 double zi = z.imag (); in airy() 214 float ai = a.imag (); in airy() 306 double zi = z.imag (); in zbesj() 1383 double zi = z.imag (); in ALL_BESSEL() 1460 float ai = a.imag (); in biry() 1536 ellipj (double u, double m, double& sn, double& cn, double& dn, double& err) in ellipj() argument 1592 err = 1; in ellipj() 1610 double& err) in ellipj() argument 1614 ellipj (u.imag (), m1, ss1, cc1, dd1, err); in ellipj() 1627 ellipj (u.real (), m, ss, cc, dd, err); in ellipj() [all …]
|
/dports/math/octave/octave-6.4.0/doc/interpreter/ |
H A D | plot.texi | 1386 @deftypefnx {} {} errorbar (@var{x}, @var{y}, @var{err}, @var{fmt}) 1419 @item @var{err} (scalar) 1421 The errorbars are symmetric and are drawn from @var{data}-@var{err} to 1422 @var{data}+@var{err}. 1426 @item @var{err} (vector or matrix) 1429 @var{data}(n)+@var{err}(n). 1535 @deftypefnx {} {} semilogxerr (@var{x}, @var{y}, @var{err}, @var{fmt}) 1570 @deftypefnx {} {} semilogyerr (@var{x}, @var{y}, @var{err}, @var{fmt}) 1605 @deftypefnx {} {} loglogerr (@var{x}, @var{y}, @var{err}, @var{fmt}) 2105 then @code{@var{u} = real (@var{z})} and @code{@var{v} = imag (@var{z})}. [all …]
|
H A D | arith.texi | 365 @xseealso{@ref{XREFreal,,real}, @ref{XREFimag,,imag}} 403 @c imag libinterp/corefcn/mappers.cc 405 @deftypefn {} {} imag (@var{z}) 415 @xseealso{@ref{XREFimag,,imag}, @ref{XREFconj,,conj}} 959 @code{ceil (real (@var{x})) + ceil (imag (@var{x})) * I}. 977 @code{fix (real (@var{x})) + fix (imag (@var{x})) * I}. 1799 multiplied by @w{@code{exp (-abs (imag (@var{x})))}}. 1848 multiplied by @w{@code{exp (-abs (imag (@var{x})))}}. 2419 @deftypefn {} {[@var{sn}, @var{cn}, @var{dn}, @var{err}] =} ellipj (@var{u}, @var{m}) 2420 @deftypefnx {} {[@var{sn}, @var{cn}, @var{dn}, @var{err}] =} ellipj (@var{u}, @var{m}, @var{tol}) [all …]
|
H A D | octave.info-2 | 6975 catch err 6976 warning(err.identifier, err.message); 7528 ‘Octave:imag-to-real’ 7529 If the ‘Octave:imag-to-real’ warning is enabled, a warning is 7531 numbers. By default, the ‘Octave:imag-to-real’ warning is
|
H A D | doc-cache | 6670 See also: real, imag, iscomplex, abs, arg. 15729 If X is complex, return ‘ceil (real (X)) + ceil (imag (X)) * I’. 15762 See also: real, imag. 16225 imag 16232 -- : imag (Z) 16775 See also: imag, conj. 21505 [info, err, msg] = stat ("/vmlinuz") 21523 ⇒ err = 0 29119 [err, a, b] = common_size ([1 2; 3 4], 5) 29120 ⇒ err = 0 [all …]
|
H A D | errors.texi | 316 catch err 317 warning(err.identifier, err.message); 326 @deftypefnx {} {} lasterror (@var{err}) 362 @var{err}, as input. Any fields of @var{err} that match those above are 469 @deftypefn {} {} rethrow (@var{err}) 484 @deftypefn {} {@var{err} =} errno () 485 @deftypefnx {} {@var{err} =} errno (@var{val}) 486 @deftypefnx {} {@var{err} =} errno (@var{name}) 955 @item Octave:imag-to-real 956 If the @code{Octave:imag-to-real} warning is enabled, a warning is [all …]
|
/dports/math/octave/octave-6.4.0/etc/OLD-ChangeLogs/ |
H A D | ChangeLog.1 | 4304 * src/tree-const.cc: Call ::real and ::imag, not just real and imag, 5373 * scripts/perror.m: Use err, not info for fsolve section.
|
H A D | liboctave-ChangeLog | 2962 NDArray::isfinite, real, imag): Use new constructs. 4888 * dMatrix.cc (real, imag, Matrix::abs): Simplify. 4895 * dNDArray.cc (real, imag, NDArray::abs): Simplify. 5838 * regex-match.cc (regex_match::init): Initialize err to 0. 8911 (imag (const SparseComplexMatrix&)): Likewise. 8915 (imag (const ComplexColumnVector&)): Likewise. 8919 (imag (const ComplexNDArray&)): Likewise. 8924 (imag (const ComplexMatrix&)): Likewise. 10643 * lo-mappers.cc (imag): Likewise. 10718 * dNDArray.cc (real, imag): New functions. [all …]
|
/dports/math/octave/octave-6.4.0/ |
H A D | ChangeLog | 19382 cosint improve signed zero imag input near branch cut 19885 err/j4save.f liboctave/cruft/slatec-err/module.mk 19887 err/xercnt.f liboctave/cruft/slatec-err/xerhlt.f 19889 err/xerprn.f liboctave/cruft/slatec-err/xerrwd.f 19891 err/xgetf.f liboctave/cruft/slatec-err/xgetua.f 33477 err/ixsav.f libcruft/slatec-err/j4save.f libcruft/slatec- 33478 err/module.mk libcruft/slatec-err/xerclr.f libcruft/slatec- 33479 err/xercnt.f libcruft/slatec-err/xerhlt.f libcruft/slatec- 33480 err/xermsg.f libcruft/slatec-err/xerprn.f libcruft/slatec- 33481 err/xerrwd.f libcruft/slatec-err/xersve.f libcruft/slatec- [all …]
|
/dports/math/octave/octave-6.4.0/libinterp/parse-tree/ |
H A D | pt-jit.cc | 1497 llvm::Value *imag = llvm::ConstantFP::get (scalar_t, value.imag ()); in visit() local 1498 cc.stash_llvm (jit_typeinfo::create_complex (real, imag)); in visit() 2133 std::string err; in create_new_engine() local 2136 .setErrorStr (&err) in create_new_engine() 2145 error ("failed to create JIT engine: %s", err.c_str ()); in create_new_engine()
|
/dports/math/octave/octave-6.4.0/liboctave/array/ |
H A D | CSparse.cc | 1231 err = 0; in dsolve() 1291 err = 0; in dsolve() 1381 err = 0; in dsolve() 1441 err = 0; in dsolve() 1531 err = 0; in utsolve() 1761 err = 0; in utsolve() 2042 err = 0; in utsolve() 2272 err = 0; in utsolve() 2554 err = 0; in ltsolve() 2804 err = 0; in ltsolve() [all …]
|
H A D | dSparse.cc | 575 imag (const SparseComplexMatrix& a) in imag() function 587 r.data (i) = std::imag (a.data (i)); in imag() 1169 err = 0; in dsolve() 1228 err = 0; in dsolve() 4196 Bz[i] = c.imag (); in trisolve() 5007 Bz[i] = c.imag (); in bsolve() 5171 Bz[i] = c.imag (); in bsolve() 5337 Bz[i] = c.imag (); in bsolve() 5534 Bz[b.ridx (i)] = c.imag (); in bsolve() 6390 Bz[i] = c.imag (); in fsolve() [all …]
|
H A D | dSparse.h | 126 friend OCTAVE_API SparseMatrix imag (const SparseComplexMatrix& a); 264 void * factorize (octave_idx_type& err, double& rcond, Matrix& Control, 444 extern OCTAVE_API SparseMatrix imag (const SparseComplexMatrix& a);
|
/dports/math/octave/octave-6.4.0/scripts/testfun/ |
H A D | assert.m | 115 err.index = {}; 116 err.observed = {}; 117 err.expected = {}; 118 err.reason = {}; 225 err.index{end+1} = "."; 268 | isna (imag (A)) != isna (imag (B))); 283 | isnan (imag (A)) != isnan (imag (B))); 299 | ((isinf (imag (A)) | isinf (imag (B))) ... 300 & (imag (A) != imag (B))); 322 A_null_imag = imag (A); [all …]
|
/dports/math/octave/octave-6.4.0/scripts/ode/ |
H A D | ode45.m | 309 %! err(i) = norm (y .* exp (t) - 1, Inf); 314 %! h, err, "-b", 319 %! ylabel ("err(h)"); 325 %! p = diff (log (err)) ./ diff (log (h)) 513 %! assert (imag (sol.y), ones (size (sol.y))) 515 %! assert (imag (y), ones (size (y)))
|
H A D | ode23.m | 309 %! err(i) = norm (y .* exp (t) - 1, Inf); 314 %! h, err, "-b", 319 %! ylabel ("err(h)"); 325 %! p = diff (log (err)) ./ diff (log (h)) 500 %! assert (imag (sol.y), ones (size (sol.y))) 502 %! assert (imag (y), ones (size (y)))
|
H A D | ode23s.m | 330 %! err(i) = norm (y .* exp (t) - 1, Inf); 335 %! h, err, "-b", 340 %! ylabel ("err(h)"); 346 %! p = diff (log (err)) ./ diff (log (h)) 498 %! assert (imag (sol.y), ones (size (sol.y))) 500 %! assert (imag (y), ones (size (y)))
|