This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 2.8) | |
| function(use_llvm TARGET) | |
| message("ARGC=\"${ARGC}\"") | |
| message("ARGN=\"${ARGN}\"") | |
| message("ARGV=\"${ARGV}\"") | |
| message("ARGV0=\"${ARGV0}\"") | |
| message("ARGV1=\"${ARGV1}\"") | |
| endfunction() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Copyright (c) 2015 Michael Tao | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This file (with a leading space) exists so that the gist has a sensible name, rather than "LICENSE." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <chrono> | |
| #include <ctime> | |
| #include <cmath> | |
| class Timer | |
| { | |
| public: | |
| void start() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| RALIGN - Rigid alignment of two sets of points in k-dimensional | |
| Euclidean space. Given two sets of points in | |
| correspondence, this function computes the scaling, | |
| rotation, and translation that define the transform TR | |
| that minimizes the sum of squared errors between TR(X) | |
| and its corresponding points in Y. This routine takes | |
| O(n k^3)-time. | |
| Inputs: |