A high-performance general-purpose compute library
arrayoperator-= (const array &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const double &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const cdouble &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const cfloat &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const float &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const int &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const unsigned &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const bool &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const char &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const unsigned char &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const long &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const unsigned long &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const long long &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const unsigned long long &val)
 
arrayoperator-= (const short &val)
 Subtracts the value(s) of val to the elements of the array.
 
arrayoperator-= (const unsigned short &val)
 

Detailed Description

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

Substracts and assigns values


Function Documentation

◆ operator-=() [1/16]

array & operator-= ( const array & val)

Subtracts 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)

Subtracts 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-=() [3/16]

array & operator-= ( const cdouble & val)

Subtracts 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-=() [4/16]

array & operator-= ( const cfloat & val)

Subtracts 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-=() [5/16]

array & operator-= ( const char & val)

Subtracts 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-=() [6/16]

array & operator-= ( const double & val)

Subtracts 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-=() [7/16]

array & operator-= ( const float & val)

Subtracts 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-=() [8/16]

array & operator-= ( const int & val)

Subtracts 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-=() [9/16]

array & operator-= ( const long & val)

Subtracts 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-=() [10/16]

array & operator-= ( const long long & val)

Subtracts 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-=() [11/16]

array & operator-= ( const short & val)

Subtracts 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-=() [12/16]

array & operator-= ( const unsigned & val)

Subtracts 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-=() [13/16]

Subtracts 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-=() [14/16]

Subtracts 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-=() [15/16]

◆ operator-=() [16/16]