/dports/math/openturns/openturns-1.18/lib/src/Base/Func/ |
H A D | TranslationEvaluation.cxx | 42 , constant_(constant) in TranslationEvaluation() 57 return constant_ == other.constant_; in operator ==() 66 << " constant=" << constant_; in __repr__() 75 << " constant=" << constant_; in __str__() 82 return constant_; in getConstant() 88 constant_ = constant; in setConstant() 97 const Point result(inP + constant_); in operator ()() 113 return constant_.getDimension(); in getInputDimension() 119 return constant_.getDimension(); in getOutputDimension() 140 adv.saveAttribute( "constant_", constant_ ); in save() [all …]
|
H A D | ConstantGradient.cxx | 42 , constant_(constant) in ConstantGradient() 56 return (constant_ == other.constant_); in operator ==() 65 << " constant=" << constant_; in __repr__() 84 oss << constant_.__str__(offset + " "); in __str__() 91 return constant_; in getConstant() 99 …() != constant_.getNbRows()) throw InvalidArgumentException(HERE) << "Invalid input dimension " <<… in gradient() 101 return constant_; in gradient() 107 return constant_.getNbRows(); in getInputDimension() 113 return constant_.getNbColumns(); in getOutputDimension() 120 adv.saveAttribute( "constant_", constant_ ); in save() [all …]
|
H A D | ConstantHessian.cxx | 42 , constant_(constant) in ConstantHessian() 56 return (constant_ == other.constant_); in operator ==() 65 << " constant=" << constant_; in __repr__() 84 oss << constant_.__str__(offset + " "); in __str__() 91 return constant_; in getConstant() 99 …() != constant_.getNbRows()) throw InvalidArgumentException(HERE) << "Invalid input dimension " <<… in hessian() 101 return constant_; in hessian() 107 return constant_.getNbRows(); in getInputDimension() 113 return constant_.getNbSheets(); in getOutputDimension() 120 adv.saveAttribute( "constant_", constant_ ); in save() [all …]
|
H A D | LinearEvaluation.cxx | 49 , constant_(constant) in LinearEvaluation() 69 …return ((linear_ == other.linear_) && (constant_ == other.constant_) && (center_ == other.center_)… in operator ==() 79 << " constant=" << constant_ in __repr__() 90 << " constant=" << constant_ in __str__() 104 return constant_; in getConstant() 119 const Point result(constant_ + linear_ * (inP - center_)); in operator ()() 130 … Sample result(linear_.getImplementation()->genSampleProd(centered, true, false, 'R') + constant_); in operator ()() 144 return constant_.getDimension(); in getOutputDimension() 166 adv.saveAttribute( "constant_", constant_ ); in save() 175 adv.loadAttribute( "constant_", constant_ ); in load()
|
H A D | LinearGradient.cxx | 48 , constant_(constant) in LinearGradient() 66 …return ((linear_ == other.linear_) && (constant_ == other.constant_) && (center_ == other.center_)… in operator ==() 76 << " constant=" << constant_.__repr__() in __repr__() 86 …<< " constant :" << Os::GetEndOfLine() << offset << constant_.__str__(offset + " ") << Os::GetEn… in __str__() 100 return constant_; in getConstant() 114 …if (inP.getDimension() != constant_.getNbRows()) throw InvalidArgumentException(HERE) << "Invalid … in gradient() 115 Matrix value(constant_); in gradient() 143 return constant_.getNbColumns(); in getOutputDimension() 151 adv.saveAttribute( "constant_", constant_ ); in save() 160 adv.loadAttribute( "constant_", constant_ ); in load()
|
H A D | QuadraticEvaluation.cxx | 55 constant_(constant), in QuadraticEvaluation() 76 …return ((quadratic_ == other.getQuadratic()) && (linear_ == other.getLinear()) && (constant_ == ot… in operator ==() 86 << " constant=" << constant_.__repr__() in __repr__() 97 …<< offset << " constant :" << Os::GetEndOfLine() << offset << " " << constant_.__str__(offset +… in __str__() 112 return constant_; in getConstant() 135 Point result(constant_ + linear_ * delta); in operator ()() 166 result += constant_; in operator ()() 201 return constant_.getDimension(); in getOutputDimension() 209 adv.saveAttribute( "constant_", constant_ ); in save() 219 adv.loadAttribute( "constant_", constant_ ); in load()
|
/dports/math/openturns/openturns-1.18/lib/src/Base/Diff/Ev3/ |
H A D | operand.cxx | 34 constant_(0), in Operand() 47 constant_(t), in Operand() 60 constant_(t), in Operand() 83 constant_ = 0; in Operand() 90 constant_ = 0; in Operand() 104 constant_ = 0; in Operand() 215 else if (exponent_ == 2) return coefficient_ * constant_ * constant_; in GetValue() 219 else return constant_; in GetValue() 226 return constant_; in GetSimpleValue() 251 constant_ = t; in SetValue() [all …]
|
/dports/math/stanmath/math-4.2.0/stan/math/opencl/kernel_generator/ |
H A D | constant.hpp | 29 class constant_ : public operation_cl<constant_<T>, T> { class 38 using base = operation_cl<constant_<T>, T>; 47 explicit constant_(const T a, int rows, int cols) in constant_() function in stan::math::constant_ 54 inline constant_<T> deep_copy() const { in deep_copy() 55 return constant_<T>(a_, rows_, cols_); in deep_copy() 130 return constant_<T>(a, rows, cols); in constant()
|
/dports/math/openturns/openturns-1.18/lib/src/Base/MetaModel/ |
H A D | LinearTaylor.cxx | 67 << " constant=" << constant_ in __repr__() 76 constant_ = inputFunction_(center_); in run() 79 responseSurface_.setEvaluation(new LinearEvaluation(center_, constant_, linear_)); in run() 81 …responseSurface_.setHessian(new ConstantHessian(SymmetricTensor(center_.getDimension(), constant_.… in run() 94 return constant_; in getConstant() 121 adv.saveAttribute("constant_", constant_); in save() 132 adv.loadAttribute("constant_", constant_); in load()
|
H A D | LinearLeastSquares.cxx | 50 constant_(inputFunction.getOutputDimension()), in LinearLeastSquares() 64 constant_(dataOut.getDimension()), in LinearLeastSquares() 86 << " constant=" << constant_ in __repr__() 136 constant_[outputComponent] = coefficients(coefficientsIndex, outputComponent); in run() 147 responseSurface_.setEvaluation(new LinearEvaluation(center, constant_, linear_)); in run() 149 …responseSurface_.setHessian(new ConstantHessian(SymmetricTensor(center.getDimension(), constant_.g… in run() 176 return constant_; in getConstant() 204 adv.saveAttribute("constant_", constant_); in save() 216 adv.loadAttribute("constant_", constant_); in load()
|
H A D | QuadraticTaylor.cxx | 65 << " constant=" << constant_ in __repr__() 75 constant_ = inputFunction_(center_); in run() 79 responseSurface_ = QuadraticFunction(center_, constant_, linear_, quadratic_); in run() 92 return constant_; in getConstant() 125 adv.saveAttribute("constant_", constant_); in save() 137 adv.loadAttribute("constant_", constant_); in load()
|
H A D | QuadraticLeastSquares.cxx | 49 constant_(Point(inputFunction_.getOutputDimension())), in QuadraticLeastSquares() 64 constant_(Point(dataOut.getDimension())), in QuadraticLeastSquares() 87 << " constant=" << constant_ in __repr__() 151 constant_[outputComponent] = coefficients(coefficientsIndex, outputComponent); in run() 172 responseSurface_ = QuadraticFunction(center, constant_, linear_, quadratic_); in run() 199 return constant_; in getConstant() 233 adv.saveAttribute("constant_", constant_); in save() 246 adv.loadAttribute("constant_", constant_); in load()
|
/dports/math/gravity/Gravity-da941e9/include/gravity/ |
H A D | poly.h | 30 shared_ptr<constant_> _coef = nullptr; /**< Coefficient */ 55 lterm(shared_ptr<constant_> coef, shared_ptr<param_> p):lterm(true,coef,p){}; in lterm() 57 lterm(bool sign, shared_ptr<constant_> coef, shared_ptr<param_> p); 100 shared_ptr<constant_> _coef = nullptr; 119 …qterm(shared_ptr<constant_> coef, shared_ptr<param_> p1, shared_ptr<param_> p2):qterm(true, coef, … in qterm() 123 qterm(bool sign, shared_ptr<constant_> coef, shared_ptr<param_> p1, shared_ptr<param_> p2){ in qterm() 213 shared_ptr<constant_> _coef = nullptr; 220 pterm(bool sign, shared_ptr<constant_> coef, shared_ptr<param_> p, int exp){ in pterm() 241 … pterm(bool sign, shared_ptr<constant_> coef, shared_ptr<list<pair<shared_ptr<param_>, int>>> l){ in pterm()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/go/types/ |
H A D | operand.go | 24 constant_ // operand is a constant; the operand's typ is a Basic type const 36 constant_: "constant", 108 case constant_: 138 if x.mode == constant_ { 190 x.mode = constant_ 263 if x.mode == constant_ { 286 …isUntyped(x.typ) && x.mode == constant_ && representableConst(x.val, nil, UntypedInt, nil) // no *…
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 181 if check.Types != nil && mode != constant_ { 236 if x.mode == constant_ && y.mode == constant_ { 268 if x.mode == constant_ && y.mode == constant_ { 360 if x.mode == constant_ { 386 if x.mode == constant_ { 523 x.mode = constant_ 568 x.mode = constant_ [all …]
|
/dports/lang/gcc8/gcc-8.5.0/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 181 if check.Types != nil && mode != constant_ { 236 if x.mode == constant_ && y.mode == constant_ { 268 if x.mode == constant_ && y.mode == constant_ { 360 if x.mode == constant_ { 386 if x.mode == constant_ { 522 x.mode = constant_ 567 x.mode = constant_ [all …]
|
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 181 if check.Types != nil && mode != constant_ { 236 if x.mode == constant_ && y.mode == constant_ { 268 if x.mode == constant_ && y.mode == constant_ { 360 if x.mode == constant_ { 386 if x.mode == constant_ { 523 x.mode = constant_ 568 x.mode = constant_ [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 185 if check.Types != nil && mode != constant_ { 240 if x.mode == constant_ && y.mode == constant_ { 272 if x.mode == constant_ && y.mode == constant_ { 364 if x.mode == constant_ { 390 if x.mode == constant_ { 539 x.mode = constant_ 584 x.mode = constant_ [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 181 if check.Types != nil && mode != constant_ { 236 if x.mode == constant_ && y.mode == constant_ { 268 if x.mode == constant_ && y.mode == constant_ { 360 if x.mode == constant_ { 386 if x.mode == constant_ { 522 x.mode = constant_ 567 x.mode = constant_ [all …]
|
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 185 if check.Types != nil && mode != constant_ { 240 if x.mode == constant_ && y.mode == constant_ { 272 if x.mode == constant_ && y.mode == constant_ { 364 if x.mode == constant_ { 390 if x.mode == constant_ { 539 x.mode = constant_ 584 x.mode = constant_ [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libgo/go/go/types/ |
H A D | builtins.go | 149 if x.mode == constant_ { 150 mode = constant_ 164 mode = constant_ 193 if check.Types != nil && mode != constant_ { 248 if x.mode == constant_ && y.mode == constant_ { 280 if x.mode == constant_ && y.mode == constant_ { 372 if x.mode == constant_ { 402 if x.mode == constant_ { 553 x.mode = constant_ 598 x.mode = constant_ [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 181 if check.Types != nil && mode != constant_ { 236 if x.mode == constant_ && y.mode == constant_ { 268 if x.mode == constant_ && y.mode == constant_ { 360 if x.mode == constant_ { 386 if x.mode == constant_ { 522 x.mode = constant_ 567 x.mode = constant_ [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 181 if check.Types != nil && mode != constant_ { 236 if x.mode == constant_ && y.mode == constant_ { 268 if x.mode == constant_ && y.mode == constant_ { 360 if x.mode == constant_ { 386 if x.mode == constant_ { 523 x.mode = constant_ 568 x.mode = constant_ [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 181 if check.Types != nil && mode != constant_ { 236 if x.mode == constant_ && y.mode == constant_ { 268 if x.mode == constant_ && y.mode == constant_ { 360 if x.mode == constant_ { 386 if x.mode == constant_ { 522 x.mode = constant_ 567 x.mode = constant_ [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/go/types/ |
H A D | builtins.go | 145 if x.mode == constant_ { 146 mode = constant_ 160 mode = constant_ 185 if check.Types != nil && mode != constant_ { 240 if x.mode == constant_ && y.mode == constant_ { 272 if x.mode == constant_ && y.mode == constant_ { 364 if x.mode == constant_ { 390 if x.mode == constant_ { 539 x.mode = constant_ 584 x.mode = constant_ [all …]
|