Computes the mod. More...

array mod (const array &x, const array &y)
 Compute x - n * y where n is quotient of x / y. More...
 
array mod (const array &x, const double y)
 Compute x - n * y where n is quotient of x / y. More...
 
array mod (const double x, const array &y)
 Compute x - n * y where n is quotient of x / y. More...
 

Detailed Description

Computes the mod.

Computes the mod of two array.

Function Documentation

array af::mod ( const array &  x,
const array &  y 
)

Compute x - n * y where n is quotient of x / y.

Round toward zero.

array af::mod ( const array &  x,
const double  y 
)

Compute x - n * y where n is quotient of x / y.

Round toward zero.

array af::mod ( const double  x,
const array &  y 
)

Compute x - n * y where n is quotient of x / y.

Round toward zero.