MADNESS 0.10.1
Public Member Functions | Friends | List of all members
madness::X_vector Struct Reference

#include <x_space.h>

Inheritance diagram for madness::X_vector:
Inheritance graph
[legend]
Collaboration diagram for madness::X_vector:
Collaboration graph
[legend]

Public Member Functions

 X_vector (World &world, size_t n_orbtials)
 
 X_vector (X_space A, size_t b)
 
X_vector copy () const
 
auto operator+= (const X_vector &B) -> X_vector &
 
- Public Member Functions inherited from madness::X_space
 X_space ()
 
 X_space (const X_space &A)
 
 X_space (World &world, size_t n_states, size_t n_orbitals)
 
void clear ()
 
auto component_norm2s () const -> Tensor< double >
 
X_space copy () const
 
auto copy (const std::shared_ptr< WorldDCPmapInterface< Key< 3 > > > &p_map, bool fence=false) const -> X_space
 
auto norm2s () const -> Tensor< double >
 
size_t num_orbitals () const
 
size_t num_states () const
 
auto operator+= (const X_space &B) -> X_space &
 
auto operator= (const X_space &B) -> X_space &
 
void pop_back ()
 
void push_back (const vector_real_function_3d &vx, const vector_real_function_3d &vy)
 
void reset_active ()
 
void set_active (const std::list< size_t > &new_active)
 
void truncate ()
 
void truncate (double thresh)
 

Friends

auto inner (X_vector &A, X_vector &B) -> double
 
X_vector operator* (const X_vector &A, const double &c)
 
X_vector operator- (const X_vector &A, const X_vector &B)
 

Additional Inherited Members

- Static Public Member Functions inherited from madness::X_space
static X_space zero_functions (World &world, size_t n_states, size_t n_orbitals)
 
- Public Attributes inherited from madness::X_space
std::list< size_t > active
 
response_space x
 
response_space y
 

Constructor & Destructor Documentation

◆ X_vector() [1/2]

madness::X_vector::X_vector ( World world,
size_t  n_orbtials 
)
inline

◆ X_vector() [2/2]

madness::X_vector::X_vector ( X_space  A,
size_t  b 
)
inline

Member Function Documentation

◆ copy()

X_vector madness::X_vector::copy ( ) const
inline

◆ operator+=()

auto madness::X_vector::operator+= ( const X_vector B) -> X_vector &
inline

Friends And Related Symbol Documentation

◆ inner

auto inner ( X_vector A,
X_vector B 
) -> double
friend

◆ operator*

X_vector operator* ( const X_vector A,
const double &  c 
)
friend

◆ operator-

X_vector operator- ( const X_vector A,
const X_vector B 
)
friend

The documentation for this struct was generated from the following file: