Main Lemma Repository
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

FHT.cpp 991B

12345678910111213141516171819202122232425262728293031323334
  1. /* This file is part of Lemma, a geophysical modelling and inversion API.
  2. * More information is available at http://lemmasoftware.org
  3. */
  4. /* This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. */
  8. /**
  9. * @file
  10. * @date 05/03/2018 09:44:21 AM
  11. * @version $Id$
  12. * @author Trevor Irons (ti)
  13. * @email tirons@egi.utah.edu
  14. * @copyright Copyright (c) 2018, University of Utah
  15. * @copyright Copyright (c) 2018, Lemma Software, LLC
  16. */
  17. #include "FHT.h"
  18. using namespace Lemma;
  19. int main() {
  20. // std::cout << "FHT test" << std::endl;
  21. auto fht = FHT< FHTKEY201 >::NewSP();
  22. std::cout << *fht << std::endl;
  23. std::cout << fht->GetABSER() << std::endl;
  24. auto fht1 = FHT< FHTKEY101 >::NewSP();
  25. std::cout << *fht1 << std::endl;
  26. std::cout << fht1->GetABSER() << std::endl;
  27. //auto fhtq = FHT< QWEKEY >::NewSP();
  28. }