Tests/testMatrix.cpp
/**
 * Kernel to test correct working of `set_at`
 */
Kernel to test correct working of `set_at`
Kernel to test correct working of ` set_at `
void check_set_at(Float::Ptr input, Float::Ptr result, Int index) {
  Float a = *input;
  Float b = *result;
  b.set_at(index, a);
  *result = b;
}
void check_set_at ( Float :: Ptr input , Float :: Ptr result , Int index ) { Float a = * input ; Float b = * result ; b . set_at ( index , a ) ; * result = b ; }
Kernel to test correct working of `set_at`
Kernel to test correct working of ` set_at `