About 1,554,655 results (1,986 milliseconds)

Constant function literals · Issue #1048 · dart-lang/language · GitHub

https://code.google.com/p/dart/issues/detail?id=4596
Aug 19, 2012 ... The alternative is again to define a static function somewhere and ... In this example, we couldn't make () => x a constant expression.

Use JavaScript in Dataform | Google Cloud

https://cloud.google.com/dataform/docs/javascript-in-dataform
... define functions or constants in a SQLX file. ... For more information, see Dataform core. The following code sample shows a constant and function defined ...

Style: Declaring constants as static

https://groups.google.com/a/chromium.org/g/chromium-dev/c/pF7nAmUQ2uw/m/dZeUCdRbcIcJ
Nov 15, 2012 ... My C++ readability reviewer told me that compile-time constants should be declared as static, even when they are defined in function scope.

lambda function returning a constant?

https://groups.google.com/g/clojure/c/hK3KeHRiGjw
Sep 4, 2011 ... Here my intent behind #(%) is to define a lambda function returning ... Thanks, I realize my example is a bit of a corner case, and feels a

Dynamic indexing

https://groups.google.com/g/nimble-users/c/iWPyCS_BqKE
constants are values used to define model structure and will not change. In ... constants$sample <- data$sample constants$rest <- data$rest # I can see ...

Defining a function in terms of variables in TLA

https://groups.google.com/g/tlaplus/c/oBvCQ5DSeDw/m/pLsbFEKiAQAJ
Nov 20, 2024 ... Could you provide a pseudocode example of what you're looking for, and ... function a constant then define some set of assumptions over it.

Wonsun Ahn - Macros vs. Constants

https://sites.google.com/site/wonsunahn/teaching/cs-0449-systems-software/macros-vs-constants
For example, suppose you wanted to ... A constant variable requires initialization, a #define macro does not. If you have a constant variable in function ...

Math constants

https://groups.google.com/a/isocpp.org/g/std-proposals/c/FbSyFYzsoYI
... functions are used, the constants such as π or e appear quite frequently. Yes, it is not terribly difficult to define a constant, but from the C++ user's ...

User-defined variable types for web - Tag Manager Help

https://support.google.com/tagmanager/answer/7683362?hl=en
Use a naming scheme that is descriptive of the variable's function, e.g. "Data Layer Variable - Product Name. ... Constant; Custom event; Environment name ...

role argument validation for arbitrary keys

https://groups.google.com/g/ansible-devel/c/yYRWbLH5Zc4
Mar 29, 2021 ... ... function, which looks like it'd be rather easy to support a pre-defined/constant ... example). This would also allow bogus data in, such as ...

How to define integral function in objective function of YALMIP code

https://groups.google.com/g/yalmip/c/jTCxXVvthCA
May 22, 2014 ... Not possible (in neither Mosek nor YALMIP). You would have to come up with, e.g., a piecewise affine approximation of the integral.

role argument validation for arbitrary keys

https://groups.google.com/g/ansible-devel/c/yYRWbLH5Zc4
Mar 29, 2021 ... ... function, which looks like it'd be rather easy to support a pre-defined/constant ... example). This would also allow bogus data in, such as ...

Define constant to use as multiplier in equality constraint (then ...

https://groups.google.com/g/lavaan/c/GQ6P9ja9zek
Jan 28, 2014 ... model as a mock example to try and do sth similar but I am unsure of my syntax. ... function evaluation. So it may be that the phantom and ...

How to define a partial function and add an element to a set of ...

https://groups.google.com/g/tlaplus/c/ugxYG52lVCc
Jan 16, 2018 ... ... syntax is available in TLA+ for partial functions, but I could be wrong. ... Use this syntax to define f on a new input value: Add(a, b) == f ...

Defining a scalar as a function of just time while working with xpand

https://groups.google.com/g/xact/c/n4BEFhSsr1w
Nov 7, 2015 ... I am trying to use constant scalar field gauge in calculating osmological perturbations in f(R) gravity. ... But in the example 7 (see Example ...

Are piecewise functions allowed as constraints in Casadi?

https://groups.google.com/g/casadi-users/c/7Yb6KrkzVJA
Oct 11, 2016 ... ... define by constant acceleration until reaching a specific speed, and ... example? 2) Also, if Casadi does not allow this or ...

User-defined functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/user-defined-functions
The next example creates the same function as a persistent UDF: See more ... The following example masks a DATETIME column with a constant value: See ...

Defining Boundary Condition Equations (Types) for Heat Flux

https://groups.google.com/g/hermes2d/c/3hgP7G9Rzvs
Is there an example/tutorial I could reference that would show how to create a boundary condition function rather than a constant? Thanks you very much in ...

Cannot use java value as parameter to java annotation on scala ...

https://groups.google.com/g/scala-user/c/BUI2ZQSJq8U
Aug 1, 2011 ... For example, @myAnn(name = Const$. ... class" using javap. Doesn't the solution that I suggested earlier work? You define the constants in Const.

Equivalent of MATLAB struct with subfields and constant values

https://groups.google.com/g/julia-users/c/T46fO9di9QY/m/7J9X3-QxzIAJ
Feb 21, 2015 ... Then all those constant values (column numbers) were defined in a function ... In MATLAB all I needed to define these was for example, C.