Functions | |
template<arbb_scalar_type_t S> | |
isize | arbb::compare (const scalar< S > &a, const scalar< S > &b) |
Determines whether a is smaller than, equal to, or greater than b , and returns -1, 0, or 1 respectively. | |
template<arbb_scalar_type_t S> | |
isize | arbb::compare (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Determines whether a is smaller than, equal to, or greater than b , and returns -1, 0, or 1 respectively. | |
template<arbb_scalar_type_t S> | |
isize | arbb::compare (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Determines whether a is smaller than, equal to, or greater than b , and returns -1, 0, or 1 respectively. | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator== (const scalar< S > &a, const scalar< S > &b) |
Returns true if a is equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator== (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns true if a is equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator== (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns true if a is equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator>= (const scalar< S > &a, const scalar< S > &b) |
Returns true if a is greater than or equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator>= (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns true if a is greater than or equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator>= (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns true if a is greater than or equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator> (const scalar< S > &a, const scalar< S > &b) |
Returns true if a is strictly greater than b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator> (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns true if a is strictly greater than b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator> (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns true if a is strictly greater than b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator<= (const scalar< S > &a, const scalar< S > &b) |
Returns true if a is less than or equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator<= (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns true if a is less than or equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator<= (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns true if a is less than or equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator< (const scalar< S > &a, const scalar< S > &b) |
Returns true if a is strictly less than b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator< (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns true if a is strictly less than b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator< (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns true if a is strictly less than b . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::max (const scalar< S > &a, const scalar< S > &b) |
Returns a if a > b . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::max (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns a if a > b . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::max (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns a if a > b . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::min (const scalar< S > &a, const scalar< S > &b) |
Returns a if a < b . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::min (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns a if a < b . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::min (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns a if a < b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator!= (const scalar< S > &a, const scalar< S > &b) |
Returns true if a is not equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator!= (const scalar< S > &a, const typename uncaptured< scalar< S > >::type &b) |
Returns true if a is not equal to b . | |
template<arbb_scalar_type_t S> | |
boolean | arbb::operator!= (const typename uncaptured< scalar< S > >::type &a, const scalar< S > &b) |
Returns true if a is not equal to b . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::select (const boolean &condition, const scalar< S > &true_case, const scalar< S > &false_case) |
If condition is true, returns true_case . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::select (const typename uncaptured< boolean >::type &condition, const scalar< S > &true_case, const scalar< S > &false_case) |
If condition is true, returns true_case . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::select (const boolean &condition, const scalar< S > &true_case, const typename uncaptured< scalar< S > >::type &false_case) |
If condition is true, returns true_case . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::select (const typename uncaptured< boolean >::type &condition, const scalar< S > &true_case, const typename uncaptured< scalar< S > >::type &false_case) |
If condition is true, returns true_case . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::select (const boolean &condition, const typename uncaptured< scalar< S > >::type &true_case, const scalar< S > &false_case) |
If condition is true, returns true_case . | |
template<arbb_scalar_type_t S> | |
scalar< S > | arbb::select (const typename uncaptured< boolean >::type &condition, const typename uncaptured< scalar< S > >::type &true_case, const scalar< S > &false_case) |
If condition is true, returns true_case . | |
template<typename U > | |
detail::disable_if <!detail::is_uncaptured_scalar < U >::value, typename captured< U >::type >::type | arbb::select (const boolean &condition, const U &true_case, const U &false_case) |
If condition is true, returns true_case , otherwise returns false_case . |
isize arbb::compare | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Determines whether a
is smaller than, equal to, or greater than b
, and returns -1, 0, or 1 respectively.
This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1222 of file scalar_funcs.hpp.
isize arbb::compare | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Determines whether a
is smaller than, equal to, or greater than b
, and returns -1, 0, or 1 respectively.
This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1247 of file scalar_funcs.hpp.
isize arbb::compare | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Determines whether a
is smaller than, equal to, or greater than b
, and returns -1, 0, or 1 respectively.
This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1273 of file scalar_funcs.hpp.
boolean arbb::operator== | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1540 of file scalar_funcs.hpp.
boolean arbb::operator== | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns true if a
is equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1565 of file scalar_funcs.hpp.
boolean arbb::operator== | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1591 of file scalar_funcs.hpp.
boolean arbb::operator>= | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is greater than or equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1618 of file scalar_funcs.hpp.
boolean arbb::operator>= | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns true if a
is greater than or equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1643 of file scalar_funcs.hpp.
boolean arbb::operator>= | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is greater than or equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1669 of file scalar_funcs.hpp.
boolean arbb::operator> | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is strictly greater than b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1696 of file scalar_funcs.hpp.
boolean arbb::operator> | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns true if a
is strictly greater than b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1721 of file scalar_funcs.hpp.
boolean arbb::operator> | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is strictly greater than b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1747 of file scalar_funcs.hpp.
boolean arbb::operator<= | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is less than or equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1939 of file scalar_funcs.hpp.
boolean arbb::operator<= | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns true if a
is less than or equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1964 of file scalar_funcs.hpp.
boolean arbb::operator<= | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is less than or equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 1990 of file scalar_funcs.hpp.
boolean arbb::operator< | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is strictly less than b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2017 of file scalar_funcs.hpp.
boolean arbb::operator< | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns true if a
is strictly less than b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2042 of file scalar_funcs.hpp.
boolean arbb::operator< | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is strictly less than b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2068 of file scalar_funcs.hpp.
scalar<S> arbb::max | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns a
if a
> b
.
Otherwise, returns b
. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2386 of file scalar_funcs.hpp.
scalar<S> arbb::max | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns a
if a
> b
.
Otherwise, returns b
. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2411 of file scalar_funcs.hpp.
scalar<S> arbb::max | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns a
if a
> b
.
Otherwise, returns b
. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2437 of file scalar_funcs.hpp.
scalar<S> arbb::min | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns a
if a
< b
.
Otherwise, returns b
. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2464 of file scalar_funcs.hpp.
scalar<S> arbb::min | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns a
if a
< b
.
Otherwise, returns b
. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2489 of file scalar_funcs.hpp.
scalar<S> arbb::min | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns a
if a
< b
.
Otherwise, returns b
. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2515 of file scalar_funcs.hpp.
boolean arbb::operator!= | ( | const scalar< S > & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is not equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2866 of file scalar_funcs.hpp.
boolean arbb::operator!= | ( | const scalar< S > & | a, | |
const typename uncaptured< scalar< S > >::type & | b | |||
) | [inline] |
Returns true if a
is not equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2891 of file scalar_funcs.hpp.
boolean arbb::operator!= | ( | const typename uncaptured< scalar< S > >::type & | a, | |
const scalar< S > & | b | |||
) | [inline] |
Returns true if a
is not equal to b
.
Otherwise, returns false. This function applies to scalars of any type.
a | The first operand to be compared. | |
b | The second operand to be compared. |
Definition at line 2917 of file scalar_funcs.hpp.
scalar<S> arbb::select | ( | const boolean & | condition, | |
const scalar< S > & | true_case, | |||
const scalar< S > & | false_case | |||
) | [inline] |
If condition
is true, returns true_case
.
Otherwise, returns false_case
. This function applies to scalars of any type.
condition | The condition used to choose between the two inputs. | |
true_case | The value to be returned if the condition is true. | |
false_case | The value to be returned if the condition is false. |
Definition at line 3491 of file scalar_funcs.hpp.
scalar<S> arbb::select | ( | const typename uncaptured< boolean >::type & | condition, | |
const scalar< S > & | true_case, | |||
const scalar< S > & | false_case | |||
) | [inline] |
If condition
is true, returns true_case
.
Otherwise, returns false_case
. This function applies to scalars of any type.
condition | The condition used to choose between the two inputs. | |
true_case | The value to be returned if the condition is true. | |
false_case | The value to be returned if the condition is false. |
Definition at line 3517 of file scalar_funcs.hpp.
scalar<S> arbb::select | ( | const boolean & | condition, | |
const scalar< S > & | true_case, | |||
const typename uncaptured< scalar< S > >::type & | false_case | |||
) | [inline] |
If condition
is true, returns true_case
.
Otherwise, returns false_case
. This function applies to scalars of any type.
condition | The condition used to choose between the two inputs. | |
true_case | The value to be returned if the condition is true. | |
false_case | The value to be returned if the condition is false. |
Definition at line 3544 of file scalar_funcs.hpp.
scalar<S> arbb::select | ( | const typename uncaptured< boolean >::type & | condition, | |
const scalar< S > & | true_case, | |||
const typename uncaptured< scalar< S > >::type & | false_case | |||
) | [inline] |
If condition
is true, returns true_case
.
Otherwise, returns false_case
. This function applies to scalars of any type.
condition | The condition used to choose between the two inputs. | |
true_case | The value to be returned if the condition is true. | |
false_case | The value to be returned if the condition is false. |
Definition at line 3571 of file scalar_funcs.hpp.
scalar<S> arbb::select | ( | const boolean & | condition, | |
const typename uncaptured< scalar< S > >::type & | true_case, | |||
const scalar< S > & | false_case | |||
) | [inline] |
If condition
is true, returns true_case
.
Otherwise, returns false_case
. This function applies to scalars of any type.
condition | The condition used to choose between the two inputs. | |
true_case | The value to be returned if the condition is true. | |
false_case | The value to be returned if the condition is false. |
Definition at line 3599 of file scalar_funcs.hpp.
scalar<S> arbb::select | ( | const typename uncaptured< boolean >::type & | condition, | |
const typename uncaptured< scalar< S > >::type & | true_case, | |||
const scalar< S > & | false_case | |||
) | [inline] |
If condition
is true, returns true_case
.
Otherwise, returns false_case
. This function applies to scalars of any type.
condition | The condition used to choose between the two inputs. | |
true_case | The value to be returned if the condition is true. | |
false_case | The value to be returned if the condition is false. |
Definition at line 3626 of file scalar_funcs.hpp.
detail::disable_if<!detail::is_uncaptured_scalar<U>::value, typename captured<U>::type>::type arbb::select | ( | const boolean & | condition, | |
const U & | true_case, | |||
const U & | false_case | |||
) | [inline] |
If condition
is true, returns true_case
, otherwise returns false_case
.
This function applies to scalars of any type.
condition | The condition used to choose between the two inputs. | |
true_case | The value to be returned if the condition is true. | |
false_case | The value to be returned if the condition is false. |
Definition at line 3763 of file scalar_funcs.hpp.
Copyright © 2010, Intel Corporation. All rights reserved.