/dports/math/openturns/openturns-1.18/lib/src/Base/Geom/ |
H A D | Interval.cxx | 233 if (getDimension() != rhs.getDimension()) in operator +() 236 << getDimension() in operator +() 238 << rhs.getDimension(); in operator +() 284 if (getDimension() != other.getDimension()) in operator +=() 287 << getDimension() in operator +=() 307 if (getDimension() != rhs.getDimension()) in operator -() 310 << getDimension() in operator -() 312 << rhs.getDimension(); in operator -() 330 if (getDimension() != other.getDimension()) in operator -=() 333 << getDimension() in operator -=() [all …]
|
H A D | LevelSet.cxx | 88 if ((lowerBound_.getDimension() == dimension_) && in intersect() 89 (upperBound_.getDimension() == dimension_) && in intersect() 90 (other.lowerBound_.getDimension() == dimension_) && in intersect() 91 (other.upperBound_.getDimension() == dimension_)) in intersect() 116 if ((lowerBound_.getDimension() == dimension_) && in join() 117 (upperBound_.getDimension() == dimension_) && in join() 118 (other.lowerBound_.getDimension() == dimension_) && in join() 119 (other.upperBound_.getDimension() == dimension_)) in join() 131 …getDimension() != dimension_) throw InvalidArgumentException(HERE) << "Error: expected a point of … in contains() 133 …if ((lowerBound_.getDimension() == dimension_) && (upperBound_.getDimension() == dimension_) && !I… in contains() [all …]
|
/dports/math/openturns/openturns-1.18/lib/src/Uncertainty/Distribution/ |
H A D | IndependentCopula.cxx | 56 return getDimension() == other.getDimension(); in operator ==() 71 << " dimension=" << getDimension(); in __repr__() 92 return RandomGenerator::Generate(getDimension()); in getRealization() 98 const UnsignedInteger dimension = getDimension(); in computeDDF() 107 const UnsignedInteger dimension = getDimension(); in computeProbability() 127 const UnsignedInteger dimension = getDimension(); in computePDF() 143 const UnsignedInteger dimension = getDimension(); in computeCDF() 168 return IdentityMatrix(getDimension()); in getKendallTau() 174 const UnsignedInteger dimension = getDimension(); in computePDFGradient() 183 const UnsignedInteger dimension = getDimension(); in computeCDFGradient() [all …]
|
H A D | Wishart.cxx | 80 << " dimension=" << getDimension() in __repr__() 105 Point upper(getDimension()); in computeRange() 106 Point lower(getDimension()); in computeRange() 122 Point realization(getDimension()); in getRealization() 154 …getDimension() != cholesky_.getDimension()) throw InvalidArgumentException(HERE) << "Error: the gi… in computePDF() 161 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computePDF() 168 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeLogPDF() 184 …getDimension() != cholesky_.getDimension()) throw InvalidArgumentException(HERE) << "Error: the gi… in computeLogPDF() 212 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeCDF() 221 mean_ = Point(getDimension()); in computeMean() [all …]
|
H A D | InverseWishart.cxx | 80 << " dimension=" << getDimension() in __repr__() 106 Point upper(getDimension()); in computeRange() 107 Point lower(getDimension()); in computeRange() 123 Point realization(getDimension()); in getRealization() 155 …getDimension() != cholesky_.getDimension()) throw InvalidArgumentException(HERE) << "Error: the gi… in computePDF() 163 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computePDF() 171 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeLogPDF() 187 …getDimension() != cholesky_.getDimension()) throw InvalidArgumentException(HERE) << "Error: the gi… in computeLogPDF() 215 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeCDF() 224 mean_ = Point(getDimension()); in computeMean() [all …]
|
H A D | MinCopula.cxx | 52 return getDimension() == other.getDimension(); in operator ==() 67 << " dimension=" << getDimension(); in __repr__() 93 const UnsignedInteger dimension = getDimension(); in computeDDF() 102 const UnsignedInteger dimension = getDimension(); in computePDF() 114 const UnsignedInteger dimension = getDimension(); in computeCDF() 123 return computeCDF(Point(getDimension(), 1.0) - point); in computeSurvivalFunction() 135 return Point(getDimension(), q); in computeQuantile() 147 const UnsignedInteger dimension = getDimension(); in computeCovariance() 155 const UnsignedInteger dimension = getDimension(); in getKendallTau() 162 const UnsignedInteger dimension = getDimension(); in getMarginal() [all …]
|
H A D | Dirac.cxx | 62 setDimension(point.getDimension()); in Dirac() 86 << " dimension=" << getDimension() in __repr__() 119 const UnsignedInteger dimension = getDimension(); in computePDF() 130 const UnsignedInteger dimension = getDimension(); in computeCDF() 148 const UnsignedInteger dimension = getDimension(); in computePDFGradient() 158 const UnsignedInteger dimension = getDimension(); in computeCDFGradient() 213 return Point(getDimension(), 0.0); in getStandardDeviation() 219 return Point(getDimension(), 0.0); in getSkewness() 225 return Point(getDimension(), 0.0); in getKurtosis() 249 return Sample(0, getDimension()); in getSupport() [all …]
|
H A D | ComposedCopula.cxx | 86 << " dimension=" << getDimension(); in __repr__() 162 const UnsignedInteger dimension = getDimension(); in getRealization() 181 const UnsignedInteger dimension = getDimension(); in getSample() 206 const UnsignedInteger dimension = getDimension(); in computeDDF() 209 Point DDF(getDimension()); in computeDDF() 251 const UnsignedInteger dimension = getDimension(); in computePDF() 277 const UnsignedInteger dimension = getDimension(); in computeLogPDF() 303 const UnsignedInteger dimension = getDimension(); in computeCDF() 331 const UnsignedInteger dimension = getDimension(); in computeProbability() 363 const UnsignedInteger dimension = getDimension(); in computeSurvivalFunction() [all …]
|
H A D | TruncatedDistribution.cxx | 67 …, bounds_(Point(distribution.getDimension(), lowerBound), Point(distribution.getDimension(), upper… in TruncatedDistribution() 83 , bounds_(distribution.getDimension()) in TruncatedDistribution() 217 if (getDimension() == 1) in getSimplifiedVersion() 303 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeDDF() 313 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computePDF() 315 if (getDimension() == 1) in computePDF() 368 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computePDFGradient() 501 if (getDimension() == 1) in isElliptical() 512 if (distribution.getDimension() != bounds_.getDimension()) in setDistribution() 519 if (getDimension() == 1) in setDistribution() [all …]
|
H A D | NormalCopula.cxx | 89 << " dimension=" << getDimension() in __repr__() 110 UnsignedInteger dimension = getDimension(); in getRealization() 130 , dimension_(input.getDimension()) in NormalCopulaComputeSamplePolicy() 177 const UnsignedInteger dimension = getDimension(); in computeDDF() 178 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeDDF() 207 const UnsignedInteger dimension = getDimension(); in computePDF() 208 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computePDF() 239 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeCDF() 270 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeSurvivalFunction() 379 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computePDFGradient() [all …]
|
H A D | BlockIndependentDistribution.cxx | 80 << " dimension=" << getDimension(); in __repr__() 152 const UnsignedInteger dimension = getDimension(); in getRealization() 169 const UnsignedInteger dimension = getDimension(); in computeDDF() 197 const UnsignedInteger dimension = getDimension(); in computePDF() 220 const UnsignedInteger dimension = getDimension(); in computeLogPDF() 242 const UnsignedInteger dimension = getDimension(); in computeCDF() 263 const UnsignedInteger dimension = getDimension(); in computeProbability() 291 const UnsignedInteger dimension = getDimension(); in computeSurvivalFunction() 313 const UnsignedInteger dimension = getDimension(); in getSpearmanCorrelation() 332 const UnsignedInteger dimension = getDimension(); in getKendallTau() [all …]
|
H A D | PosteriorDistribution.cxx | 83 << " dimension=" << getDimension() in __repr__() 126 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computePDF() 136 …getDimension() != getDimension()) throw InvalidArgumentException(HERE) << "Error: the given point … in computeCDF() 138 Description inputDescription(getDimension()); in computeCDF() 139 …for (UnsignedInteger i = 0; i < getDimension(); ++i) inputDescription[i] = String(OSS() << "x" << … in computeCDF() 162 setDimension(conditionalDistribution.getConditioningDistribution().getDimension()); in setConditionalDistribution() 215 return distribution_.getDimension(); in getInputDimension() 234 Description inputDescription(Description::BuildDefault(getDimension(), "x")); in computeMean() 246 Point sigma(getDimension()); in getStandardDeviation() 247 for (UnsignedInteger i = 0; i < getDimension(); ++i) sigma[i] = std::sqrt(covariance_(i, i)); in getStandardDeviation() [all …]
|
/dports/math/openturns/openturns-1.18/python/src/ |
H A D | PythonDistribution.cxx | 159 …getDimension() != getDimension()) throw InvalidDimensionException(HERE) << "Realization returned b… in getRealization() 183 …getDimension() != getDimension()) throw InvalidDimensionException(HERE) << "Sample returned by Pyt… in getSample() 200 if (dimension != getDimension()) in computeDDF() 227 if (dimension != getDimension()) in computePDF() 253 if (dimension != getDimension()) in computeLogPDF() 277 if (dimension != getDimension()) in computeCDF() 486 …getDimension() != getDimension()) throw InvalidDimensionException(HERE) << "Mean returned by Pytho… in getMean() 530 …getDimension() != getDimension()) throw InvalidDimensionException(HERE) << "Skewness returned by P… in getSkewness() 552 …getDimension() != getDimension()) throw InvalidDimensionException(HERE) << "Kurtosis returned by P… in getKurtosis() 577 …getDimension() != getDimension()) throw InvalidDimensionException(HERE) << "Moment returned by Pyt… in getStandardMoment() [all …]
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/linear/ |
H A D | ArrayRealVectorTest.java | 43 Assert.assertEquals("testData len", 0, v0.getDimension()); in testConstructors() 46 Assert.assertEquals("testData len", 7, v1.getDimension()); in testConstructors() 50 Assert.assertEquals("testData len", 5, v2.getDimension()); in testConstructors() 54 Assert.assertEquals("testData len", 3, v3.getDimension()); in testConstructors() 70 Assert.assertEquals("testData len", 2, v4.getDimension()); in testConstructors() 80 Assert.assertEquals("testData len", 9, v5_i.getDimension()); in testConstructors() 84 Assert.assertEquals("testData len", 9, v5.getDimension()); in testConstructors() 88 Assert.assertEquals("testData len", 2, v6.getDimension()); in testConstructors() 98 Assert.assertEquals("testData len", 7, v7.getDimension()); in testConstructors() 108 Assert.assertEquals("testData len", 7, v8.getDimension()); in testConstructors() [all …]
|
/dports/math/openturns/openturns-1.18/lib/src/Uncertainty/Bayesian/ |
H A D | MCMC.cxx | 66 …(Description::BuildDefault(initialState.getDimension(), "x"), Description::BuildDefault(initialSta… in MCMC() 69 …getDimension()) throw InvalidDimensionException(HERE) << "The model input dimension (" << model_.g… in MCMC() 73 …getDimension() != prior.getDimension()) throw InvalidDimensionException(HERE) << "The initialState… in MCMC() 74 history_.setDimension(initialState.getDimension()); in MCMC() 96 …getDimension()) throw InvalidDimensionException(HERE) << "The model input dimension (" << model.ge… in MCMC() 100 …getDimension() != prior.getDimension()) throw InvalidDimensionException(HERE) << "The initialState… in MCMC() 101 history_.setDimension(initialState.getDimension()); in MCMC() 125 UnsignedInteger MCMC::getDimension() const in getDimension() function in MCMC 127 return prior_.getDimension(); in getDimension() 231 history_.setDimension(initialState_.getDimension()); in setHistory() [all …]
|
H A D | GaussianLinearCalibration.cxx | 58 const UnsignedInteger parameterDimension = candidate.getDimension(); in GaussianLinearCalibration() 61 const UnsignedInteger inputDimension = inputObservations.getDimension(); in GaussianLinearCalibration() 63 const UnsignedInteger outputDimension = outputObservations.getDimension(); in GaussianLinearCalibration() 67 globalErrorCovariance_ = errorCovariance.getDimension() != outputDimension; in GaussianLinearCalibration() 87 const UnsignedInteger parameterDimension = candidate.getDimension(); in GaussianLinearCalibration() 89 const UnsignedInteger outputDimension = outputObservations.getDimension(); in GaussianLinearCalibration() 93 globalErrorCovariance_ = errorCovariance.getDimension() != outputDimension; in GaussianLinearCalibration() 129 const UnsignedInteger dimension = errorCovariance_.getDimension(); in run() 144 const Normal error(Point(R.getDimension()), R); in run() 149 const UnsignedInteger parameterDimension = getCandidate().getDimension(); in run() [all …]
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/ode/ |
H A D | FieldExpandableODETest.java | 59 for (int i = 0; i < main.getDimension(); ++i) { in doTestOnlyMainEquation() 77 …yEquations<T> secondary2 = new Linear<T>(field, 5, main.getDimension() + secondary1.getDimension()… in doTestMainAndSecondary() 79 … Assert.assertEquals(main.getDimension() + secondary1.getDimension() + secondary2.getDimension(), in doTestMainAndSecondary() 97 for (int i = 0; i < main.getDimension(); ++i) { in doTestMainAndSecondary() 116 …Assert.assertEquals(i + main.getDimension() + secondary1.getDimension(), secondaryState2[i].getRea… in doTestMainAndSecondary() 118 …Assert.assertEquals(-i, completeDot[i + main.getDimension() + secondary1.getDimension()].getReal()… in doTestMainAndSecondary() 134 …yEquations<T> secondary2 = new Linear<T>(field, 5, main.getDimension() + secondary1.getDimension()… in doTestMap() 136 … Assert.assertEquals(main.getDimension() + secondary1.getDimension() + secondary2.getDimension(), in doTestMap() 195 …Assert.assertEquals(i + main.getDimension() + secondary1.getDimension(), secondaryState2[i].getRea… in doTestMap() 197 …Assert.assertEquals(-i, completeDot[i + main.getDimension() + secondary1.getDimension()].getReal()… in doTestMap() [all …]
|
/dports/math/openturns/openturns-1.18/lib/src/Base/Type/ |
H A D | Point.cxx | 176 int n = lhs.getDimension(); in operator +() 182 << rhs.getDimension(); in operator +() 197 int n = getDimension(); in operator +=() 216 int n = lhs.getDimension(); in operator -() 238 int n = getDimension(); in operator -=() 244 other.getDimension(); in operator -=() 283 int n = getDimension(); in operator *=() 309 int n = getDimension(); in operator /=() 321 int n = getDimension(); in dot() 358 int n = getDimension(); in norm() [all …]
|
/dports/math/openturns/openturns-1.18/python/test/ |
H A D | t_Waarts_concave.py | 116 for i in range(u_starC.getDimension()): 120 for i in range(x_starC.getDimension()): 127 for i in range(gammaC.getDimension()): 150 for i in range(u_starAR.getDimension()): 154 for i in range(x_starAR.getDimension()): 161 for i in range(gammaAR.getDimension()): 188 for i in range(CurvC2.getDimension()): 192 for i in range(u_starC2.getDimension()): 196 for i in range(x_starC2.getDimension()): 205 for i in range(gammaC2.getDimension()): [all …]
|
H A D | t_Waarts_RS2.py | 137 for i in range(u_starC.getDimension()): 141 for i in range(x_starC.getDimension()): 148 for i in range(gammaC.getDimension()): 171 for i in range(u_starAR.getDimension()): 175 for i in range(x_starAR.getDimension()): 182 for i in range(gammaAR.getDimension()): 209 for i in range(CurvC2.getDimension()): 213 for i in range(u_starC2.getDimension()): 217 for i in range(x_starC2.getDimension()): 226 for i in range(gammaC2.getDimension()): [all …]
|
H A D | t_Waarts_convex.py | 134 for i in range(u_starC.getDimension()): 138 for i in range(x_starC.getDimension()): 145 for i in range(gammaC.getDimension()): 168 for i in range(u_starAR.getDimension()): 172 for i in range(x_starAR.getDimension()): 179 for i in range(gammaAR.getDimension()): 206 for i in range(CurvC2.getDimension()): 210 for i in range(u_starC2.getDimension()): 214 for i in range(x_starC2.getDimension()): 223 for i in range(gammaC2.getDimension()): [all …]
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/ |
H A D | CImageWriterPNG.cpp | 115 image->getDimension().Width, image->getDimension().Height, in writeImage() 121 image->getDimension().Width, image->getDimension().Height, in writeImage() 126 s32 lineWidth = image->getDimension().Width; in writeImage() 141 u8* tmpImage = new u8[image->getDimension().Height*lineWidth]; in writeImage() 153 …CColorConverter::convert_R8G8B8toR8G8B8(data,image->getDimension().Height*image->getDimension().Wi… in writeImage() 156 …CColorConverter::convert_A8R8G8B8toA8R8G8B8(data,image->getDimension().Height*image->getDimension(… in writeImage() 159 …CColorConverter::convert_R5G6B5toR8G8B8(data,image->getDimension().Height*image->getDimension().Wi… in writeImage() 162 …CColorConverter::convert_A1R5G5B5toA8R8G8B8(data,image->getDimension().Height*image->getDimension(… in writeImage() 175 u8** RowPointers = new png_bytep[image->getDimension().Height]; in writeImage() 186 for (u32 i=0; i<image->getDimension().Height; ++i) in writeImage()
|
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/ |
H A D | CImageWriterPNG.cpp | 115 image->getDimension().Width, image->getDimension().Height, in writeImage() 121 image->getDimension().Width, image->getDimension().Height, in writeImage() 126 s32 lineWidth = image->getDimension().Width; in writeImage() 141 u8* tmpImage = new u8[image->getDimension().Height*lineWidth]; in writeImage() 153 …CColorConverter::convert_R8G8B8toR8G8B8(data,image->getDimension().Height*image->getDimension().Wi… in writeImage() 156 …CColorConverter::convert_A8R8G8B8toA8R8G8B8(data,image->getDimension().Height*image->getDimension(… in writeImage() 159 …CColorConverter::convert_R5G6B5toR8G8B8(data,image->getDimension().Height*image->getDimension().Wi… in writeImage() 162 …CColorConverter::convert_A1R5G5B5toA8R8G8B8(data,image->getDimension().Height*image->getDimension(… in writeImage() 175 u8** RowPointers = new png_bytep[image->getDimension().Height]; in writeImage() 186 for (u32 i=0; i<image->getDimension().Height; ++i) in writeImage()
|
/dports/graphics/geos/geos-3.9.1/src/operation/overlayng/ |
H A D | InputGeometry.cpp | 37 InputGeometry::getDimension(int index) const in getDimension() function in geos::operation::overlayng::InputGeometry 41 return geom[index]->getDimension(); in getDimension() 69 return geom[geomIndex] != nullptr && geom[geomIndex]->getDimension() == 2; in isArea() 85 if (getDimension(0) == 2) return 0; in getAreaIndex() 86 if (getDimension(1) == 2) return 1; in getAreaIndex() 94 return getDimension(geomIndex) == 1; in isLine() 101 return getDimension(0) == 0 in isAllPoints() 102 && geom[1] != nullptr && getDimension(1) == 0; in isAllPoints() 109 return getDimension(0) == 0 || getDimension(1) == 0; in hasPoints() 123 return geom[geomIndex] != nullptr && geom[geomIndex]->getDimension() > 0; in hasEdges()
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/fo/expr/ |
H A D | NumericOp.java | 66 if (op1.getDimension() != op2.getDimension()) { in addition2() 70 + op2.getNumericValue(context), op1.getDimension()); in addition2() 102 if (op1.getDimension() != op2.getDimension()) { in subtraction2() 106 - op2.getNumericValue(context), op1.getDimension()); in subtraction2() 139 op1.getDimension() + op2.getDimension()); in multiply2() 173 op1.getDimension() - op2.getDimension()); in divide2() 203 % op2.getNumericValue(context), op1.getDimension()); in modulo2() 229 return numeric(Math.abs(op.getNumericValue(context)), op.getDimension()); in abs2() 256 return numeric(-op.getNumericValue(context), op.getDimension()); in negate2() 285 if (op1.getDimension() != op2.getDimension()) { in max2() [all …]
|