22 lines
230 B
C++
22 lines
230 B
C++
#pragma once
|
|
|
|
|
|
#include "./utils/vector.h"
|
|
#include "./utils/matrix.h"
|
|
|
|
|
|
namespace numerics{
|
|
|
|
template <typename T>
|
|
T min(const T a, const T b){
|
|
|
|
if(a < b){
|
|
return a;
|
|
}else{
|
|
return b;
|
|
}
|
|
}
|
|
|
|
} // namespace numerics
|
|
|