NEML2 2.0.0
Loading...
Searching...
No Matches
MillerIndex Class Reference

Public Member Functions

MillerIndex __add__ (MillerIndex self, MillerIndex arg0)
 
MillerIndex __add__ (MillerIndex self, Scalar arg0)
 
MillerIndex __add__ (MillerIndex self, float arg0)
 
MillerIndex __iadd__ (MillerIndex self, float arg0)
 
MillerIndex __imul__ (MillerIndex self, float arg0)
 
None __init__ (self)
 
None __init__ (self, torch.Tensor tensor, int dynamic_dim, int intmd_dim)
 
None __init__ (self, Vec other)
 
None __init__ (self, Rot other)
 
None __init__ (self, WR2 other)
 
None __init__ (self, R2 other)
 
None __init__ (self, SR2 other)
 
None __init__ (self, R3 other)
 
None __init__ (self, SFR3 other)
 
None __init__ (self, R4 other)
 
None __init__ (self, SFFR4 other)
 
None __init__ (self, WFFR4 other)
 
None __init__ (self, SSR4 other)
 
None __init__ (self, SWR4 other)
 
None __init__ (self, WSR4 other)
 
None __init__ (self, WWR4 other)
 
None __init__ (self, Quaternion other)
 
None __init__ (self, MillerIndex other)
 
None __init__ (self, Tensor other)
 
None __init__ (self, Scalar other)
 
None __init__ (self, torch.Tensor tensor, int intmd_dim=0)
 
MillerIndex __isub__ (MillerIndex self, float arg0)
 
MillerIndex __itruediv__ (MillerIndex self, float arg0)
 
MillerIndex __mul__ (MillerIndex self, Scalar arg0)
 
MillerIndex __mul__ (MillerIndex self, float arg0)
 
MillerIndex __neg__ (MillerIndex self)
 
MillerIndex __pow__ (MillerIndex self, float arg0)
 
MillerIndex __radd__ (MillerIndex self, Scalar arg0)
 
MillerIndex __radd__ (MillerIndex self, float arg0)
 
str __repr__ (MillerIndex self)
 
MillerIndex __rmul__ (MillerIndex self, Scalar arg0)
 
MillerIndex __rmul__ (MillerIndex self, float arg0)
 
MillerIndex __rsub__ (MillerIndex self, Scalar arg0)
 
MillerIndex __rsub__ (MillerIndex self, float arg0)
 
MillerIndex __rtruediv__ (MillerIndex self, Scalar arg0)
 
MillerIndex __rtruediv__ (MillerIndex self, float arg0)
 
str __str__ (MillerIndex self)
 
MillerIndex __sub__ (MillerIndex self, MillerIndex arg0)
 
MillerIndex __sub__ (MillerIndex self, Scalar arg0)
 
MillerIndex __sub__ (MillerIndex self, float arg0)
 
MillerIndex __truediv__ (MillerIndex self, Scalar arg0)
 
MillerIndex __truediv__ (MillerIndex self, float arg0)
 
MillerIndex clone (MillerIndex self)
 
MillerIndex contiguous (MillerIndex self)
 
torch.Tensor copy_ (MillerIndex self, torch.Tensor arg0, bool arg1)
 
bool defined (MillerIndex self)
 
MillerIndex detach (MillerIndex self)
 
torch.Tensor detach_ (MillerIndex self)
 
int dim (MillerIndex self)
 
Number|torch.SymInt|torch.SymFloat|torch.SymBool item (MillerIndex self)
 
Scalar norm (MillerIndex self)
 
torch.Tensor requires_grad_ (MillerIndex self, bool arg0)
 
Tensor tensor (MillerIndex self)
 
