Home
last modified time | relevance | path

Searched refs:imaginary (Results 1 – 25 of 146) sorted by relevance

123456

/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
DComplex.java71 private final double imaginary; field in Complex
88 public Complex(double real, double imaginary) { in Complex() argument
91 this.imaginary = imaginary; in Complex()
93 isNaN = Double.isNaN(real) || Double.isNaN(imaginary); in Complex()
95 (Double.isInfinite(real) || Double.isInfinite(imaginary)); in Complex()
117 if (FastMath.abs(real) < FastMath.abs(imaginary)) { in abs()
118 if (imaginary == 0.0) { in abs()
121 double q = real / imaginary; in abs()
122 return FastMath.abs(imaginary) * FastMath.sqrt(1 + q * q); in abs()
125 return FastMath.abs(imaginary); in abs()
[all …]
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/simple_features/
Dsimple_features_generator.cc56 float imaginary = 0; in CalculateDiscreteFourierTransform() local
58 imaginary -= in CalculateDiscreteFourierTransform()
62 fourier_output[(i * 2) + 1] = imaginary; in CalculateDiscreteFourierTransform()
121 const float imaginary = fourier_values[(i * 2) + 1]; in GenerateSimpleFeatures() local
122 power_spectrum[i] = (real * real) + (imaginary * imaginary); in GenerateSimpleFeatures()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/issue1485/
DComplex.java4 private double imaginary; field in Complex
8 imaginary = _imaginary; in Complex()
17 return new Complex(real+arg.getReal(), imaginary+arg.getImaginary()); in add()
25 return imaginary; in getImaginary()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/simple_features/fixed_point/
Dsimple_features_generator.cc95 int32_t imaginary = 0; in CalculateDiscreteFourierTransform() local
99 imaginary -= Q2_30_FixedMultiply_Q10_22(time_series[j], imaginary_scale); in CalculateDiscreteFourierTransform()
102 fourier_output[(i * 2) + 1] = imaginary; in CalculateDiscreteFourierTransform()
169 const int32_t imaginary = fourier_values[(i * 2) + 1]; in GenerateSimpleFeatures() local
172 Q10_22_FixedMultiply_Q10_22(imaginary, imaginary); in GenerateSimpleFeatures()
/external/compiler-rt/lib/builtins/
Dint_types.h156 typedef struct { float real, imaginary; } Fcomplex; member
158 typedef struct { double real, imaginary; } Dcomplex; member
160 typedef struct { long double real, imaginary; } Lcomplex; member
163 #define COMPLEX_IMAGINARY(x) (x).imaginary
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Imag.pbtxt3 summary: "Returns the imaginary part of a complex number."
6 type `float` that is the imaginary part of each element in `input`. All
8 is the real part and *b* is the imaginary part returned by this operation.
Dapi_def_Real.pbtxt8 part returned by this operation and *b* is the imaginary part.
/external/llvm-project/compiler-rt/lib/builtins/
Dint_types.h172 float real, imaginary; member
176 double real, imaginary; member
180 long double real, imaginary; member
184 #define COMPLEX_IMAGINARY(x) (x).imaginary
/external/python/cpython3/Doc/library/
Dcmath.rst30 part* ``z.real`` and its *imaginary part* ``z.imag``. In other
128 ``1j`` along the imaginary axis to ``∞j``, continuous from the right. The
129 other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous
160 One extends from ``1j`` along the imaginary axis to ``∞j``,
162 the imaginary axis to ``-∞j``, continuous from the left.
193 Return ``True`` if both the real and imaginary parts of *x* are finite, and
201 Return ``True`` if either the real or the imaginary part of *x* is an
207 Return ``True`` if either the real or the imaginary part of *x* is a NaN,
272 Complex number with zero real part and positive infinity imaginary
288 Complex number with zero real part and NaN imaginary part. Equivalent to
[all …]
/external/llvm-project/llvm/test/Transforms/LoopVectorize/
Dpr31098.ll12 ; dependence distances between the 8 real/imaginary accesses below:
27 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
28 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
31 ; inline float imaginary() const { return imaginary_; }
Dinterleaved-accesses-1.ll21 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
22 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
25 ; inline float imaginary() const { return imaginary_; }
/external/llvm-project/llvm/test/Analysis/LoopAccessAnalysis/
Dpr31098.ll12 ; dependence distances between the 8 real/imaginary accesses below:
27 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
28 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
31 ; inline float imaginary() const { return imaginary_; }
/external/python/cpython2/Doc/library/
Dcmath.rst30 part* ``z.real`` and its *imaginary part* ``z.imag``. In other
136 ``1j`` along the imaginary axis to ``∞j``, continuous from the right. The
137 other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous
171 One extends from ``1j`` along the imaginary axis to ``∞j``,
173 the imaginary axis to ``-∞j``, continuous from the left.
210 Return ``True`` if the real or the imaginary part of x is positive
218 Return ``True`` if the real or imaginary part of x is not a number (NaN).
244 case the complex number has an imaginary part of zero).
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenConstants.as5 /** imaginary tree navigation type; traverse "get child" link */
7 /** imaginary tree navigation type; finish with a child list */
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlower_complex_patterns.td28 // and imaginary components.
37 // real and imaginary components such that:
80 // sum of sinusoids of the imaginary component, which equates to a normal
/external/eigen/Eigen/src/plugins/
DCommonCwiseUnaryOps.h90 EIGEN_DOC_UNARY_ADDONS(imag,imaginary part function) in EIGEN_DOC_UNARY_ADDONS()
158 EIGEN_DOC_UNARY_ADDONS(imag,imaginary part function) in EIGEN_DOC_UNARY_ADDONS()
/external/llvm-project/llvm/test/Transforms/SROA/
Dmem-par-metadata-sroa.ll13 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
14 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
17 ; inline float imaginary() const { return imaginary_; }
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.as34 /** Tell me how to create a token for use with imaginary token nodes.
35 * For example, there is probably no input symbol associated with imaginary
46 /** Tell me how to create a token for use with imaginary token nodes.
47 * For example, there is probably no input symbol associated with imaginary
/external/llvm/test/MC/Disassembler/Hexagon/
Dxtype_complex.txt46 # Complex multiply real or imaginary
76 # Vector complex multiply real or imaginary
98 # Vector reduce complex multiply real or imaginary
/external/llvm-project/llvm/test/MC/Disassembler/Hexagon/
Dxtype_complex.txt46 # Complex multiply real or imaginary
76 # Vector complex multiply real or imaginary
98 # Vector reduce complex multiply real or imaginary
/external/antlr/runtime/ObjC/Framework/
DCommonTreeAdaptor.m62 /** Tell me how to create a token for use with imaginary token nodes.
63 * For example, there is probably no input symbol associated with imaginary
81 /** Tell me how to create a token for use with imaginary token nodes.
82 * For example, there is probably no input symbol associated with imaginary
DCHANGES.txt9 * Text of imaginary nodes in tree rewrite mode weren't using NSStrings causing a runtime exception
/external/antlr/runtime/ObjC/Framework/examples/polydiff/
DPoly.g6 tokens { MULT; } // imaginary token
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
DLang.g8 tokens {DECL;} // an imaginary node
/external/tensorflow/tensorflow/core/framework/
Dtensor.proto62 // and imaginary parts of i-th single precision complex.
72 // and imaginary parts of i-th double precision complex.

123456