Compute Library
 22.11
ITensorPack::PackElement Struct Reference

#include <ITensorPack.h>

Collaboration diagram for ITensorPack::PackElement:
[legend]

Public Member Functions

 PackElement ()=default
 
 PackElement (int id, ITensor *tensor)
 
 PackElement (int id, const ITensor *ctensor)
 

Data Fields

int id { -1 }
 
ITensortensor { nullptr }
 
const ITensorctensor { nullptr }
 

Detailed Description

Definition at line 42 of file ITensorPack.h.

Constructor & Destructor Documentation

◆ PackElement() [1/3]

PackElement ( )
default

◆ PackElement() [2/3]

PackElement ( int  id,
ITensor tensor 
)
inline

Definition at line 45 of file ITensorPack.h.

◆ PackElement() [3/3]

PackElement ( int  id,
const ITensor ctensor 
)
inline

Definition at line 49 of file ITensorPack.h.

Field Documentation

◆ ctensor

const ITensor* ctensor { nullptr }

Definition at line 56 of file ITensorPack.h.

◆ id

int id { -1 }

Definition at line 54 of file ITensorPack.h.

◆ tensor

ITensor* tensor { nullptr }

Definition at line 55 of file ITensorPack.h.


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