/dports/math/openturns/openturns-1.18/lib/src/Base/Func/ |
H A D | FieldToPointConnection.cxx | 49 …ntFunction.getInputMesh(), fieldToPointFunction.getInputDimension(), function.getOutputDimension()) in FieldToPointConnection() 56 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << fieldToPoi… in FieldToPointConnection() 64 …ction.getInputMesh(), fieldFunction.getInputDimension(), fieldToPointFunction.getOutputDimension()) in FieldToPointConnection() 71 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << fieldToPoi… in FieldToPointConnection() 92 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 99 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "The indices of … in getMarginal() 152 Sample outSample(inSample.getSize(), getOutputDimension()); in operator ()() 183 UnsignedInteger FieldToPointConnection::getOutputDimension() const in getOutputDimension() function in FieldToPointConnection 185 if (startByFieldToPointFunction_) return function_.getOutputDimension(); in getOutputDimension() 186 return fieldToPointFunction_.getOutputDimension(); in getOutputDimension()
|
H A D | FieldToFieldConnection.cxx | 48 …ion.getInputDimension(), leftFieldFunction.getOutputMesh(), leftFieldFunction.getOutputDimension()) in FieldToFieldConnection() 56 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << leftFieldF… in FieldToFieldConnection() 64 …tInputDimension(), pointToFieldFunction.getOutputMesh(), fieldToPointFunction.getOutputDimension()) in FieldToFieldConnection() 72 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << fieldToPoi… in FieldToFieldConnection() 93 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 100 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "The indices of … in getMarginal() 165 UnsignedInteger FieldToFieldConnection::getOutputDimension() const in getOutputDimension() function in FieldToFieldConnection 167 if (isFieldFunctionComposition_) return leftFieldFunction_.getOutputDimension(); in getOutputDimension() 168 return pointToFieldFunction_.getOutputDimension(); in getOutputDimension()
|
H A D | ComposedGradient.cxx | 45 if (rightFunction.getOutputDimension() != rightGradient.getOutputDimension()) in ComposedGradient() 46 …on " << rightFunction.getOutputDimension() << " while the right gradient has output dimension " <<… in ComposedGradient() 48 if (leftGradient.getInputDimension() != rightFunction.getOutputDimension()) in ComposedGradient() 49 …nsion() << " while the right function has output dimension " << rightFunction.getOutputDimension(); in ComposedGradient() 95 UnsignedInteger ComposedGradient::getOutputDimension() const in getOutputDimension() function in ComposedGradient 97 return leftGradient_.getOutputDimension(); in getOutputDimension()
|
H A D | ComposedHessian.cxx | 47 …tFunction.getOutputDimension() != rightGradient.getOutputDimension()) || (rightFunction.getOutputD… in ComposedHessian() 49 …eftHessian.getInputDimension()) || (leftGradient.getOutputDimension() != leftHessian.getOutputDime… in ComposedHessian() 51 …if (leftGradient.getInputDimension() != rightFunction.getOutputDimension()) throw InvalidArgumentE… in ComposedHessian() 93 const UnsignedInteger outputDimension = getOutputDimension(); in hessian() 129 UnsignedInteger ComposedHessian::getOutputDimension() const in getOutputDimension() function in ComposedHessian 131 return leftHessian_.getOutputDimension(); in getOutputDimension()
|
H A D | EvaluationImplementation.cxx | 90 outputDescription_ = Description(getOutputDimension()); in setDescription() 100 for (UnsignedInteger i = 0; i < getOutputDimension(); ++i) description.add(outputDescription[i]); in getDescription() 126 …if (outputDescription_.getSize() == 0) return Description::BuildDefault(getOutputDimension(), "y"); in getOutputDescription() 145 Sample outSample(size, getOutputDimension()); in operator ()() 168 const UnsignedInteger outputDimension = getOutputDimension(); in parameterGradient() 177 Sample outS(parameterDimension + 1, getOutputDimension()); in parameterGradient() 232 UnsignedInteger EvaluationImplementation::getOutputDimension() const in getOutputDimension() function in EvaluationImplementation 254 Indices full(getOutputDimension()); in getMarginal() 309 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the given output marginal i… in draw() 440 …if (getOutputDimension() != 1) throw InvalidArgumentException(HERE) << "Error: cannot draw a funct… in draw() [all …]
|
H A D | PointToFieldConnection.cxx | 49 …eldFunction.getInputDimension(), fieldFunction.getOutputMesh(), fieldFunction.getOutputDimension()) in PointToFieldConnection() 56 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << fieldFunct… in PointToFieldConnection() 64 …tInputDimension(), pointToFieldFunction.getOutputMesh(), pointToFieldFunction.getOutputDimension()) in PointToFieldConnection() 71 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << pointToFie… in PointToFieldConnection() 92 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 99 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "The indices of … in getMarginal()
|
H A D | LinearCombinationEvaluation.cxx | 106 , accumulator_(Point(evaluation.getOutputDimension())) in LinearCombinationEvaluationPointFunctor() 133 if (isZero_) return Point(getOutputDimension()); in operator ()() 147 Sample result(sampleSize, getOutputDimension()); in operator ()() 184 UnsignedInteger outputDimension = functionsCollection[0].getOutputDimension(); in setFunctionsCollectionAndCoefficients() 221 UnsignedInteger LinearCombinationEvaluation::getOutputDimension() const in getOutputDimension() function in LinearCombinationEvaluation 223 return functionsCollection_[0].getOutputDimension(); in getOutputDimension() 230 Matrix result(getParameter().getDimension(), getOutputDimension()); in parameterGradient() 302 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 312 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "The indices of … in getMarginal() 331 if (!(index <= getOutputDimension())) in isLinearlyDependent() [all …]
|
H A D | PointToPointEvaluation.cxx | 57 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << leftFuncti… in PointToPointEvaluation() 73 …getOutputDimension()) throw InvalidArgumentException(HERE) << "The input dimension=" << fieldToPoi… in PointToPointEvaluation() 94 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 101 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "The indices of … in getMarginal() 153 Sample outSample(inSample.getSize(), getOutputDimension()); in operator ()() 246 UnsignedInteger PointToPointEvaluation::getOutputDimension() const in getOutputDimension() function in PointToPointEvaluation 248 if (isFunctionComposition_) return leftFunction_.getOutputDimension(); in getOutputDimension() 249 return fieldToPointFunction_.getOutputDimension(); in getOutputDimension()
|
H A D | ProductGradient.cxx | 44 …getOutputDimension() != 1) throw InvalidArgumentException(HERE) << "Error: the left function must … in ProductGradient() 50 …(leftGradient_.getOutputDimension() != 1)) throw InvalidArgumentException(HERE) << "Error: the gra… in ProductGradient() 94 return leftValue * rightGradient + leftGradient * Matrix(1, getOutputDimension(), rightValue); in gradient() 104 UnsignedInteger ProductGradient::getOutputDimension() const in getOutputDimension() function in ProductGradient 106 return rightEvaluation_.getOutputDimension(); in getOutputDimension()
|
H A D | FieldToPointFunctionImplementation.cxx | 93 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 100 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the indi… in getMarginal() 119 …Size() != getOutputDimension()) throw InvalidArgumentException(HERE) << "Error: expected an output… in setOutputDescription() 142 Sample outSample(inPS.getSize(), getOutputDimension()); in operator ()() 164 UnsignedInteger FieldToPointFunctionImplementation::getOutputDimension() const in getOutputDimension() function in FieldToPointFunctionImplementation
|
H A D | ValueFunction.cxx | 42 …ieldFunctionImplementation(mesh, function.getInputDimension(), mesh, function.getOutputDimension()) in ValueFunction() 53 …FunctionImplementation(mesh, evaluation.getInputDimension(), mesh, evaluation.getOutputDimension()) in ValueFunction() 64 …FunctionImplementation(mesh, evaluation.getInputDimension(), mesh, evaluation.getOutputDimension()) in ValueFunction() 111 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 118 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the indi… in getMarginal()
|
H A D | MarginalEvaluation.cxx | 56 if (!indices.check(p_evaluation->getOutputDimension())) in MarginalEvaluation() 61 for (UnsignedInteger j = 0; j < getOutputDimension(); ++ j) in MarginalEvaluation() 122 Point result(getOutputDimension()); in operator ()() 125 for (UnsignedInteger j = 0; j < getOutputDimension(); ++ j) in operator ()() 151 UnsignedInteger MarginalEvaluation::getOutputDimension() const in getOutputDimension() function in MarginalEvaluation 160 Matrix result(getParameter().getSize(), getOutputDimension()); in parameterGradient() 162 for (UnsignedInteger j = 0; j < getOutputDimension(); ++ j) in parameterGradient()
|
H A D | GradientImplementation.cxx | 90 UnsignedInteger GradientImplementation::getOutputDimension() const in getOutputDimension() function in GradientImplementation 115 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 122 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the indi… in getMarginal() 123 Indices full(getOutputDimension()); in getMarginal()
|
H A D | HessianImplementation.cxx | 88 UnsignedInteger HessianImplementation::getOutputDimension() const in getOutputDimension() function in HessianImplementation 113 …getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a marginal fun… in getMarginal() 120 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the indi… in getMarginal() 121 Indices full(getOutputDimension()); in getMarginal()
|
H A D | PointToFieldFunctionImplementation.cxx | 94 …if (!(i < getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the index of a ma… in getMarginal() 101 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "Error: the indi… in getMarginal() 120 …Size() != getOutputDimension()) throw InvalidArgumentException(HERE) << "Error: expected an output… in setOutputDescription() 148 ProcessSample outSample(getOutputMesh(), size, getOutputDimension()); in operator ()() 163 UnsignedInteger PointToFieldFunctionImplementation::getOutputDimension() const in getOutputDimension() function in PointToFieldFunctionImplementation
|
H A D | ProductHessian.cxx | 48 …getOutputDimension() != 1) throw InvalidArgumentException(HERE) << "Error: the left function must … in ProductHessian() 54 …(leftGradient_.getOutputDimension() != 1)) throw InvalidArgumentException(HERE) << "Error: the gra… in ProductHessian() 58 …(leftHessian_.getOutputDimension() != 1)) throw InvalidArgumentException(HERE) << "Error: the hess… in ProductHessian() 111 const UnsignedInteger sheetDimension = getOutputDimension(); in hessian() 138 UnsignedInteger ProductHessian::getOutputDimension() const in getOutputDimension() function in ProductHessian 140 return rightHessian_.getOutputDimension(); in getOutputDimension()
|
/dports/math/openturns/openturns-1.18/lib/src/Uncertainty/Process/ |
H A D | SpectralGaussianProcess.cxx | 48 setOutputDimension(spectralModel_.getOutputDimension()); in SpectralGaussianProcess() 65 setOutputDimension(spectralModel.getOutputDimension()); in SpectralGaussianProcess() 89 setOutputDimension(spectralModel.getOutputDimension()); in SpectralGaussianProcess() 168 << " dimension=" << getOutputDimension() in __str__() 263 ComplexCollection arrayCollection(getOutputDimension() * twoNF); in getRealization() 271 ComplexCollection left(getOutputDimension()); in getRealization() 272 ComplexCollection right(getOutputDimension()); in getRealization() 278 for (UnsignedInteger i = 0; i < getOutputDimension(); ++i) in getRealization() 292 for (UnsignedInteger i = 0; i < getOutputDimension(); ++i) in getRealization() 299 Sample sampleValues(twoNF, getOutputDimension()); in getRealization() [all …]
|
H A D | GaussianProcess.cxx | 73 , stationaryTrendValue_(trend.getOutputDimension()) in GaussianProcess() 76 …getOutputDimension() != covarianceModel.getOutputDimension()) throw InvalidArgumentException(HERE)… in GaussianProcess() 78 setOutputDimension(covarianceModel.getOutputDimension()); in GaussianProcess() 91 , stationaryTrendValue_(covarianceModel.getOutputDimension()) in GaussianProcess() 95 setOutputDimension(covarianceModel.getOutputDimension()); in GaussianProcess() 128 if (covarianceModel_.getOutputDimension() == 1) in initialize() 235 if ((samplingMethod == SamplingMethod::GIBBS) && getOutputDimension() != 1) in setSamplingMethod() 252 if ((getOutputDimension() == 1) && (samplingMethod_ == 2)) in getRealization() 307 SampleImplementation values(size, getOutputDimension()); in getRealizationCholesky() 323 Sample values(size, getOutputDimension()); in getRealizationHMatrix() [all …]
|
H A D | ARMA.cxx | 81 state_ = ARMAState(Sample(p_, getOutputDimension()), Sample(q_, getOutputDimension())); in ARMA() 139 for (UnsignedInteger d = 0; d < getOutputDimension() ; ++d) in __str__() 147 …for (UnsignedInteger dimensionComponent = 0; dimensionComponent < getOutputDimension() ; ++dimensi… in __str__() 198 SquareMatrix matrix(getOutputDimension() * p_); in computeNThermalization() 201 for (UnsignedInteger rowIndex = 0; rowIndex < getOutputDimension(); ++ rowIndex) in computeNThermalization() 203 for (UnsignedInteger columnIndex = 0; columnIndex < getOutputDimension(); ++ columnIndex) in computeNThermalization() 205 …matrix( getOutputDimension() * (p_ - 1) + rowIndex, coefficientIndex * getOutputDimension() + col… in computeNThermalization() 211 for (UnsignedInteger index = 0; index < getOutputDimension() * (p_ - 1); ++index) in computeNThermalization() 213 matrix(index, getOutputDimension() + index) = 1.0; in computeNThermalization() 255 result.add(Sample(stepNumber, getOutputDimension())); in computeReccurence() [all …]
|
H A D | FunctionalBasisProcess.cxx | 141 Sample result(timeGridSize, Point(getOutputDimension(), 0.0)); in getRealization() 146 currentBasisContribution *= Point(getOutputDimension(), state_[j]); in getRealization() 180 Sample result(stepNumber, Point(getOutputDimension(), 0.0)); in getFuture() 193 …if (!indices.check(getOutputDimension())) throw InvalidArgumentException(HERE) << "The indices of … in getMarginal() 233 setOutputDimension(basis[0].getOutputDimension()); in setBasis() 240 …getOutputDimension() != getOutputDimension()) throw InvalidArgumentException(HERE) << "Error: the … in setBasis()
|
/dports/math/openturns/openturns-1.18/lib/test/ |
H A D | t_HMatrix_block_LU.cxx | 36 : HMatrixTensorRealAssemblyFunction(covarianceModel.getOutputDimension()) in TestHMatrixTensorRealAssemblyFunction() 86 HMatrix hmat(hmatrixFactory.build(vertices, covarianceModel.getOutputDimension(), false)); in main() 91 Point rhs(covarianceModel.getOutputDimension() * vertices.getSize()); in main() 92 SquareMatrix local(covarianceModel.getOutputDimension()); in main() 96 for (UnsignedInteger dim = 0; dim < covarianceModel.getOutputDimension(); ++dim) in main() 98 rhs[covarianceModel.getOutputDimension() * i + dim] = local(dim, 0); in main() 111 for (UnsignedInteger dimI = 0; dimI < covarianceModel.getOutputDimension(); ++dimI) in main() 113 for (UnsignedInteger dimJ = 0; dimJ < covarianceModel.getOutputDimension(); ++dimJ) in main() 115 …rhsCopy[covarianceModel.getOutputDimension() * i + dimI] -= local(dimI, dimJ) * result[covarianceM… in main()
|
/dports/math/openturns/openturns-1.18/lib/src/Base/Optim/ |
H A D | IpoptProblem.cxx | 74 m += optimProblem_.getEqualityConstraint().getOutputDimension(); in get_nlp_info() 76 m += optimProblem_.getInequalityConstraint().getOutputDimension(); in get_nlp_info() 229 nbConstraints += optimProblem_.getEqualityConstraint().getOutputDimension(); in get_starting_point() 231 nbConstraints += optimProblem_.getInequalityConstraint().getOutputDimension(); in get_starting_point() 314 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_g() 322 nbInequalityConstraints = optimProblem_.getInequalityConstraint().getOutputDimension(); in eval_g() 366 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_jac_g() 409 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_h() 411 nbInequalityConstraints = optimProblem_.getInequalityConstraint().getOutputDimension(); in eval_h() 488 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_gi() [all …]
|
H A D | BonminProblem.cxx | 79 m += optimProblem_.getEqualityConstraint().getOutputDimension(); in get_nlp_info() 81 m += optimProblem_.getInequalityConstraint().getOutputDimension(); in get_nlp_info() 264 nbConstraints += optimProblem_.getEqualityConstraint().getOutputDimension(); in get_starting_point() 266 nbConstraints += optimProblem_.getInequalityConstraint().getOutputDimension(); in get_starting_point() 349 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_g() 357 nbInequalityConstraints = optimProblem_.getInequalityConstraint().getOutputDimension(); in eval_g() 401 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_jac_g() 444 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_h() 446 nbInequalityConstraints = optimProblem_.getInequalityConstraint().getOutputDimension(); in eval_h() 523 nbEqualityConstraints = optimProblem_.getEqualityConstraint().getOutputDimension(); in eval_gi() [all …]
|
/dports/math/openturns/openturns-1.18/lib/src/Uncertainty/Bayesian/ |
H A D | NonLinearLeastSquaresCalibration.cxx | 63 …getOutputDimension() != outputDimension) throw InvalidArgumentException(HERE) << "Error: expected … in NonLinearLeastSquaresCalibration() 88 …model.getOutputDimension()) throw InvalidArgumentException(HERE) << "Error: expected output observ… in CalibrationModelEvaluation() 108 UnsignedInteger getOutputDimension() const in getOutputDimension() function in NonLinearLeastSquaresCalibrationFunctions::CalibrationModelEvaluation 110 return model_.getOutputDimension() * inputObservations_.getSize(); in getOutputDimension() 123 for (UnsignedInteger j = 0; j < model_.getOutputDimension(); ++j) in getOutputDescription() 191 MatrixImplementation gradientObservations(getInputDimension(), getOutputDimension()); in gradient() 192 …dInteger skip = parametrizedModel.getParameterDimension() * parametrizedModel.getOutputDimension(); in gradient() 208 UnsignedInteger getOutputDimension() const in getOutputDimension() function in NonLinearLeastSquaresCalibrationFunctions::CalibrationModelGradient 210 return evaluation_.getOutputDimension(); in getOutputDimension()
|
/dports/math/openturns/openturns-1.18/lib/src/Uncertainty/Algorithm/MetaModel/Kriging/ |
H A D | KrigingEvaluation.cxx | 57 if (basis.getSize() != covarianceModel.getOutputDimension()) in KrigingEvaluation() 58 …::KrigingEvaluation, output sample dimension (" << covarianceModel.getOutputDimension() << ") doe… in KrigingEvaluation() 64 …ize() << " is different from the output sample dimension=" << covarianceModel.getOutputDimension(); in KrigingEvaluation() 66 setOutputDescription(Description::BuildDefault(getOutputDimension(), "y")); in KrigingEvaluation() 113 , accumulator_(evaluation.getOutputDimension()) in KrigingEvaluationPointFunctor() 120 , accumulator_(other.evaluation_.getOutputDimension()) in KrigingEvaluationPointFunctor() 177 const UnsignedInteger dimension = getOutputDimension(); in operator ()() 226 const UnsignedInteger dimension = evaluation_.getOutputDimension(); in operator ()() 276 const UnsignedInteger dimension = getOutputDimension(); in operator ()() 329 UnsignedInteger KrigingEvaluation::getOutputDimension() const in getOutputDimension() function in KrigingEvaluation [all …]
|