![]() |
KIDS
ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
|
Declaration of the Shape class. More...
#include <cassert>
#include <iostream>
#include <sstream>
#include <vector>
Go to the source code of this file.
Classes | |
class | PROJECT_NS::Shape |
Shape class provide information about of a Tensor's shape. More... | |
Namespaces | |
namespace | PROJECT_NS |
< http://warp.povusers.org/FunctionParser/fparser.html | |
Typedefs | |
using | PROJECT_NS::Basic_Dimen = std::size_t |
using | PROJECT_NS::Basic_Shape = std::vector<std::size_t> |
Declaration of the Shape class.
This file provides the declaration of the Shape class. It serves as contoller for the shape of tensors.
It provides both static shape container std::vector<std::size_t>, as well as dynamic shape container std::vector<std::size_t*>.
Copyright (c) 2024 Xin He, Liu-GroupThis software is a product of Xin's PhD research conducted by Professor Liu's Group at the College of Chemistry and Molecular Engineering, Peking University. All rights are reserved by Peking University. You should have received a copy of the GNU Lesser General Public License along with this software. If not, see https://www.gnu.org/licenses/lgpl-3.0.en.html
Date | Description |
---|---|
2024-03-29 | initial version. Extract Shape class from the file DataSet.h. Make Shape suitable for dynamic dimensions. |
Definition in file Shape.h.