Showing content from https://arrayfire.org/docs/group__array__mem__operator__eq.htm below:
ArrayFire: operator=
Assignes the value(s) of val to the elements of the af::array. More...
Assignes the value(s) of val to the elements of the af::array.
Assigns a value
◆ operator=() [1/16]
Assignes 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/16] array & operator= ( const bool & val )
Assignes 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/16]
Assignes 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/16]
Assignes 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/16] array & operator= ( const char & val )
Assignes 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/16] array & operator= ( const double & val )
Assignes 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/16] array & operator= ( const float & val )
Assignes 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/16] array & operator= ( const int & val )
Assignes 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/16] array & operator= ( const long & val )
Assignes 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/16] array & operator= ( const long long & val )
Assignes 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/16] array & operator= ( const short & val )
Assignes 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/16] array & operator= ( const unsigned & val )
Assignes 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/16] array & operator= ( const unsigned char & val )
Assignes 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/16] array & operator= ( const unsigned long & val )
Assignes 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/16] array & operator= ( const unsigned long long & val ) ◆ operator=() [16/16] array & operator= ( const unsigned short & val )
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4