My Project

Adds and assigns the value(s) of val to the elements of the af::array. More...

arrayoperator+= (const array &val)
 Adds the value(s) of val to the elements of the array.
 
arrayoperator+= (const double &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const cdouble &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const cfloat &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const float &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const int &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const unsigned &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const bool &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const char &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const unsigned char &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const long &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const unsigned long &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const long long &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const unsigned long long &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const short &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 
arrayoperator+= (const unsigned short &val)
 Adds the value(s) of val to the elements of the array. (const array &)
 

Detailed Description

Adds and assigns the value(s) of val to the elements of the af::array.

Adds and assigns values


Function Documentation

◆ operator+=() [1/16]

array & operator+= ( const array val)

Adds the value(s) of val to the elements of the array.

Parameters
[in]valis 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/16]

array & operator+= ( const bool val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [3/16]

array & operator+= ( const cdouble val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [4/16]

array & operator+= ( const cfloat val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [5/16]

array & operator+= ( const char val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [6/16]

array & operator+= ( const double val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [7/16]

array & operator+= ( const float val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [8/16]

array & operator+= ( const int val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [9/16]

array & operator+= ( const long val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [10/16]

array & operator+= ( const long long val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [11/16]

array & operator+= ( const short val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [12/16]

array & operator+= ( const unsigned val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [13/16]

array & operator+= ( const unsigned char val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [14/16]

array & operator+= ( const unsigned long val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [15/16]

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)

◆ operator+=() [16/16]

array & operator+= ( const unsigned short val)

Adds the value(s) of val to the elements of the array. (const array &)

Parameters
[in]valis 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. (const array &)