update 2.0
This commit is contained in:
parent
1022227780
commit
aee70724c0
@ -1,9 +1,12 @@
|
|||||||
cmake_minimum_required(VERSION 3.15.2)
|
cmake_minimum_required(VERSION 3.15.2)
|
||||||
# 设置项目名称与语言
|
# 设置项目名称与语言
|
||||||
project(GCTL_OPTIMIZATION VERSION 1.0)
|
project(GCTL_OPTIMIZATION VERSION 2.0)
|
||||||
# 添加配置配件编写的函数
|
# 添加配置配件编写的函数
|
||||||
include(CMakePackageConfigHelpers)
|
include(CMakePackageConfigHelpers)
|
||||||
|
|
||||||
|
# ExprTK库在macOS 15.4中编译会有错误 添加以下命令对应检查项
|
||||||
|
add_compile_options(-Wno-missing-template-arg-list-after-template-kw)
|
||||||
|
|
||||||
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
message(STATUS "Platform: " ${CMAKE_HOST_SYSTEM_NAME})
|
||||||
message(STATUS "Install prefix: " ${CMAKE_INSTALL_PREFIX})
|
message(STATUS "Install prefix: " ${CMAKE_INSTALL_PREFIX})
|
||||||
message(STATUS "Processor: " ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
message(STATUS "Processor: " ${CMAKE_HOST_SYSTEM_PROCESSOR})
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
******************************************************/
|
******************************************************/
|
||||||
|
|
||||||
#include "../lib/optimization.h"
|
#include "../lib/optimization.h"
|
||||||
|
#include "gctl/math/gaussfunc.h"
|
||||||
|
|
||||||
using namespace gctl;
|
using namespace gctl;
|
||||||
|
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
#ifndef _GCTL_CLCG_H
|
#ifndef _GCTL_CLCG_H
|
||||||
#define _GCTL_CLCG_H
|
#define _GCTL_CLCG_H
|
||||||
|
|
||||||
#include "gctl/utility.h"
|
#include "gctl/core/array.h"
|
||||||
#include "gctl/core.h"
|
#include "gctl/math/gmath.h"
|
||||||
#include "gctl/maths.h"
|
#include "gctl/math/linear_algebra.h"
|
||||||
#include "gctl/algorithms.h"
|
#include "gctl/io/term_io.h"
|
||||||
|
|
||||||
#include "gctl_optimization_config.h"
|
#include "gctl_optimization_config.h"
|
||||||
#ifdef GCTL_OPTIMIZATION_TOML
|
#ifdef GCTL_OPTIMIZATION_TOML
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#define _GCTL_COMMON_GRADIENT_H
|
#define _GCTL_COMMON_GRADIENT_H
|
||||||
|
|
||||||
#include "lcg.h"
|
#include "lcg.h"
|
||||||
|
#include "gctl/io/file_io.h"
|
||||||
|
|
||||||
namespace gctl
|
namespace gctl
|
||||||
{
|
{
|
||||||
|
@ -28,10 +28,9 @@
|
|||||||
#ifndef _GCTL_LBFGS_H
|
#ifndef _GCTL_LBFGS_H
|
||||||
#define _GCTL_LBFGS_H
|
#define _GCTL_LBFGS_H
|
||||||
|
|
||||||
#include "gctl/utility.h"
|
#include "gctl/core/array.h"
|
||||||
#include "gctl/core.h"
|
#include "gctl/math/linear_algebra.h"
|
||||||
#include "gctl/maths.h"
|
#include "gctl/io/term_io.h"
|
||||||
#include "gctl/algorithms.h"
|
|
||||||
|
|
||||||
#include "gctl_optimization_config.h"
|
#include "gctl_optimization_config.h"
|
||||||
#ifdef GCTL_OPTIMIZATION_TOML
|
#ifdef GCTL_OPTIMIZATION_TOML
|
||||||
|
@ -39,9 +39,10 @@
|
|||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#endif // _WINDOWS || __WIN32__
|
#endif // _WINDOWS || __WIN32__
|
||||||
|
|
||||||
#include "gctl/utility/stream_t.h"
|
#include "gctl/core/str.h"
|
||||||
#include "gctl/utility/stream.h"
|
#include "gctl/math/linear_algebra.h"
|
||||||
#include "gctl/maths/linear_algebra.h"
|
#include "gctl/io/term_io.h"
|
||||||
|
#include "gctl/io/file_io.h"
|
||||||
|
|
||||||
namespace gctl
|
namespace gctl
|
||||||
{
|
{
|
||||||
|
@ -41,10 +41,10 @@
|
|||||||
#include "omp.h"
|
#include "omp.h"
|
||||||
#endif // GSTL_OPENMP
|
#endif // GSTL_OPENMP
|
||||||
|
|
||||||
#include "gctl/core.h"
|
#include "gctl/core/array.h"
|
||||||
#include "gctl/io.h"
|
#include "gctl/io/term_io.h"
|
||||||
#include "gctl/maths.h"
|
#include "gctl/io/file_io.h"
|
||||||
#include "gctl/algorithms.h"
|
#include "gctl/math/linear_algebra.h"
|
||||||
|
|
||||||
namespace gctl
|
namespace gctl
|
||||||
{
|
{
|
||||||
|
@ -28,9 +28,10 @@
|
|||||||
#ifndef _GCTL_SGD_H
|
#ifndef _GCTL_SGD_H
|
||||||
#define _GCTL_SGD_H
|
#define _GCTL_SGD_H
|
||||||
|
|
||||||
#include "gctl/utility.h"
|
#include "gctl/core/array.h"
|
||||||
#include "gctl/core.h"
|
#include "gctl/io/term_io.h"
|
||||||
#include "gctl/algorithms.h"
|
#include "gctl/io/file_io.h"
|
||||||
|
#include "gctl/math/linear_algebra.h"
|
||||||
|
|
||||||
#include "gctl_optimization_config.h"
|
#include "gctl_optimization_config.h"
|
||||||
#ifdef GCTL_OPTIMIZATION_TOML
|
#ifdef GCTL_OPTIMIZATION_TOML
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#ifndef _GCTL_SVD_H
|
#ifndef _GCTL_SVD_H
|
||||||
#define _GCTL_SVD_H
|
#define _GCTL_SVD_H
|
||||||
|
|
||||||
#include "gctl/core.h"
|
#include "gctl/core/array.h"
|
||||||
#include "gctl/algorithms.h"
|
#include "gctl/math/linear_algebra.h"
|
||||||
|
|
||||||
namespace gctl
|
namespace gctl
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user