[][src]Function arrayfire::transform_coords

pub fn transform_coords<T>(tf: &Array<T>, d0: f32, d1: f32) -> Array<T> where
    T: HasAfEnum + RealFloating

Transform input coordinates

The transform function uses a perspective transform matrix to transform input coordinates (given as two dimensions) into a coordinates matrix.

The output is a 4x2 matrix, indicating the coordinates of the 4 bidimensional transformed points.


Return Values

Transformed coordinates