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

Public Member Functions

SR2 __add__ (SR2 self, SR2 arg0)
 
SR2 __add__ (SR2 self, Scalar arg0)
 
SR2 __add__ (SR2 self, float arg0)
 
SR2 __iadd__ (SR2 self, float arg0)
 
SR2 __imul__ (SR2 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)
 
SR2 __isub__ (SR2 self, float arg0)
 
SR2 __itruediv__ (SR2 self, float arg0)
 
SR2 __mul__ (SR2 self, Scalar arg0)
 
SR2 __mul__ (SR2 self, float arg0)
 
SR2 __neg__ (SR2 self)
 
SR2 __pow__ (SR2 self, float arg0)
 
SR2 __radd__ (SR2 self, Scalar arg0)
 
SR2 __radd__ (SR2 self, float arg0)
 
str __repr__ (SR2 self)
 
SR2 __rmul__ (SR2 self, Scalar arg0)
 
SR2 __rmul__ (SR2 self, float arg0)
 
SR2 __rsub__ (SR2 self, Scalar arg0)
 
SR2 __rsub__ (SR2 self, float arg0)
 
SR2 __rtruediv__ (SR2 self, Scalar arg0)
 
SR2 __rtruediv__ (SR2 self, float arg0)
 
str __str__ (SR2 self)
 
SR2 __sub__ (SR2 self, SR2 arg0)
 
SR2 __sub__ (SR2 self, Scalar arg0)
 
SR2 __sub__ (SR2 self, float arg0)
 
SR2 __truediv__ (SR2 self, Scalar arg0)
 
SR2 __truediv__ (SR2 self, float arg0)
 
SR2 clone (SR2 self)
 
SR2 contiguous (SR2 self)
 
torch.Tensor copy_ (SR2 self, torch.Tensor arg0, bool arg1)
 
bool defined (SR2 self)
 
SR2 detach (SR2 self)
 
torch.Tensor detach_ (SR2 self)
 
int dim (SR2 self)
 
SR2 inv (SR2 self)
 
Number|torch.SymInt|torch.SymFloat|torch.SymBool item (SR2 self)
 
Scalar norm (SR2 self)
 
torch.Tensor requires_grad_ (SR2 self, bool arg0)
 
Tensor tensor (SR2 self)
 
