HepLib
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
HepLib::Vector Class Reference

class for vector object More...

#include <HEP.h>

Inheritance diagram for HepLib::Vector:
Inheritance graph
[legend]
Collaboration diagram for HepLib::Vector:
Collaboration graph
[legend]

Classes

class  visitor
 

Public Types

typedef basic inherited
 

Public Member Functions

 Vector ()
 
Vectorduplicate () const override
 
void accept (GiNaC::visitor &v) const override
 
const GiNaC::registered_class_info & get_class_info () const override
 
GiNaC::registered_class_info & get_class_info () override
 
const char * class_name () const override
 
 Vector (const string &s)
 
Pair operator() (const Vector &p)
 
Pair operator() (const Index &mu)
 
void print (const print_context &c, unsigned level=0) const
 
void archive (archive_node &n) const override
 
void read_archive (const archive_node &n) override
 
ex derivative (const symbol &s) const override
 
bool is_equal_same_type (const basic &other) const override
 

Static Public Member Functions

static GiNaC::registered_class_info & get_class_info_static ()
 
static bool has (const ex &e)
 
static lst all (const ex &e)
 

Public Attributes

Symbol name
 

Protected Member Functions

int compare_same_type (const GiNaC::basic &other) const override
 

Friends

template<class B , typename... Args>
B & dynallocate (Args &&... args)
 

Detailed Description

class for vector object

Definition at line 149 of file HEP.h.

Member Typedef Documentation

◆ inherited

Definition at line 161 of file HEP.h.

Constructor & Destructor Documentation

◆ Vector() [1/2]

HepLib::Vector::Vector ( )

◆ Vector() [2/2]

HepLib::Vector::Vector ( const string &  s)

Definition at line 253 of file Basic.cpp.

Member Function Documentation

◆ accept()

void HepLib::Vector::accept ( GiNaC::visitor &  v) const
override

Definition at line 247 of file Basic.cpp.

◆ all()

static lst HepLib::Vector::all ( const ex &  e)
static

◆ archive()

void HepLib::Vector::archive ( archive_node &  n) const
override

Definition at line 281 of file Basic.cpp.

◆ class_name()

const char * HepLib::Vector::class_name ( ) const
override

Definition at line 250 of file Basic.cpp.

◆ compare_same_type()

int HepLib::Vector::compare_same_type ( const GiNaC::basic &  other) const
overrideprotected

Definition at line 254 of file Basic.cpp.

◆ derivative()

ex HepLib::Vector::derivative ( const symbol &  s) const
override

Definition at line 294 of file Basic.cpp.

◆ duplicate()

Vector * HepLib::Vector::duplicate ( ) const
override

Definition at line 246 of file Basic.cpp.

◆ get_class_info() [1/2]

const GiNaC::registered_class_info & HepLib::Vector::get_class_info ( ) const
override

Definition at line 248 of file Basic.cpp.

◆ get_class_info() [2/2]

GiNaC::registered_class_info & HepLib::Vector::get_class_info ( )
override

Definition at line 249 of file Basic.cpp.

◆ get_class_info_static()

GiNaC::registered_class_info & HepLib::Vector::get_class_info_static ( )
static

Definition at line 244 of file Basic.cpp.

◆ has()

static bool HepLib::Vector::has ( const ex &  e)
static

◆ is_equal_same_type()

bool HepLib::Vector::is_equal_same_type ( const basic &  other) const
override

Definition at line 263 of file Basic.cpp.

◆ operator()() [1/2]

Pair HepLib::Vector::operator() ( const Index mu)

Definition at line 277 of file Basic.cpp.

◆ operator()() [2/2]

Pair HepLib::Vector::operator() ( const Vector p)

Definition at line 273 of file Basic.cpp.

◆ print()

void HepLib::Vector::print ( const print_context &  c,
unsigned  level = 0 
) const

Definition at line 269 of file Basic.cpp.

◆ read_archive()

void HepLib::Vector::read_archive ( const archive_node &  n)
override

Definition at line 286 of file Basic.cpp.

Friends And Related Function Documentation

◆ dynallocate

template<class B , typename... Args>
B& dynallocate ( Args &&...  args)
friend

Member Data Documentation

◆ name

Symbol HepLib::Vector::name

Definition at line 176 of file HEP.h.


The documentation for this class was generated from the following files: