|
Stratax 0.2.0
|
Go to the source code of this file.
Functions | |
| template<Array A> requires Integer<typename A::value_type> | |
| void | require_same_bitwise_shape (const A &lhs, const A &rhs) |
| Verifies that two arrays have the same shape before bitwise operations. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A | operator~ (const A &value) |
| Applies bitwise NOT to each element of an integer array. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A | operator& (const A &lhs, const A &rhs) |
| Applies element-wise bitwise AND between two arrays. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A | operator| (const A &lhs, const A &rhs) |
| Applies element-wise bitwise OR between two arrays. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A | operator^ (const A &lhs, const A &rhs) |
| Applies element-wise bitwise XOR between two arrays. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A | operator<< (const A &lhs, const A &rhs) |
| Applies element-wise left shift using per-element shift counts. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A | operator>> (const A &lhs, const A &rhs) |
| Applies element-wise right shift using per-element shift counts. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A | operator& (const A &lhs, const Scalar &rhs) |
| Applies bitwise AND between each array element and a scalar. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A | operator| (const A &lhs, const Scalar &rhs) |
| Applies bitwise OR between each array element and a scalar. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A | operator^ (const A &lhs, const Scalar &rhs) |
| Applies bitwise XOR between each array element and a scalar. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A | operator<< (const A &lhs, const Scalar &rhs) |
| Left-shifts each array element by a scalar shift count. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A | operator>> (const A &lhs, const Scalar &rhs) |
| Right-shifts each array element by a scalar shift count. | |
| template<Integer Scalar, Array A> requires Integer<typename A::value_type> | |
| A | operator& (const Scalar &lhs, const A &rhs) |
| Applies bitwise AND between a scalar and each array element. | |
| template<Integer Scalar, Array A> requires Integer<typename A::value_type> | |
| A | operator| (const Scalar &lhs, const A &rhs) |
| Applies bitwise OR between a scalar and each array element. | |
| template<Integer Scalar, Array A> requires Integer<typename A::value_type> | |
| A | operator^ (const Scalar &lhs, const A &rhs) |
| Applies bitwise XOR between a scalar and each array element. | |
| template<Integer Scalar, Array A> requires Integer<typename A::value_type> | |
| A | operator<< (const Scalar &lhs, const A &rhs) |
| Left-shifts a scalar value by each array element as shift count. | |
| template<Integer Scalar, Array A> requires Integer<typename A::value_type> | |
| A | operator>> (const Scalar &lhs, const A &rhs) |
| Right-shifts a scalar value by each array element as shift count. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A & | operator&= (A &lhs, const A &rhs) |
| Applies element-wise bitwise AND assignment. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A & | operator|= (A &lhs, const A &rhs) |
| Applies element-wise bitwise OR assignment. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A & | operator^= (A &lhs, const A &rhs) |
| Applies element-wise bitwise XOR assignment. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A & | operator<<= (A &lhs, const A &rhs) |
| Applies element-wise left-shift assignment. | |
| template<Array A> requires Integer<typename A::value_type> | |
| A & | operator>>= (A &lhs, const A &rhs) |
| Applies element-wise right-shift assignment. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A & | operator&= (A &lhs, const Scalar &rhs) |
| Applies bitwise AND assignment with a scalar. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A & | operator|= (A &lhs, const Scalar &rhs) |
| Applies bitwise OR assignment with a scalar. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A & | operator^= (A &lhs, const Scalar &rhs) |
| Applies bitwise XOR assignment with a scalar. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A & | operator<<= (A &lhs, const Scalar &rhs) |
| Applies left-shift assignment with a scalar shift count. | |
| template<Array A, Integer Scalar> requires Integer<typename A::value_type> | |
| A & | operator>>= (A &lhs, const Scalar &rhs) |
| Applies right-shift assignment with a scalar shift count. | |
| A operator& | ( | const A & | lhs, |
| const A & | rhs ) |
Applies element-wise bitwise AND between two arrays.
| lhs | Left-hand operand. |
| rhs | Right-hand operand. |
Definition at line 56 of file Bitwise.hpp.
| A operator& | ( | const A & | lhs, |
| const Scalar & | rhs ) |
Applies bitwise AND between each array element and a scalar.
Definition at line 193 of file Bitwise.hpp.
| A operator& | ( | const Scalar & | lhs, |
| const A & | rhs ) |
Applies bitwise AND between a scalar and each array element.
Definition at line 305 of file Bitwise.hpp.
| A & operator&= | ( | A & | lhs, |
| const A & | rhs ) |
Applies element-wise bitwise AND assignment.
| lhs | Left-hand operand to modify. |
| rhs | Right-hand operand. |
Definition at line 393 of file Bitwise.hpp.
| A & operator&= | ( | A & | lhs, |
| const Scalar & | rhs ) |
Applies bitwise AND assignment with a scalar.
Definition at line 470 of file Bitwise.hpp.
| A operator<< | ( | const A & | lhs, |
| const A & | rhs ) |
Applies element-wise left shift using per-element shift counts.
| lhs | Value operand array. |
| rhs | Shift-count operand array. |
Definition at line 137 of file Bitwise.hpp.
| A operator<< | ( | const A & | lhs, |
| const Scalar & | rhs ) |
Left-shifts each array element by a scalar shift count.
Definition at line 259 of file Bitwise.hpp.
| A operator<< | ( | const Scalar & | lhs, |
| const A & | rhs ) |
Left-shifts a scalar value by each array element as shift count.
Definition at line 347 of file Bitwise.hpp.
| A & operator<<= | ( | A & | lhs, |
| const A & | rhs ) |
Applies element-wise left-shift assignment.
| lhs | Left-hand value operand to modify. |
| rhs | Right-hand shift-count operand. |
Definition at line 438 of file Bitwise.hpp.
| A & operator<<= | ( | A & | lhs, |
| const Scalar & | rhs ) |
Applies left-shift assignment with a scalar shift count.
Definition at line 515 of file Bitwise.hpp.
| A operator>> | ( | const A & | lhs, |
| const A & | rhs ) |
Applies element-wise right shift using per-element shift counts.
| lhs | Value operand array. |
| rhs | Shift-count operand array. |
Definition at line 164 of file Bitwise.hpp.
| A operator>> | ( | const A & | lhs, |
| const Scalar & | rhs ) |
Right-shifts each array element by a scalar shift count.
Definition at line 281 of file Bitwise.hpp.
| A operator>> | ( | const Scalar & | lhs, |
| const A & | rhs ) |
Right-shifts a scalar value by each array element as shift count.
Definition at line 369 of file Bitwise.hpp.
| A & operator>>= | ( | A & | lhs, |
| const A & | rhs ) |
Applies element-wise right-shift assignment.
| lhs | Left-hand value operand to modify. |
| rhs | Right-hand shift-count operand. |
Definition at line 453 of file Bitwise.hpp.
| A & operator>>= | ( | A & | lhs, |
| const Scalar & | rhs ) |
Applies right-shift assignment with a scalar shift count.
Definition at line 530 of file Bitwise.hpp.
| A operator^ | ( | const A & | lhs, |
| const A & | rhs ) |
Applies element-wise bitwise XOR between two arrays.
| lhs | Left-hand operand. |
| rhs | Right-hand operand. |
Definition at line 110 of file Bitwise.hpp.
| A operator^ | ( | const A & | lhs, |
| const Scalar & | rhs ) |
Applies bitwise XOR between each array element and a scalar.
Definition at line 237 of file Bitwise.hpp.
| A operator^ | ( | const Scalar & | lhs, |
| const A & | rhs ) |
Applies bitwise XOR between a scalar and each array element.
Definition at line 333 of file Bitwise.hpp.
| A & operator^= | ( | A & | lhs, |
| const A & | rhs ) |
Applies element-wise bitwise XOR assignment.
| lhs | Left-hand operand to modify. |
| rhs | Right-hand operand. |
Definition at line 423 of file Bitwise.hpp.
| A & operator^= | ( | A & | lhs, |
| const Scalar & | rhs ) |
Applies bitwise XOR assignment with a scalar.
Definition at line 500 of file Bitwise.hpp.
| A operator| | ( | const A & | lhs, |
| const A & | rhs ) |
Applies element-wise bitwise OR between two arrays.
| lhs | Left-hand operand. |
| rhs | Right-hand operand. |
Definition at line 83 of file Bitwise.hpp.
| A operator| | ( | const A & | lhs, |
| const Scalar & | rhs ) |
Applies bitwise OR between each array element and a scalar.
Definition at line 215 of file Bitwise.hpp.
| A operator| | ( | const Scalar & | lhs, |
| const A & | rhs ) |
Applies bitwise OR between a scalar and each array element.
Definition at line 319 of file Bitwise.hpp.
| A & operator|= | ( | A & | lhs, |
| const A & | rhs ) |
Applies element-wise bitwise OR assignment.
| lhs | Left-hand operand to modify. |
| rhs | Right-hand operand. |
Definition at line 408 of file Bitwise.hpp.
| A & operator|= | ( | A & | lhs, |
| const Scalar & | rhs ) |
Applies bitwise OR assignment with a scalar.
Definition at line 485 of file Bitwise.hpp.
Applies bitwise NOT to each element of an integer array.
| value | Input array. |
Definition at line 32 of file Bitwise.hpp.
| void require_same_bitwise_shape | ( | const A & | lhs, |
| const A & | rhs ) |
Verifies that two arrays have the same shape before bitwise operations.
| lhs | Left-hand operand. |
| rhs | Right-hand operand. |
Definition at line 14 of file Bitwise.hpp.