For every element, x
, in this
, compute x notIdenticallyEquals that
where 1.0f represents a "true" result and 0.0f represents a "false" result.
For every element, x
, in this
, compute x notIdenticallyEquals that
where 1.0f represents a "true" result and 0.0f represents a "false" result.
The resulting field has the same field shape and tensor shape as this
.
Operand for !=== operator.
A field equal to this
with each element, x
, mapped to
x notIdenticallyEquals that
.
Compare two fields using the "not identically equal" operator; a numeric value of 1.0f represents true (first operand != second operand) and a numeric value of 0.0f represents false.
Compare two fields using the "not identically equal" operator; a numeric value of 1.0f represents true (first operand != second operand) and a numeric value of 0.0f represents false.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Operand for computing this
!=== that
.
this
notIdenticallyEqualTo that
For every element, x
, in this
, compute x modulo that
.
For every element, x
, in this
, compute x modulo that
. The result
has the same field shape and tensor shape as this
.
Operand for modulo operator.
A field equal to this
with each element, x
, mapped to
x modulo that
.
Compute this
modulo that
to create a third field.
Compute this
modulo that
to create a third field.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Operand for computing this
modulo that
.
this
% that
Multiply every element in this
by that
.
Multiply every element in this
by that
. This will coerce
this
to be complex before proceeding.
Multiplicand
A field equal to the product of this
and that
, where
every numeric component of this
has been multiplied by that
.
Multiply every element in this
by that
to produce a result
with the same field shape and tensor shape as this
.
Multiply every element in this
by that
to produce a result
with the same field shape and tensor shape as this
.
Constant to be multiplied with every number in this
.
A field equal to the product of this
and that
, where
every numeric component of this
has been multiplied by that
.
Multiply this
field by that
field to create a third field.
Multiply this
field by that
field to create a third field.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Field to be multiplied by this
.
this
* that
Add the constant that
to every element in this
.
Add the constant that
to every element in this
. This will coerce
this
to be complex before proceeding.
Constant to be added to number in this
.
A field equal to the sum of this
and that
, where that
has
been added to every numeric component of this
.
Add the constant that
to every element in this
to produce a result
with the same field shape and tensor shape as this
.
Add the constant that
to every element in this
to produce a result
with the same field shape and tensor shape as this
.
Constant to be added to every number in this
.
A field equal to the sum of this
and that
, where that
has
been added to every numeric component of this
.
Add this
field and that
field to create a third field.
Add this
field and that
field to create a third field.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Field to be added to this
.
Sum of the two fields.
Subtract the constant that
from every element in this
.
Subtract the constant that
from every element in this
. This will coerce
this
to be complex before proceeding.
Constant to be subtracted from each number in this
.
A field equal to the difference of this
and that
, where that
has been subtracted from every numeric component of this
.
Subtract the constant that
from every element in this
to produce a
result with the same field shape and tensor shape as this
.
Subtract the constant that
from every element in this
to produce a
result with the same field shape and tensor shape as this
.
Constant to be sutracted from every number in this
.
A field equal to the difference of this
and that
, where that
has been subtracted from every numeric component of this
.
Subtract that
field from this
field to create a third field.
Subtract that
field from this
field to create a third field.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Field to be subtracted to this
.
this
- that
Divide every element in this
by that
.
Divide every element in this
by that
. This will coerce
this
to be complex before proceeding.
Divisor.
A field equal to the quotient of this
and that
, where
every numeric component of this
has been divided by that
.
Divide every element in this
by that
to produce a result
with the same field shape and tensor shape as this
.
Divide every element in this
by that
to produce a result
with the same field shape and tensor shape as this
.
The user must assure that the divisor is not zero, since the result would be NaN which does not throw an exception.
Divisor.
A field equal to this
dividedBy that
, where
every numeric component of this
has been divided by that
.
Divide this
field by that
field to create a third field.
Divide this
field by that
field to create a third field.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Field that this
will be divided by.
this
/ that
For every element, x
, in this
, compute x lessThan that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
For every element, x
, in this
, compute x lessThan that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
The resulting field has the same field shape and tensor shape as this
.
Operand for < operator.
A field equal to this
with each element, x
, mapped to
x lessThan that
.
Compare two fields using the "less than" operator; a numeric value of 1.0f represents true (first operand < second operand) and a numeric value of 0.0f represents false.
Compare two fields using the "less than" operator; a numeric value of 1.0f represents true (first operand < second operand) and a numeric value of 0.0f represents false.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Operand for computing this
< that
.
this
lessThan that
For every element, x
, in this
, compute x lessThanEqual that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
For every element, x
, in this
, compute x lessThanEqual that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
The resulting field has the same field shape and tensor shape as this
.
Operand for <= operator.
A field equal to this
with each element, x
, mapped to
x lessThanEqual that
.
Compare two fields using the "less than equal" operator; a numeric value of 1.0f represents true (first operand <= second operand) and a numeric value of 0.0f represents false.
Compare two fields using the "less than equal" operator; a numeric value of 1.0f represents true (first operand <= second operand) and a numeric value of 0.0f represents false.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Operand for computing this
<- that
.
this
lessThanOrEquel that
Feedback operator, denotes a field value fed back to this
.
Feedback operator, denotes a field value fed back to this
.
This does automatic type coercion if the field fed back is larger than or equal to the size (in each dimension) of the recipient of that field. This should be overridden where illegal.
For every element, x
, in this
, compute x identicallyEquals that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
For every element, x
, in this
, compute x identicallyEquals that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
The resulting field has the same field shape and tensor shape as this
.
Operand for === operator.
A field equal to this
with each element, x
, mapped to
x identicallyEquals that
.
Compare two fields using the "identically equal" operator; a numeric value of 1.0f represents true (first operand == second operand) and a numeric value of 0.0f represents false.
Compare two fields using the "identically equal" operator; a numeric value of 1.0f represents true (first operand == second operand) and a numeric value of 0.0f represents false.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Operand for computing this
=== that
.
this
identicallyEqualTo that
For every element, x
, in this
, compute x greaterThan that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
For every element, x
, in this
, compute x greaterThan that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
The resulting field has the same field shape and tensor shape as this
.
Operand for > operator.
A field equal to this
with each element, x
, mapped to
x greaterThan that
.
Compare two fields using the "greater than" operator; a numeric value of 1.0f represents true (first operand > second operand) and a numeric value of 0.0f represents false.
Compare two fields using the "greater than" operator; a numeric value of 1.0f represents true (first operand > second operand) and a numeric value of 0.0f represents false.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Operand for computing this
> that
.
this
greaterThan that
For every element, x
, in this
, compute x greaterThanEqual that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
For every element, x
, in this
, compute x greaterThanEqual that
where
1.0f represents a "true" result and 0.0f represents a "false" result.
The resulting field has the same field shape and tensor shape as this
.
Operand for >= operator.
A field equal to this
with each element, x
, mapped to
x greaterThanEqual that
.
Compare two fields using the "greater than or equal" operator; a numeric value of 1.0f represents true (first operand >= second operand) and a numeric value of 0.0f represents false.
Compare two fields using the "greater than or equal" operator; a numeric value of 1.0f represents true (first operand >= second operand) and a numeric value of 0.0f represents false.
This operator follows the algebraic binary operator rules for input type compatibility, implicit type conversions, and output result type. See the class description for these rules.
Operand for computing this
>= that
.
this
greaterThanOrEqual that
Reduce the dimensionality of a field by 1 by "slicing" along one index of the first dimension.
Reduce the dimensionality of a field by 1 by "slicing" along one index of the first dimension.
For example, consider this input (3 rows x 4 columns) field:
0 1 2 3 4 5 6 7 8 9 0 1
The first dimension is rows, so a "slice index" of 0 would return the first row:
0 1 2 3
A slice index of 1 would return the second row:
4 5 6 7
And a slice index of 2 would return the third row:
8 9 0 1
The index of the first dimension along which we will slice out a lower-dimensional field.
A sliced field, of dimension one less than the input field dimension.
Extract a contiguous subfield from a field, maintaining its dimensionality.
Extract a contiguous subfield from a field, maintaining its dimensionality.
Each dimension of a field is indexed starting a zero. The user supplies a range of indices, one for each dimension, that specifies the continguous range of indices that should be extracted into the subfield.
For example, consider this input field:
0 1 2 3 4 5 6 7 8 9 0 1
This has 3 rows (first dimension) and 4 columns (second dimension) so its shape is 3 x 4. Specify row range (1 to 2) and column range (1 to 3) would extract the following subfield:
5 6 7 9 0 1
For each dimension, a range of indices specifying where to extract the subfield.
Subfield of input as specified by the range
parameters.
Multiply each number in a field by -1.
Multiply each number in a field by -1.
The resulting field has the same field shape and tensor shape as this
.
The negative of the input field.
Cog symbolic operators implemented using GPUOperators.