ArrayFire: operator+= (original) (raw)
Adds and assigns the value(s) of val to the elements of the af::array. More...
| array & | operator+= (const array &val) |
|---|---|
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const double &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const cdouble &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const cfloat &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const float &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const int &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const unsigned &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const bool &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const char &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const unsigned char &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const long &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const unsigned long &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const long long &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const unsigned long long &val) |
| array & | operator+= (const short &val) |
| Adds the value(s) of val to the elements of the array. More... | |
| array & | operator+= (const unsigned short &val) |
| array & | operator+= (const signed char &val) |
| Adds the value(s) of val to the elements of the array. More... | |
Adds and assigns the value(s) of val to the elements of the af::array.
Adds and assigns values
◆ operator+=() [1/17]
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [2/17]
| array & operator+= | ( | const bool & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [3/17]
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [4/17]
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [5/17]
| array & operator+= | ( | const char & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [6/17]
| array & operator+= | ( | const double & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [7/17]
| array & operator+= | ( | const float & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [8/17]
| array & operator+= | ( | const int & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [9/17]
| array & operator+= | ( | const long & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [10/17]
| array & operator+= | ( | const long long & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [11/17]
| array & operator+= | ( | const short & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [12/17]
| array & operator+= | ( | const signed char & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [13/17]
| array & operator+= | ( | const unsigned & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [14/17]
| array & operator+= | ( | const unsigned char & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [15/17]
| array & operator+= | ( | const unsigned long & | val | ) |
|---|
Adds the value(s) of val to the elements of the array.
Parameters
| [in] | val | is the value to be assigned to the /ref af::array |
|---|
Returns
the reference to this
Note
This is a copy on write operation. The copy only occurs when the operator() is used on the left hand side.
◆ operator+=() [16/17]
| array & operator+= | ( | const unsigned long long & | val | ) |
|---|
◆ operator+=() [17/17]
| array & operator+= | ( | const unsigned short & | val | ) |
|---|