UnaryF64.cpp 870 B

12345678910111213141516171819202122232425262728293031323334
  1. #include "UnaryF64.h"
  2. #include "Error.h"
  3. void UnaryF64::test_mat_inverse_f64()
  4. {
  5. arm_mat_inverse_f64(&this->in1,&this->out);
  6. }
  7. void UnaryF64::setUp(Testing::testID_t id,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr)
  8. {
  9. std::vector<Testing::param_t>::iterator it = params.begin();
  10. this->nbr = *it++;
  11. this->nbc = *it;
  12. input1.reload(UnaryF64::INPUTA_F64_ID,mgr,this->nbr*this->nbc);
  13. output.create(this->nbr*this->nbc,UnaryF64::OUT_F64_ID,mgr);
  14. this->in1.numRows = this->nbr;
  15. this->in1.numCols = this->nbc;
  16. this->in1.pData = input1.ptr();
  17. this->out.numRows = this->nbr;
  18. this->out.numCols = this->nbc;
  19. this->out.pData = output.ptr();
  20. }
  21. void UnaryF64::tearDown(Testing::testID_t id,Client::PatternMgr *mgr)
  22. {
  23. }