SR2 to (SR2 self, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
torch.Tensor torch (SR2 self)
 
torch.Tensor zero_ (SR2 self)
 
SR2BaseView base (self)
 
SR2BatchView batch (self)
 
torch.device device (self)
 
torch.dtype dtype (self)
 
SR2DynamicView dynamic (self)
 
torch.Tensor grad (self)
 
SR2IntmdView intmd (self)
 
bool requires_grad (self)
 
tuple[int,...] shape (self)
 
SR2StaticView static (self)
 

Static Public Member Functions

SR2 dynamic_linspace (SR2 start, SR2 end, int step, int dim=0)
 
SR2 dynamic_logspace (SR2 start, SR2 end, int step, int dim=0, Number|torch.SymInt|torch.SymFloat|torch.SymBool base=10.0)
 
SR2 empty (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 empty (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 empty_like (SR2 arg0)
 
SR2 fill (float a, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 fill (Scalar arg0)
 
SR2 fill (float a11, float a22, float a33, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 fill (Scalar arg0, Scalar arg1, Scalar arg2)
 
SR2 fill (float a11, float a22, float a33, float a23, float a13, float a12, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 fill (Scalar arg0, Scalar arg1, Scalar arg2, Scalar arg3, Scalar arg4, Scalar arg5)
 
SR2 full (float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 full (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes, float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 full_like (SR2 other, float fill_value)
 
SR2 intmd_linspace (SR2 start, SR2 end, int step, int dim=0)
 
SR2 intmd_logspace (SR2 start, SR2 end, int step, int dim=0, Number|torch.SymInt|torch.SymFloat|torch.SymBool base=10.0)
 
SR2 ones (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 ones (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 ones_like (SR2 arg0)
 
SR2 rand (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 rand (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 rand_like (SR2 arg0)
 
SR2 zeros (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 zeros (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
SR2 zeros_like (SR2 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]

SR2 __add__ ( SR2 self,
float arg0 )

◆ __add__() [2/3]

SR2 __add__ ( SR2 self,
Scalar arg0 )

◆ __add__() [3/3]

SR2 __add__ ( SR2 self,
SR2 arg0 )

◆ __iadd__()

SR2 __iadd__ ( SR2 self,
float arg0 )

◆ __imul__()

SR2 __imul__ ( SR2 self,
float arg0 )

◆ __isub__()

SR2 __isub__ ( SR2 self,
float arg0 )

◆ __itruediv__()

SR2 __itruediv__ ( SR2 self,
float arg0 )

◆ __mul__() [1/2]

SR2 __mul__ ( SR2 self,
float arg0 )

◆ __mul__() [2/2]

SR2 __mul__ ( SR2 self,
Scalar arg0 )

◆ __neg__()

SR2 __neg__ ( SR2 self)

◆ __pow__()

SR2 __pow__ ( SR2 self,
float arg0 )

◆ __radd__() [1/2]

SR2 __radd__ ( SR2 self,
float arg0 )

◆ __radd__() [2/2]

SR2 __radd__ ( SR2 self,
Scalar arg0 )

◆ __repr__()

str __repr__ ( SR2 self)

◆ __rmul__() [1/2]

SR2 __rmul__ ( SR2 self,
float arg0 )

◆ __rmul__() [2/2]

SR2 __rmul__ ( SR2 self,
Scalar arg0 )

◆ __rsub__() [1/2]

SR2 __rsub__ ( SR2 self,
float arg0 )

◆ __rsub__() [2/2]

SR2 __rsub__ ( SR2 self,
Scalar arg0 )

◆ __rtruediv__() [1/2]

SR2 __rtruediv__ ( SR2 self,
float arg0 )

◆ __rtruediv__() [2/2]

SR2 __rtruediv__ ( SR2 self,
Scalar arg0 )

◆ __str__()

str __str__ ( SR2 self)

◆ __sub__() [1/3]

SR2 __sub__ ( SR2 self,
float arg0 )

◆ __sub__() [2/3]

SR2 __sub__ ( SR2 self,
Scalar arg0 )

◆ __sub__() [3/3]

SR2 __sub__ ( SR2 self,
SR2 arg0 )

◆ __truediv__() [1/2]

SR2 __truediv__ ( SR2 self,
float arg0 )

◆ __truediv__() [2/2]

SR2 __truediv__ ( SR2 self,
Scalar arg0 )

◆ base()

SR2BaseView base ( self)

◆ batch()

SR2BatchView batch ( self)

◆ clone()

SR2 clone ( SR2 self)

◆ contiguous()

SR2 contiguous ( SR2 self)

◆ copy_()

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

◆ defined()

bool defined ( SR2 self)

◆ detach()

SR2 detach ( SR2 self)

◆ detach_()

torch.Tensor detach_ ( SR2 self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( SR2 self)

◆ dtype()

torch.dtype dtype ( self)

◆ dynamic()

SR2DynamicView dynamic ( self)

◆ dynamic_linspace()

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

◆ dynamic_logspace()

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

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

SR2 empty_like ( SR2 arg0)
static

◆ fill() [1/6]

SR2 fill ( float a,
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ fill() [2/6]

SR2 fill ( float a11,
float a22,
float a33,
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ fill() [3/6]

SR2 fill ( float a11,
float a22,
float a33,
float a23,
float a13,
float a12,
* ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ fill() [4/6]

SR2 fill ( Scalar arg0)
static

◆ fill() [5/6]

SR2 fill ( Scalar arg0,
Scalar arg1,
Scalar arg2 )
static

◆ fill() [6/6]

SR2 fill ( Scalar arg0,
Scalar arg1,
Scalar arg2,
Scalar arg3,
Scalar arg4,
Scalar arg5 )
static

◆ full() [1/2]

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

◆ full() [2/2]

SR2 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()

SR2 full_like ( SR2 other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ intmd()

SR2IntmdView intmd ( self)

◆ intmd_linspace()

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

◆ intmd_logspace()

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

◆ inv()

SR2 inv ( SR2 self)

◆ item()

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

◆ norm()

Scalar norm ( SR2 self)

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

SR2 ones_like ( SR2 arg0)
static

◆ rand() [1/2]

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

◆ rand() [2/2]

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

◆ rand_like()

SR2 rand_like ( SR2 arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( SR2 self,
bool arg0 )

◆ shape()

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

◆ static()

SR2StaticView static ( self)

◆ tensor()

Tensor tensor ( SR2 self)

◆ to()

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

◆ torch()

torch.Tensor torch ( SR2 self)

◆ zero_()

torch.Tensor zero_ ( SR2 self)

◆ zeros() [1/2]

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

◆ zeros() [2/2]

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

◆ zeros_like()

SR2 zeros_like ( SR2 arg0)
static