MillerIndex to (MillerIndex self, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
torch.Tensor torch (MillerIndex self)
 
torch.Tensor zero_ (MillerIndex self)
 
MillerIndexBaseView base (self)
 
MillerIndexBatchView batch (self)
 
torch.device device (self)
 
torch.dtype dtype (self)
 
MillerIndexDynamicView dynamic (self)
 
torch.Tensor grad (self)
 
MillerIndexIntmdView intmd (self)
 
bool requires_grad (self)
 
tuple[int,...] shape (self)
 
MillerIndexStaticView static (self)
 

Static Public Member Functions

MillerIndex dynamic_linspace (MillerIndex start, MillerIndex end, int step, int dim=0)
 
MillerIndex dynamic_logspace (MillerIndex start, MillerIndex end, int step, int dim=0, Number|torch.SymInt|torch.SymFloat|torch.SymBool base=10.0)
 
MillerIndex empty (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex empty (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex empty_like (MillerIndex arg0)
 
MillerIndex full (float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex full (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes, float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex full_like (MillerIndex other, float fill_value)
 
MillerIndex intmd_linspace (MillerIndex start, MillerIndex end, int step, int dim=0)
 
MillerIndex intmd_logspace (MillerIndex start, MillerIndex end, int step, int dim=0, Number|torch.SymInt|torch.SymFloat|torch.SymBool base=10.0)
 
MillerIndex ones (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex ones (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex ones_like (MillerIndex arg0)
 
MillerIndex rand (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex rand (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex rand_like (MillerIndex arg0)
 
MillerIndex zeros (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex zeros (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
MillerIndex zeros_like (MillerIndex arg0)
 

Constructor & Destructor Documentation

◆ __init__() [1/21]

None __init__ ( self)

◆ __init__() [2/21]

None __init__ ( self,
torch.Tensor tensor,
int dynamic_dim,
int intmd_dim )

◆ __init__() [3/21]

None __init__ ( self,
Vec other )

◆ __init__() [4/21]

None __init__ ( self,
Rot other )

◆ __init__() [5/21]

None __init__ ( self,
WR2 other )

◆ __init__() [6/21]

None __init__ ( self,
R2 other )

◆ __init__() [7/21]

None __init__ ( self,
SR2 other )

◆ __init__() [8/21]

None __init__ ( self,
R3 other )

◆ __init__() [9/21]

None __init__ ( self,
SFR3 other )

◆ __init__() [10/21]

None __init__ ( self,
R4 other )

◆ __init__() [11/21]

None __init__ ( self,
SFFR4 other )

◆ __init__() [12/21]

None __init__ ( self,
WFFR4 other )

◆ __init__() [13/21]

None __init__ ( self,
SSR4 other )

◆ __init__() [14/21]

None __init__ ( self,
SWR4 other )

◆ __init__() [15/21]

None __init__ ( self,
WSR4 other )

◆ __init__() [16/21]

None __init__ ( self,
WWR4 other )

◆ __init__() [17/21]

None __init__ ( self,
Quaternion other )

◆ __init__() [18/21]

None __init__ ( self,
MillerIndex other )

◆ __init__() [19/21]

None __init__ ( self,
Tensor other )

◆ __init__() [20/21]

None __init__ ( self,
Scalar other )

◆ __init__() [21/21]

None __init__ ( self,
torch.Tensor tensor,
int intmd_dim = 0 )

Member Function Documentation

◆ __add__() [1/3]

MillerIndex __add__ ( MillerIndex self,
float arg0 )

◆ __add__() [2/3]

MillerIndex __add__ ( MillerIndex self,
MillerIndex arg0 )

◆ __add__() [3/3]

MillerIndex __add__ ( MillerIndex self,
Scalar arg0 )

◆ __iadd__()

MillerIndex __iadd__ ( MillerIndex self,
float arg0 )

◆ __imul__()

MillerIndex __imul__ ( MillerIndex self,
float arg0 )

◆ __isub__()

MillerIndex __isub__ ( MillerIndex self,
float arg0 )

◆ __itruediv__()

MillerIndex __itruediv__ ( MillerIndex self,
float arg0 )

◆ __mul__() [1/2]

MillerIndex __mul__ ( MillerIndex self,
float arg0 )

◆ __mul__() [2/2]

MillerIndex __mul__ ( MillerIndex self,
Scalar arg0 )

◆ __neg__()

MillerIndex __neg__ ( MillerIndex self)

◆ __pow__()

MillerIndex __pow__ ( MillerIndex self,
float arg0 )

◆ __radd__() [1/2]

MillerIndex __radd__ ( MillerIndex self,
float arg0 )

◆ __radd__() [2/2]

MillerIndex __radd__ ( MillerIndex self,
Scalar arg0 )

◆ __repr__()

str __repr__ ( MillerIndex self)

◆ __rmul__() [1/2]

MillerIndex __rmul__ ( MillerIndex self,
float arg0 )

◆ __rmul__() [2/2]

MillerIndex __rmul__ ( MillerIndex self,
Scalar arg0 )

◆ __rsub__() [1/2]

MillerIndex __rsub__ ( MillerIndex self,
float arg0 )

◆ __rsub__() [2/2]

MillerIndex __rsub__ ( MillerIndex self,
Scalar arg0 )

◆ __rtruediv__() [1/2]

MillerIndex __rtruediv__ ( MillerIndex self,
float arg0 )

◆ __rtruediv__() [2/2]

MillerIndex __rtruediv__ ( MillerIndex self,
Scalar arg0 )

◆ __str__()

str __str__ ( MillerIndex self)

◆ __sub__() [1/3]

MillerIndex __sub__ ( MillerIndex self,
float arg0 )

◆ __sub__() [2/3]

MillerIndex __sub__ ( MillerIndex self,
MillerIndex arg0 )

◆ __sub__() [3/3]

MillerIndex __sub__ ( MillerIndex self,
Scalar arg0 )

◆ __truediv__() [1/2]

MillerIndex __truediv__ ( MillerIndex self,
float arg0 )

◆ __truediv__() [2/2]

MillerIndex __truediv__ ( MillerIndex self,
Scalar arg0 )

◆ base()

MillerIndexBaseView base ( self)

◆ batch()

MillerIndexBatchView batch ( self)

◆ clone()

MillerIndex clone ( MillerIndex self)

◆ contiguous()

MillerIndex contiguous ( MillerIndex self)

◆ copy_()

torch.Tensor copy_ ( MillerIndex self,
torch.Tensor arg0,
bool arg1 )

◆ defined()

bool defined ( MillerIndex self)

◆ detach()

MillerIndex detach ( MillerIndex self)

◆ detach_()

torch.Tensor detach_ ( MillerIndex self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( MillerIndex self)

◆ dtype()

torch.dtype dtype ( self)

◆ dynamic()

MillerIndexDynamicView dynamic ( self)

◆ dynamic_linspace()

MillerIndex dynamic_linspace ( MillerIndex start,
MillerIndex end,
int step,
int dim = 0 )
static

◆ dynamic_logspace()

MillerIndex dynamic_logspace ( MillerIndex start,
MillerIndex end,
int step,
int dim = 0,
Number | torch.SymInt | torch.SymFloat | torch.SymBool base = 10.0 )
static

◆ empty() [1/2]

MillerIndex empty ( * ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ empty() [2/2]

MillerIndex empty ( tuple[int, ...] dynamic_sizes,
tuple[int, ...] intmd_sizes = (),
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ empty_like()

MillerIndex empty_like ( MillerIndex arg0)
static

◆ full() [1/2]

MillerIndex full ( float fill_value,
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ full() [2/2]

MillerIndex full ( tuple[int, ...] dynamic_sizes,
tuple[int, ...] intmd_sizes,
float fill_value,
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ full_like()

MillerIndex full_like ( MillerIndex other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ intmd()

MillerIndexIntmdView intmd ( self)

◆ intmd_linspace()

MillerIndex intmd_linspace ( MillerIndex start,
MillerIndex end,
int step,
int dim = 0 )
static

◆ intmd_logspace()

MillerIndex intmd_logspace ( MillerIndex start,
MillerIndex end,
int step,
int dim = 0,
Number | torch.SymInt | torch.SymFloat | torch.SymBool base = 10.0 )
static

◆ item()

Number | torch.SymInt | torch.SymFloat | torch.SymBool item ( MillerIndex self)

◆ norm()

Scalar norm ( MillerIndex self)

◆ ones() [1/2]

MillerIndex ones ( * ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ ones() [2/2]

MillerIndex ones ( tuple[int, ...] dynamic_sizes,
tuple[int, ...] intmd_sizes = (),
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ ones_like()

MillerIndex ones_like ( MillerIndex arg0)
static

◆ rand() [1/2]

MillerIndex rand ( * ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ rand() [2/2]

MillerIndex rand ( tuple[int, ...] dynamic_sizes,
tuple[int, ...] intmd_sizes,
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ rand_like()

MillerIndex rand_like ( MillerIndex arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( MillerIndex self,
bool arg0 )

◆ shape()

tuple[int, ...] shape ( self)

◆ static()

MillerIndexStaticView static ( self)

◆ tensor()

Tensor tensor ( MillerIndex self)

◆ to()

MillerIndex to ( MillerIndex self,
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )

◆ torch()

torch.Tensor torch ( MillerIndex self)

◆ zero_()

torch.Tensor zero_ ( MillerIndex self)

◆ zeros() [1/2]

MillerIndex zeros ( * ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ zeros() [2/2]

MillerIndex zeros ( tuple[int, ...] dynamic_sizes,
tuple[int, ...] intmd_sizes = (),
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ zeros_like()

MillerIndex zeros_like ( MillerIndex arg0)
static