repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
intel-extension-for-pytorch | intel-extension-for-pytorch-master/csrc/utils/CustomOperatorRegistration.h | #pragma once
#include <ATen/ATen.h>
#include <ATen/native/quantized/PackedParams.h>
#include "ATen/core/dispatch/Dispatcher.h"
#include "ATen/core/dispatch/OperatorEntry.h"
#include "torch/library.h"
namespace torch_ipex {
namespace {
template <typename T, int N>
struct TypeSelector {
template <typename... Args>
v... | 6,093 | 39.899329 | 79 | h |
intel-extension-for-pytorch | intel-extension-for-pytorch-master/intel_extension_for_pytorch/csrc/cpu/TaskModule.h | #pragma once
#include <cassert>
#include <functional>
#include <future>
#include <iostream>
#include <memory>
#include <stdexcept>
#include <vector>
#include <ATen/core/ivalue.h>
#include <torch/csrc/jit/api/module.h>
#include <torch/csrc/jit/python/pybind_utils.h>
#include <torch/csrc/utils/pybind.h>
#include "TaskE... | 1,815 | 26.938462 | 79 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/pgccfeatures.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 5,915 | 29.338462 | 101 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/sse.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 10,004 | 34.604982 | 115 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/msvcfeatures.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 5,068 | 24.218905 | 99 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/gccfeatures.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 7,413 | 28.895161 | 109 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/iccfeatures.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 5,967 | 27.555024 | 99 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/sunprofeatures.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 4,286 | 23.780347 | 99 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/open64features.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 2,007 | 38.372549 | 95 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/openclfeatures.h | /*
Copyright 2010-2011, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 2,794 | 30.055556 | 75 | h |
nested-risk-mlmc | nested-risk-mlmc-master/Random123/features/clangfeatures.h | /*
Copyright 2010-2016, D. E. Shaw Research.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions, and the f... | 3,303 | 35.711111 | 83 | h |
WaveRange | WaveRange-master/src/core/defs.h | /*
defs.h : This file is part of WaveRange CFD data compression utility
Copyright (C) 2017 Dmitry Kolomenskiy
Copyright (C) 2017 Ryo Onishi
Copyright (C) 2017 JAMSTEC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | 2,643 | 42.344262 | 133 | h |
WaveRange | WaveRange-master/src/core/trim_split.h |
#include <vector>
std::string trim(const std::string& string, const char* trimCharacterList);
std::vector<std::string> split(std::string str, char* del);
// http://program.station.ez-net.jp/special/handbook/cpp/string/trim.asp
// http://www.martinbroadhurst.com/how-to-trim-a-stdstring.html
std::string trim(const std:... | 1,210 | 27.833333 | 88 | h |
WaveRange | WaveRange-master/src/rangecod/rangecod.h | /*
rangecod.h : This file is part of WaveRange CFD data compression utility
Copyright (C) 2017 Dmitry Kolomenskiy
Copyright (C) 2017 Ryo Onishi
Copyright (C) 2017 JAMSTEC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Licens... | 8,773 | 41.182692 | 97 | h |
WaveRange | WaveRange-master/src/rangecod/port.h | /*
port.h : This file is part of WaveRange CFD data compression utility
Copyright (C) 2017 Dmitry Kolomenskiy
Copyright (C) 2017 Ryo Onishi
Copyright (C) 2017 JAMSTEC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | 1,826 | 32.218182 | 97 | h |
WaveRange | WaveRange-master/src/rangecod/rangecod.c | /*
rangecod.c : This file is part of WaveRange CFD data compression utility
Copyright (C) 2017 Dmitry Kolomenskiy
Copyright (C) 2017 Ryo Onishi
Copyright (C) 2017 JAMSTEC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Licens... | 13,893 | 33.306173 | 97 | c |
WaveRange | WaveRange-master/src/waveletcdf97_3d/waveletcdf97_3d.c | /*
waveletcdf97_3d.c : This file is part of WaveRange CFD data compression utility
Copyright (C) 2017 Dmitry Kolomenskiy
Copyright (C) 2017 Ryo Onishi
Copyright (C) 2017 JAMSTEC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public... | 20,256 | 35.499099 | 125 | c |
WaveRange | WaveRange-master/src/waveletcdf97_3d/waveletcdf97_3d.h | /*
waveletcdf97_3d.h : This file is part of WaveRange CFD data compression utility
Copyright (C) 2017 Dmitry Kolomenskiy
Copyright (C) 2017 Ryo Onishi
Copyright (C) 2017 JAMSTEC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public... | 1,789 | 40.627907 | 124 | h |
subt | subt-master/subt_rotors_controller/src/roll_pitch_yawrate_thrust_controller_node.h | /*
* Copyright 2015 Fadri Furrer, ASL, ETH Zurich, Switzerland
* Copyright 2015 Michael Burri, ASL, ETH Zurich, Switzerland
* Copyright 2015 Mina Kamel, ASL, ETH Zurich, Switzerland
* Copyright 2015 Janosch Nikolic, ASL, ETH Zurich, Switzerland
* Copyright 2015 Markus Achtelik, ASL, ETH Zurich, Switzerland
*
* L... | 2,145 | 30.558824 | 95 | h |
subt | subt-master/subt-communication/subt_communication_broker/include/subt_communication_broker/subt_communication_client.h | /*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 11,383 | 42.784615 | 83 | h |
subt | subt-master/subt-communication/subt_communication_broker/include/subt_communication_broker/subt_communication_broker.h | /*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 7,481 | 37.96875 | 95 | h |
subt | subt-master/subt-communication/subt_communication_broker/include/subt_communication_broker/common_types.h | /*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 3,124 | 30.25 | 75 | h |
subt | subt-master/subt-communication/subt_communication_model/include/subt_communication_model/subt_communication_model.h | /*
* Copyright (C) 2019 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 3,584 | 34.85 | 80 | h |
subt | subt-master/subt-communication/subt_rf_interface/include/subt_rf_interface/subt_rf_model.h | /*
* Copyright (C) 2019 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 4,500 | 34.440945 | 75 | h |
subt | subt-master/subt-communication/subt_rf_interface/include/subt_rf_interface/subt_rf_interface.h | /*
* Copyright (C) 2019 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 2,619 | 33.025974 | 75 | h |
null | t5-experiments-main/megatron/fused_kernels/type_shim.h | /* coding=utf-8
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | 2,557 | 26.804348 | 80 | h |
null | t5-experiments-main/megatron/fused_kernels/compat.h | /* coding=utf-8
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | 895 | 27 | 75 | h |
structmcmc | structmcmc-master/src/structmcmc.c | /*
* R : A Computer Langage for Statistical Data Analysis
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
* Copyright (C) 1999-2012 The R Core Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... | 5,142 | 20.252066 | 76 | c |
astro-accelerate | astro-accelerate-master/lib/AstroAccelerate/PPF/GPU/cache/16bit/utils_cuda.h | #ifndef UTILS_H__
#define UTILS_H__
#include <iostream>
#include <iomanip>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)
template<typename T>
void check(T err, const char* const func,... | 2,957 | 31.505495 | 133 | h |
astro-accelerate | astro-accelerate-master/lib/AstroAccelerate/PPF/GPU/cache/32bit/utils_cuda.h | #ifndef UTILS_H__
#define UTILS_H__
#include <iostream>
#include <iomanip>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)
template<typename T>
void check(T err, const char* const func,... | 2,957 | 31.505495 | 133 | h |
astro-accelerate | astro-accelerate-master/lib/AstroAccelerate/PPF/GPU/cache/8bit/utils_cuda.h | #ifndef UTILS_H__
#define UTILS_H__
#include <iostream>
#include <iomanip>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)
template<typename T>
void check(T err, const char* const func,... | 2,957 | 31.505495 | 133 | h |
astro-accelerate | astro-accelerate-master/lib/AstroAccelerate/PPF/GPU/SM/16bit/utils_cuda.h | #ifndef UTILS_H__
#define UTILS_H__
#include <iostream>
#include <iomanip>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)
template<typename T>
void check(T err, const char* const func,... | 2,957 | 31.505495 | 133 | h |
astro-accelerate | astro-accelerate-master/lib/AstroAccelerate/PPF/GPU/SM/32bit/utils_cuda.h | #ifndef UTILS_H__
#define UTILS_H__
#include <iostream>
#include <iomanip>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)
template<typename T>
void check(T err, const char* const func,... | 2,957 | 31.505495 | 133 | h |
astro-accelerate | astro-accelerate-master/lib/AstroAccelerate/PPF/GPU/SM/8bit/utils_cuda.h | #ifndef UTILS_H__
#define UTILS_H__
#include <iostream>
#include <iomanip>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cassert>
#include <cmath>
#define checkCudaErrors(val) check( (val), #val, __FILE__, __LINE__)
template<typename T>
void check(T err, const char* const func,... | 2,957 | 31.505495 | 133 | h |
null | hpddm-main/examples/schwarz.h | /*
This file is part of HPDDM.
Author(s): Pierre Jolivet <pierre@joliv.et>
Date: 2015-10-29
Copyright (C) 2015 Eidgenössische Technische Hochschule Zürich
2016- Centre National de la Recherche Scientifique
HPDDM is free software: you can redistribute it and/or modify
... | 1,314 | 29.581395 | 120 | h |
null | hpddm-main/examples/custom_operator.c | /*
This file is part of HPDDM.
Author(s): Pierre Jolivet <pierre@joliv.et>
Date: 2020-05-07
Copyright (C) 2020- Centre National de la Recherche Scientifique
HPDDM is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as publishe... | 3,247 | 32.484536 | 88 | c |
null | GraphOptim-main/3rd_party/Spectra/SymGEigsShiftSolver.h | // Copyright (C) 2020-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_GEIGS_SHIFT_SOLVER_H
#define SPECT... | 21,455 | 45.241379 | 109 | h |
null | GraphOptim-main/3rd_party/Spectra/SymEigsBase.h | // Copyright (C) 2018-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_EIGS_BASE_H
#define SPECTRA_SYM_EI... | 15,129 | 32.325991 | 127 | h |
null | GraphOptim-main/3rd_party/Spectra/JDSymEigsBase.h | // Copyright (C) 2020 Netherlands eScience Center <J.Wehner@esciencecenter.nl>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_JD_SYM_EIGS_BASE_H
... | 6,635 | 33.743455 | 110 | h |
null | GraphOptim-main/3rd_party/Spectra/SymEigsShiftSolver.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_EIGS_SHIFT_SOLVER_H
#define SPECTR... | 7,774 | 37.681592 | 98 | h |
null | GraphOptim-main/3rd_party/Spectra/SymEigsSolver.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_EIGS_SOLVER_H
#define SPECTRA_SYM_... | 6,065 | 35.763636 | 96 | h |
null | GraphOptim-main/3rd_party/Spectra/DavidsonSymEigsSolver.h | // Copyright (C) 2020 Netherlands eScience Center <f.zapata@esciencecenter.nl>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_DAVIDSON_SYM_EIGS_S... | 3,336 | 34.5 | 111 | h |
null | GraphOptim-main/3rd_party/Spectra/SymGEigsSolver.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_GEIGS_SOLVER_H
#define SPECTRA_SYM... | 13,190 | 44.329897 | 131 | h |
null | GraphOptim-main/3rd_party/Spectra/GenEigsRealShiftSolver.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_GEN_EIGS_REAL_SHIFT_SOLVER_H
#define S... | 3,518 | 39.918605 | 98 | h |
null | GraphOptim-main/3rd_party/Spectra/GenEigsComplexShiftSolver.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_GEN_EIGS_COMPLEX_SHIFT_SOLVER_H
#defin... | 6,755 | 41.225 | 120 | h |
null | GraphOptim-main/3rd_party/Spectra/GenEigsSolver.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_GEN_EIGS_SOLVER_H
#define SPECTRA_GEN_... | 5,233 | 33.893333 | 96 | h |
null | GraphOptim-main/3rd_party/Spectra/GenEigsBase.h | // Copyright (C) 2018-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_GEN_EIGS_BASE_H
#define SPECTRA_GEN_EI... | 18,186 | 33.121951 | 105 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/UpperHessenbergSchur.h | // The code was adapted from Eigen/src/Eigenvaleus/RealSchur.h
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010,2012 Jitse Niesen <jitse@maths.leeds.ac.uk>
// Copyright (C) 2021-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozi... | 16,674 | 35.973392 | 127 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/Lanczos.h | // Copyright (C) 2018-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_LANCZOS_H
#define SPECTRA_LANCZOS_H
#... | 6,282 | 35.52907 | 115 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/Orthogonalization.h | // Copyright (C) 2020 Netherlands eScience Center <f.zapata@esciencecenter.nl>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_ORTHOGONALIZATION_H... | 5,706 | 39.190141 | 107 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/RitzPairs.h | // Copyright (C) 2020 Netherlands eScience Center <n.renauld@esciencecenter.nl>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_RITZ_PAIRS_H
#defi... | 4,472 | 33.145038 | 102 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/SearchSpace.h | // Copyright (C) 2020 Netherlands eScience Center <n.renauld@esciencecenter.nl>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SEARCH_SPACE_H
#de... | 3,388 | 33.938144 | 97 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/DoubleShiftQR.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_DOUBLE_SHIFT_QR_H
#define SPECTRA_DOUB... | 14,768 | 32.489796 | 111 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/Arnoldi.h | // Copyright (C) 2018-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_ARNOLDI_H
#define SPECTRA_ARNOLDI_H
#... | 10,914 | 33.541139 | 100 | h |
null | GraphOptim-main/3rd_party/Spectra/LinAlg/TridiagEigen.h | // The code was adapted from Eigen/src/Eigenvaleus/SelfAdjointEigenSolver.h
//
// Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010 Jitse Niesen <jitse@maths.leeds.ac.uk>
// Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the term... | 7,776 | 32.666667 | 98 | h |
null | GraphOptim-main/3rd_party/Spectra/Util/GEigsMode.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_GEIGS_MODE_H
#define SPECTRA_GEIGS_MOD... | 959 | 32.103448 | 88 | h |
null | GraphOptim-main/3rd_party/Spectra/Util/Version.h | // Copyright (C) 2020-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_VERSION_H
#define SPECTRA_VERSION_H
#... | 556 | 31.764706 | 109 | h |
null | GraphOptim-main/3rd_party/Spectra/Util/SimpleRandom.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SIMPLE_RANDOM_H
#define SPECTRA_SIMPLE... | 2,841 | 27.42 | 70 | h |
null | GraphOptim-main/3rd_party/Spectra/Util/TypeTraits.h | // Copyright (C) 2018-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_TYPE_TRAITS_H
#define SPECTRA_TYPE_TRA... | 2,365 | 22.66 | 70 | h |
null | GraphOptim-main/3rd_party/Spectra/Util/CompInfo.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_COMP_INFO_H
#define SPECTRA_COMP_INFO_... | 1,213 | 31.810811 | 85 | h |
null | GraphOptim-main/3rd_party/Spectra/Util/SelectionRule.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SELECTION_RULE_H
#define SPECTRA_SELEC... | 8,908 | 28.598007 | 127 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/SparseGenMatProd.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SPARSE_GEN_MAT_PROD_H
#define SPECTRA_... | 3,470 | 31.138889 | 132 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/DenseCholesky.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_DENSE_CHOLESKY_H
#define SPECTRA_DENSE... | 4,101 | 31.555556 | 129 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/DenseGenMatProd.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_DENSE_GEN_MAT_PROD_H
#define SPECTRA_D... | 3,352 | 28.672566 | 131 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/SparseCholesky.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SPARSE_CHOLESKY_H
#define SPECTRA_SPAR... | 4,334 | 32.604651 | 130 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/DenseSymShiftSolve.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_DENSE_SYM_SHIFT_SOLVE_H
#define SPECTR... | 3,643 | 31.828829 | 134 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/DenseSymMatProd.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_DENSE_SYM_MAT_PROD_H
#define SPECTRA_D... | 3,452 | 30.972222 | 131 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/SymShiftInvert.h | // Copyright (C) 2020-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_SHIFT_INVERT_H
#define SPECTRA_SYM... | 10,177 | 40.373984 | 131 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/SparseSymMatProd.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SPARSE_SYM_MAT_PROD_H
#define SPECTRA_... | 3,695 | 32.908257 | 132 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/internal/SymGEigsBucklingOp.h | // Copyright (C) 2020-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_GEIGS_BUCKLING_OP_H
#define SPECTR... | 2,671 | 26.833333 | 79 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/internal/SymGEigsCholeskyOp.h | // Copyright (C) 2016-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_GEIGS_CHOLESKY_OP_H
#define SPECTR... | 2,548 | 27.965909 | 80 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/internal/SymGEigsShiftInvertOp.h | // Copyright (C) 2020-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_GEIGS_SHIFT_INVERT_OP_H
#define SP... | 2,702 | 27.15625 | 86 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/internal/SymGEigsCayleyOp.h | // Copyright (C) 2020-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_GEIGS_CAYLEY_OP_H
#define SPECTRA_... | 3,163 | 28.849057 | 86 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/internal/SymGEigsRegInvOp.h | // Copyright (C) 2017-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_SYM_GEIGS_REG_INV_OP_H
#define SPECTRA... | 2,330 | 26.423529 | 79 | h |
null | GraphOptim-main/3rd_party/Spectra/MatOp/internal/ArnoldiOp.h | // Copyright (C) 2018-2022 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
#ifndef SPECTRA_ARNOLDI_OP_H
#define SPECTRA_ARNOLDI_O... | 3,901 | 23.540881 | 100 | h |
null | GraphOptim-main/3rd_party/Graclus/multilevelLib/mlkkm.c | /*
* Copyright 2005,
*
* mlkkm.c
*
* This file contains the top level routines for the multilevel kernel k-means algorithm
*
*
* Started 12/2004
* Yuqiang Guan
*
* $Id: kmetis.c,v 1.1 1998/11/27 17:59:15 karypis Exp $
*
*/
#include "metisLib/metis.h"
extern int spectral_initialization;
/****************... | 8,509 | 30.992481 | 131 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/defs.h | /*
* Copyright 1997, Regents of the University of Minnesota
*
* defs.h
*
* This file contains constant definitions
*
* Started 8/27/94
* George
*
* $Id: defs.h,v 1.1 1998/11/27 17:59:13 karypis Exp $
*
*/
#define METISTITLE " METIS 4.0.1 Copyright 1998, Regents of the University of Minnesota\... | 5,040 | 26.697802 | 106 | h |
null | GraphOptim-main/3rd_party/Graclus/metisLib/macros.h | /*
* Copyright 1997, Regents of the University of Minnesota
*
* macros.h
*
* This file contains macros used in multilevel
*
* Started 9/25/94
* George
*
* $Id: macros.h,v 1.1 1998/11/27 17:59:18 karypis Exp $
*
*/
/*************************************************************************
* The following m... | 4,711 | 32.899281 | 89 | h |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mkmetis.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* mkmetis.c
*
* This file contains the top level routines for the multilevel k-way partitioning
* algorithm KMETIS.
*
* Started 7/28/97
* George
*
* $Id: mkmetis.c,v 1.2 1998/11/27 18:25:09 karypis Exp $
*
*/
#include "metis.h"
/************... | 3,833 | 29.919355 | 117 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/kmetis.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* kmetis.c
*
* This file contains the top level routines for the multilevel k-way partitioning
* algorithm KMETIS.
*
* Started 7/28/97
* George
*
* $Id: kmetis.c,v 1.1 1998/11/27 17:59:15 karypis Exp $
*
*/
#include "metis.h"
/***************... | 4,408 | 31.659259 | 118 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mutil.c | /*
* mutil.c
*
* This file contains various utility functions for the MOC portion of the
* code
*
* Started 2/15/98
* George
*
* $Id: mutil.c,v 1.1 1998/11/27 17:59:27 karypis Exp $
*
*/
#include "metis.h"
/*************************************************************************
* This function checks if... | 2,595 | 24.45098 | 96 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mbalance2.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* mbalance2.c
*
* This file contains code that is used to forcefully balance either
* bisections or k-sections
*
* Started 7/29/97
* George
*
* $Id: mbalance2.c,v 1.1 1998/11/27 17:59:19 karypis Exp $
*
*/
#include "metis.h"
/****************... | 9,861 | 28.975684 | 120 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mincover.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* mincover.c
*
* This file implements the minimum cover algorithm
*
* Started 8/1/97
* George
*
* $Id: mincover.c,v 1.1 1998/11/27 17:59:22 karypis Exp $
*/
#include "metis.h"
/********************************************************************... | 7,243 | 26.861538 | 121 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mmatch.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* mmatch.c
*
* This file contains the code that computes matchings and creates the next
* level coarse graph.
*
* Started 7/23/97
* George
*
* $Id: mmatch.c,v 1.3 1998/11/30 14:50:44 karypis Exp $
*
*/
#include "metis.h"
/********************... | 13,343 | 25.319527 | 110 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/fortran.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* fortran.c
*
* This file contains code for the fortran to C interface
*
* Started 8/19/97
* George
*
* $Id: fortran.c,v 1.1 1998/11/27 17:59:14 karypis Exp $
*
*/
#include "metis.h"
/***********************************************************... | 3,351 | 22.605634 | 97 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/rename.h | /*
* Copyright 1997, Regents of the University of Minnesota
*
* rename.h
*
* This file contains header files
*
* Started 10/2/97
* George
*
* $Id: rename.h,v 1.1 1998/11/27 17:59:29 karypis Exp $
*
*/
/* balance.c */
#define Balance2Way __Balance2Way
#define Bnd2WayBalance __Bnd2WayBalance
#define Gene... | 12,417 | 28.637232 | 79 | h |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mmd.c | /*
* mmd.c
*
* **************************************************************
* The following C function was developed from a FORTRAN subroutine
* in SPARSPAK written by Eleanor Chu, Alan George, Joseph Liu
* and Esmond Ng.
*
* The FORTRAN-to-C transformation and modifications such as dynamic
* memory allocati... | 21,192 | 34.678451 | 109 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/minitpart.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* minitpart.c
*
* This file contains code that performs the initial partition of the
* coarsest graph
*
* Started 7/23/97
* George
*
* $Id: minitpart.c,v 1.2 1998/11/30 15:08:37 karypis Exp $
*
*/
#include "metis.h"
/**************************... | 10,786 | 29.300562 | 110 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/meshpart.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* meshpart.c
*
* This file contains routines for partitioning finite element meshes.
*
* Started 9/29/97
* George
*
* $Id: meshpart.c,v 1.1 1998/11/27 17:59:21 karypis Exp $
*
*/
#include "metis.h"
/********************************************... | 5,987 | 28.209756 | 106 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/timing.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* timing.c
*
* This file contains routines that deal with timing Metis
*
* Started 7/24/97
* George
*
* $Id: timing.c,v 1.1 1998/11/27 17:59:32 karypis Exp $
*
*/
#include "metis.h"
/************************************************************... | 2,562 | 33.173333 | 85 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/bucketsort.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* bucketsort.c
*
* This file contains code that implement a variety of counting sorting
* algorithms
*
* Started 7/25/97
* George
*
* $Id: bucketsort.c,v 1.1 1998/11/27 17:59:11 karypis Exp $
*
*/
#include "metis.h"
/************************... | 1,017 | 22.136364 | 84 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/kwayrefine.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* kwayrefine.c
*
* This file contains the driving routines for multilevel k-way refinement
*
* Started 7/28/97
* George
*
* $Id: kwayrefine.c,v 1.1 1998/11/27 17:59:17 karypis Exp $
*/
#include "metis.h"
/***************************************... | 12,016 | 29.577608 | 129 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/kvmetis.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* kvmetis.c
*
* This file contains the top level routines for the multilevel k-way partitioning
* algorithm KMETIS.
*
* Started 7/28/97
* George
*
* $Id: kvmetis.c,v 1.1 1998/11/27 17:59:16 karypis Exp $
*
*/
#include "metis.h"
/*************... | 4,239 | 31.366412 | 99 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/match.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* match.c
*
* This file contains the code that computes matchings and creates the next
* level coarse graph.
*
* Started 7/23/97
* George
*
* $Id: match.c,v 1.1 1998/11/27 17:59:18 karypis Exp $
*
*/
#include "metis.h"
/***********************... | 11,266 | 25.699052 | 110 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/estmem.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* estmem.c
*
* This file contains code for estimating the amount of memory required by
* the various routines in METIS
*
* Started 11/4/97
* George
*
* $Id: estmem.c,v 1.1 1998/11/27 17:59:13 karypis Exp $
*
*/
#include "metis.h"
/************... | 4,195 | 25.556962 | 127 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/graph.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* graph.c
*
* This file contains functions that deal with setting up the graphs
* for METIS.
*
* Started 7/25/97
* George
*
* $Id: graph.c,v 1.1 1998/11/27 17:59:15 karypis Exp $
*
*/
#include "metis.h"
/***************************************... | 15,736 | 23.939778 | 90 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mrefine.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* refine.c
*
* This file contains the driving routines for multilevel refinement
*
* Started 7/24/97
* George
*
* $Id: mrefine.c,v 1.2 1998/11/27 18:25:09 karypis Exp $
*/
#include "metis.h"
/****************************************************... | 5,857 | 25.627273 | 104 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mrefine2.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* mrefine2.c
*
* This file contains the driving routines for multilevel refinement
*
* Started 7/24/97
* George
*
* $Id: mrefine2.c,v 1.1 1998/11/27 17:59:26 karypis Exp $
*/
#include "metis.h"
/*************************************************... | 1,496 | 25.732143 | 89 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/pqueue.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* pqueue.c
*
* This file contains functions for manipulating the bucket list
* representation of the gains associated with each vertex in a graph.
* These functions are used by the refinement algorithms
*
* Started 9/2/94
* George
*
* $Id: pqueue... | 14,916 | 24.718966 | 124 | c |
null | GraphOptim-main/3rd_party/Graclus/metisLib/mkwayrefine.c | /*
* Copyright 1997, Regents of the University of Minnesota
*
* mkwayrefine.c
*
* This file contains the driving routines for multilevel k-way refinement
*
* Started 7/28/97
* George
*
* $Id: mkwayrefine.c,v 1.2 1998/11/27 18:16:19 karypis Exp $
*/
#include "metis.h"
/*************************************... | 8,551 | 27.697987 | 122 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.