Divide one input by another. More...

Functions

AFAPI af_err af_div (af_array *out, const af_array lhs, const af_array rhs, const bool batch)
 C Interface for dividing an array by another. More...
 
AFAPI array operator/ (const array &lhs, const array &rhs)
 Divides two arrays or an array and a value. More...
 
AFAPI array operator/ (const bool &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const int &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const unsigned &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const char &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const unsigned char &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const long &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const unsigned long &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const long long &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const unsigned long long &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const double &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const float &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const cfloat &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const cdouble &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const bool &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const int &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const unsigned &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const char &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const unsigned char &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const long &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const unsigned long &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const long long &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const unsigned long long &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const double &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const float &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const cfloat &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const cdouble &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const short &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const unsigned short &lhs, const array &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const short &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 
AFAPI array operator/ (const array &lhs, const unsigned short &rhs)
 Divides two arrays or an array and a value. (const array&, const array&) More...
 

Detailed Description

Divide one input by another.

Function Documentation

AFAPI af_err af_div ( af_array out,
const af_array  lhs,
const af_array  rhs,
const bool  batch 
)

C Interface for dividing an array by another.

Parameters
[out]outwill contain result of lhs / rhs.
[in]lhsfirst input
[in]rhssecond input
[in]batchspecifies if operations need to be performed in batch mode
Returns
AF_SUCCESS if the execution completes properly
AFAPI array af::operator/ ( const array lhs,
const unsigned short &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const short &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const unsigned short &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const short &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const cdouble rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const cfloat rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const float &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const double &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const unsigned long long &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const long long &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const unsigned long &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const long &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const unsigned char &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const char &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const unsigned &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const int &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const bool &  rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const cdouble lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const cfloat lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const float &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const double &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const unsigned long long &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const long long &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const unsigned long &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const long &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const unsigned char &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const char &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const unsigned &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const int &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const bool &  lhs,
const array rhs 
)

Divides two arrays or an array and a value. (const array&, const array&)

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs (const array&, const array&)
AFAPI array af::operator/ ( const array lhs,
const array rhs 
)

Divides two arrays or an array and a value.

Parameters
[in]lhsthe left hand side value of the operand
[in]rhsthe right hand side value of the operand
Returns
an array which is the quotient of the lhs and rhs