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. (const array &) More...
 
array & operator+= (const cdouble &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const cfloat &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const float &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const int &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const unsigned &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const bool &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const char &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const unsigned char &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const long &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const unsigned long &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const long long &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const unsigned long long &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const short &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 
array & operator+= (const unsigned short &val)
 Adds the value(s) of val to the elements of the array. (const array &) More...
 

Detailed Description

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

Adds and assigns values


Function Documentation

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.
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 &)
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 &)
array& operator+= ( const unsigned 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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)
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 &)