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

Public Member Functions

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

Static Public Member Functions

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

SWR4 __add__ ( SWR4 self,
float arg0 )

◆ __add__() [2/3]

SWR4 __add__ ( SWR4 self,
Scalar arg0 )

◆ __add__() [3/3]

SWR4 __add__ ( SWR4 self,
SWR4 arg0 )

◆ __iadd__()

SWR4 __iadd__ ( SWR4 self,
float arg0 )

◆ __imul__()

SWR4 __imul__ ( SWR4 self,
float arg0 )

◆ __isub__()

SWR4 __isub__ ( SWR4 self,
float arg0 )

◆ __itruediv__()

SWR4 __itruediv__ ( SWR4 self,
float arg0 )

◆ __mul__() [1/2]

SWR4 __mul__ ( SWR4 self,
float arg0 )

◆ __mul__() [2/2]

SWR4 __mul__ ( SWR4 self,
Scalar arg0 )

◆ __neg__()

SWR4 __neg__ ( SWR4 self)

◆ __pow__()

SWR4 __pow__ ( SWR4 self,
float arg0 )

◆ __radd__() [1/2]

SWR4 __radd__ ( SWR4 self,
float arg0 )

◆ __radd__() [2/2]

SWR4 __radd__ ( SWR4 self,
Scalar arg0 )

◆ __repr__()

str __repr__ ( SWR4 self)

◆ __rmul__() [1/2]

SWR4 __rmul__ ( SWR4 self,
float arg0 )

◆ __rmul__() [2/2]

SWR4 __rmul__ ( SWR4 self,
Scalar arg0 )

◆ __rsub__() [1/2]

SWR4 __rsub__ ( SWR4 self,
float arg0 )

◆ __rsub__() [2/2]

SWR4 __rsub__ ( SWR4 self,
Scalar arg0 )

◆ __rtruediv__() [1/2]

SWR4 __rtruediv__ ( SWR4 self,
float arg0 )

◆ __rtruediv__() [2/2]

SWR4 __rtruediv__ ( SWR4 self,
Scalar arg0 )

◆ __str__()

str __str__ ( SWR4 self)

◆ __sub__() [1/3]

SWR4 __sub__ ( SWR4 self,
float arg0 )

◆ __sub__() [2/3]

SWR4 __sub__ ( SWR4 self,
Scalar arg0 )

◆ __sub__() [3/3]

SWR4 __sub__ ( SWR4 self,
SWR4 arg0 )

◆ __truediv__() [1/2]

SWR4 __truediv__ ( SWR4 self,
float arg0 )

◆ __truediv__() [2/2]

SWR4 __truediv__ ( SWR4 self,
Scalar arg0 )

◆ base()

SWR4BaseView base ( self)

◆ batch()

SWR4BatchView batch ( self)

◆ clone()

SWR4 clone ( SWR4 self)

◆ contiguous()

SWR4 contiguous ( SWR4 self)

◆ copy_()

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

◆ defined()

bool defined ( SWR4 self)

◆ detach()

SWR4 detach ( SWR4 self)

◆ detach_()

torch.Tensor detach_ ( SWR4 self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( SWR4 self)

◆ dtype()

torch.dtype dtype ( self)

◆ dynamic()

SWR4DynamicView dynamic ( self)

◆ dynamic_linspace()

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

◆ dynamic_logspace()

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

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

SWR4 empty_like ( SWR4 arg0)
static

◆ full() [1/2]

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

◆ full() [2/2]

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

SWR4 full_like ( SWR4 other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ intmd()

SWR4IntmdView intmd ( self)

◆ intmd_linspace()

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

◆ intmd_logspace()

SWR4 intmd_logspace ( SWR4 start,
SWR4 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 ( SWR4 self)

◆ norm()

Scalar norm ( SWR4 self)

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

SWR4 ones_like ( SWR4 arg0)
static

◆ rand() [1/2]

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

◆ rand() [2/2]

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

◆ rand_like()

SWR4 rand_like ( SWR4 arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( SWR4 self,
bool arg0 )

◆ shape()

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

◆ static()

SWR4StaticView static ( self)

◆ tensor()

Tensor tensor ( SWR4 self)

◆ to()

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

◆ torch()

torch.Tensor torch ( SWR4 self)

◆ zero_()

torch.Tensor zero_ ( SWR4 self)

◆ zeros() [1/2]

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

◆ zeros() [2/2]

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

◆ zeros_like()

SWR4 zeros_like ( SWR4 arg0)
static