Home
last modified time | relevance | path

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

12345

/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/webrtc/talk/media/devices/
Ddummydevicemanager_unittest.cc85 const std::string imaginary("_NOT A REAL DEVICE_"); in TEST() local
88 audio_ins.push_back(Device(imaginary, imaginary)); in TEST()
89 audio_outs.push_back(Device(imaginary, imaginary)); in TEST()
90 video_ins.push_back(Device(imaginary, imaginary)); in TEST()
96 EXPECT_NE(imaginary, audio_ins[i].name); in TEST()
99 EXPECT_NE(imaginary, audio_outs[i].name); in TEST()
102 EXPECT_NE(imaginary, video_ins[i].name); in TEST()
Ddevicemanager_unittest.cc216 const std::string imaginary("_NOT A REAL DEVICE_"); in TEST() local
219 audio_ins.push_back(Device(imaginary, imaginary)); in TEST()
220 audio_outs.push_back(Device(imaginary, imaginary)); in TEST()
221 video_ins.push_back(Device(imaginary, imaginary)); in TEST()
227 EXPECT_NE(imaginary, audio_ins[i].name); in TEST()
230 EXPECT_NE(imaginary, audio_outs[i].name); in TEST()
233 EXPECT_NE(imaginary, video_ins[i].name); in TEST()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/simple_features/
Dsimple_features_generator.cc56 float imaginary = 0; in CalculateDiscreteFourierTransform() local
58 imaginary -= time_series[j] * sin(j * i * kPi * 2 / time_series_size); in CalculateDiscreteFourierTransform()
61 fourier_output[(i * 2) + 1] = imaginary; in CalculateDiscreteFourierTransform()
119 const float imaginary = fourier_values[(i * 2) + 1]; in GenerateSimpleFeatures() local
120 power_spectrum[i] = (real * real) + (imaginary * imaginary); in GenerateSimpleFeatures()
/external/tensorflow/tensorflow/lite/experimental/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()
168 const int32_t imaginary = fourier_values[(i * 2) + 1]; in GenerateSimpleFeatures() local
171 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/python/cpython3/Doc/library/
Dcmath.rst31 part* ``z.real`` and its *imaginary part* ``z.imag``. In other
129 ``1j`` along the imaginary axis to ``∞j``, continuous from the right. The
130 other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous
161 One extends from ``1j`` along the imaginary axis to ``∞j``,
163 the imaginary axis to ``-∞j``, continuous from the left.
194 Return ``True`` if both the real and imaginary parts of *x* are finite, and
202 Return ``True`` if either the real or the imaginary part of *x* is an
208 Return ``True`` if either the real or the imaginary part of *x* is a NaN,
273 Complex number with zero real part and positive infinity imaginary
289 Complex number with zero real part and NaN imaginary part. Equivalent to
[all …]
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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/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/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/swiftshader/third_party/llvm-7.0/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
DTreeAdaptor.m70 * This is invoked from an imaginary node ref on right side of a
86 * This is invoked from an imaginary node ref on right side of a
102 * This is invoked from an imaginary node ref on right side of a
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
DLang.g8 tokens {DECL;} // an imaginary node
/external/antlr/runtime/ObjC/Framework/examples/polydiff/
DPoly.g6 tokens { MULT; } // imaginary token
/external/tensorflow/tensorflow/core/framework/
Dtensor.proto60 // and imaginary parts of i-th single precision complex.
70 // and imaginary parts of i-th double precision complex.

12345