NEML2 2.1.0
Loading...
Searching...
No Matches

Public Member Functions

neml2.MillerIndex __add__ (neml2.MillerIndex self, neml2.MillerIndex arg0)
neml2.MillerIndex __add__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __add__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __iadd__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __imul__ (neml2.MillerIndex self, float arg0)
None __init__ (self)
None __init__ (self, torch.Tensor tensor, int dynamic_dim, int intmd_dim)
None __init__ (self, neml2.Vec other)
None __init__ (self, neml2.Rot other)
None __init__ (self, neml2.WR2 other)
None __init__ (self, neml2.R2 other)
None __init__ (self, neml2.SR2 other)
None __init__ (self, neml2.R3 other)
None __init__ (self, neml2.SFR3 other)
None __init__ (self, neml2.R4 other)
None __init__ (self, neml2.SFFR4 other)
None __init__ (self, neml2.WFFR4 other)
None __init__ (self, neml2.SSR4 other)
None __init__ (self, neml2.SWR4 other)
None __init__ (self, neml2.WSR4 other)
None __init__ (self, neml2.WWR4 other)
None __init__ (self, neml2.Quaternion other)
None __init__ (self, neml2.MillerIndex other)
None __init__ (self, neml2.Tensor other)
None __init__ (self, neml2.Scalar other)
None __init__ (self, torch.Tensor tensor, int intmd_dim=0)
neml2.MillerIndex __isub__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __itruediv__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __mul__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __mul__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __neg__ (neml2.MillerIndex self)
neml2.MillerIndex __pow__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __radd__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __radd__ (neml2.MillerIndex self, float arg0)
str __repr__ (neml2.MillerIndex self)
neml2.MillerIndex __rmul__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __rmul__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __rsub__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __rsub__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __rtruediv__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __rtruediv__ (neml2.MillerIndex self, float arg0)
str __str__ (neml2.MillerIndex self)
neml2.MillerIndex __sub__ (neml2.MillerIndex self, neml2.MillerIndex arg0)
neml2.MillerIndex __sub__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __sub__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex __truediv__ (neml2.MillerIndex self, neml2.Scalar arg0)
neml2.MillerIndex __truediv__ (neml2.MillerIndex self, float arg0)
neml2.MillerIndex clone (neml2.MillerIndex self)
neml2.MillerIndex contiguous (neml2.MillerIndex self)
torch.Tensor copy_ (neml2.MillerIndex self, torch.Tensor arg0, bool arg1)
bool defined (neml2.MillerIndex self)
neml2.MillerIndex detach (neml2.MillerIndex self)
torch.Tensor detach_ (neml2.MillerIndex self)
int dim (neml2.MillerIndex self)
Number|torch.SymInt|torch.SymFloat|torch.SymBool item (neml2.MillerIndex self)
neml2.Scalar norm (neml2.MillerIndex self)
torch.Tensor requires_grad_ (neml2.MillerIndex self, bool arg0)
neml2.Tensor tensor (neml2.MillerIndex self)
neml2.MillerIndex to (neml2.MillerIndex self, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
torch.Tensor torch (neml2.MillerIndex self)
torch.Tensor zero_ (neml2.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

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

◆ __init__() [4/21]

None __init__ ( self,
neml2.Rot other )

◆ __init__() [5/21]

None __init__ ( self,
neml2.WR2 other )

◆ __init__() [6/21]

None __init__ ( self,
neml2.R2 other )

◆ __init__() [7/21]

None __init__ ( self,
neml2.SR2 other )

◆ __init__() [8/21]

None __init__ ( self,
neml2.R3 other )

◆ __init__() [9/21]

None __init__ ( self,
neml2.SFR3 other )

◆ __init__() [10/21]

None __init__ ( self,
neml2.R4 other )

◆ __init__() [11/21]

None __init__ ( self,
neml2.SFFR4 other )

◆ __init__() [12/21]

None __init__ ( self,
neml2.WFFR4 other )

◆ __init__() [13/21]

None __init__ ( self,
neml2.SSR4 other )

◆ __init__() [14/21]

None __init__ ( self,
neml2.SWR4 other )

◆ __init__() [15/21]

None __init__ ( self,
neml2.WSR4 other )

◆ __init__() [16/21]

None __init__ ( self,
neml2.WWR4 other )

◆ __init__() [17/21]

None __init__ ( self,
neml2.Quaternion other )

◆ __init__() [18/21]

None __init__ ( self,
neml2.MillerIndex other )

◆ __init__() [19/21]

None __init__ ( self,
neml2.Tensor other )

◆ __init__() [20/21]

None __init__ ( self,
neml2.Scalar other )

◆ __init__() [21/21]

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

Member Function Documentation

◆ __add__() [1/3]

neml2.MillerIndex __add__ ( neml2.MillerIndex self,
float arg0 )

◆ __add__() [2/3]

◆ __add__() [3/3]

◆ __iadd__()

neml2.MillerIndex __iadd__ ( neml2.MillerIndex self,
float arg0 )

◆ __imul__()

neml2.MillerIndex __imul__ ( neml2.MillerIndex self,
float arg0 )

◆ __isub__()

neml2.MillerIndex __isub__ ( neml2.MillerIndex self,
float arg0 )

◆ __itruediv__()

neml2.MillerIndex __itruediv__ ( neml2.MillerIndex self,
float arg0 )

◆ __mul__() [1/2]

neml2.MillerIndex __mul__ ( neml2.MillerIndex self,
float arg0 )

◆ __mul__() [2/2]

◆ __neg__()

◆ __pow__()

neml2.MillerIndex __pow__ ( neml2.MillerIndex self,
float arg0 )

◆ __radd__() [1/2]

neml2.MillerIndex __radd__ ( neml2.MillerIndex self,
float arg0 )

◆ __radd__() [2/2]

◆ __repr__()

str __repr__ ( neml2.MillerIndex self)

◆ __rmul__() [1/2]

neml2.MillerIndex __rmul__ ( neml2.MillerIndex self,
float arg0 )

◆ __rmul__() [2/2]

◆ __rsub__() [1/2]

neml2.MillerIndex __rsub__ ( neml2.MillerIndex self,
float arg0 )

◆ __rsub__() [2/2]

◆ __rtruediv__() [1/2]

neml2.MillerIndex __rtruediv__ ( neml2.MillerIndex self,
float arg0 )

◆ __rtruediv__() [2/2]

neml2.MillerIndex __rtruediv__ ( neml2.MillerIndex self,
neml2.Scalar arg0 )

◆ __str__()

str __str__ ( neml2.MillerIndex self)

◆ __sub__() [1/3]

neml2.MillerIndex __sub__ ( neml2.MillerIndex self,
float arg0 )

◆ __sub__() [2/3]

◆ __sub__() [3/3]

◆ __truediv__() [1/2]

neml2.MillerIndex __truediv__ ( neml2.MillerIndex self,
float arg0 )

◆ __truediv__() [2/2]

neml2.MillerIndex __truediv__ ( neml2.MillerIndex self,
neml2.Scalar arg0 )

◆ base()

MillerIndexBaseView base ( self)

◆ batch()

MillerIndexBatchView batch ( self)

◆ clone()

◆ contiguous()

◆ copy_()

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

◆ defined()

bool defined ( neml2.MillerIndex self)

◆ detach()

◆ detach_()

torch.Tensor detach_ ( neml2.MillerIndex self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( neml2.MillerIndex self)

◆ dtype()

torch.dtype dtype ( self)

◆ dynamic()

MillerIndexDynamicView dynamic ( self)

◆ dynamic_linspace()

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

◆ dynamic_logspace()

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

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

neml2.MillerIndex empty_like ( neml2.MillerIndex arg0)
static

◆ full() [1/2]

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

◆ full() [2/2]

neml2.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()

neml2.MillerIndex full_like ( neml2.MillerIndex other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ intmd()

MillerIndexIntmdView intmd ( self)

◆ intmd_linspace()

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

◆ intmd_logspace()

neml2.MillerIndex intmd_logspace ( neml2.MillerIndex start,
neml2.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 ( neml2.MillerIndex self)

◆ norm()

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

neml2.MillerIndex ones_like ( neml2.MillerIndex arg0)
static

◆ rand() [1/2]

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

◆ rand() [2/2]

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

◆ rand_like()

neml2.MillerIndex rand_like ( neml2.MillerIndex arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( neml2.MillerIndex self,
bool arg0 )

◆ shape()

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

◆ static()

MillerIndexStaticView static ( self)

◆ tensor()

◆ to()

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

◆ torch()

torch.Tensor torch ( neml2.MillerIndex self)

◆ zero_()

torch.Tensor zero_ ( neml2.MillerIndex self)

◆ zeros() [1/2]

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

◆ zeros() [2/2]

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

◆ zeros_like()

neml2.MillerIndex zeros_like ( neml2.MillerIndex arg0)
static