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

Public Member Functions

Rot __add__ (Rot self, Rot arg0)
 
Rot __add__ (Rot self, Scalar arg0)
 
Rot __add__ (Rot self, float arg0)
 
Rot __iadd__ (Rot self, float arg0)
 
Rot __imul__ (Rot 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)
 
Rot __isub__ (Rot self, float arg0)
 
Rot __itruediv__ (Rot self, float arg0)
 
Rot __mul__ (Rot self, Rot arg0)
 
Rot __mul__ (Rot self, Scalar arg0)
 
Rot __mul__ (Rot self, float arg0)
 
Rot __neg__ (Rot self)
 
Rot __pow__ (Rot self, float arg0)
 
Rot __radd__ (Rot self, Scalar arg0)
 
Rot __radd__ (Rot self, float arg0)
 
str __repr__ (Rot self)
 
Rot __rmul__ (Rot self, Scalar arg0)
 
Rot __rmul__ (Rot self, float arg0)
 
Rot __rsub__ (Rot self, Scalar arg0)
 
Rot __rsub__ (Rot self, float arg0)
 
Rot __rtruediv__ (Rot self, Scalar arg0)
 
Rot __rtruediv__ (Rot self, float arg0)
 
str __str__ (Rot self)
 
Rot __sub__ (Rot self, Rot arg0)
 
Rot __sub__ (Rot self, Scalar arg0)
 
Rot __sub__ (Rot self, float arg0)
 
Rot __truediv__ (Rot self, Scalar arg0)
 
Rot __truediv__ (Rot self, float arg0)
 
Rot clone (Rot self)
 
Rot contiguous (Rot self)
 
torch.Tensor copy_ (Rot self, torch.Tensor arg0, bool arg1)
 
Scalar dV (Rot self)
 
bool defined (Rot self)
 
Rot detach (Rot self)
 
torch.Tensor detach_ (Rot self)
 
R3 deuler_rodrigues (Rot self)
 
int dim (Rot self)
 
Scalar dist (Rot self, Rot arg0)
 
R2 drotate (Rot self, Rot arg0)
 
R2 euler_rodrigues (Rot self)
 
Rot inv (Rot self)
 
Number|torch.SymInt|torch.SymFloat|torch.SymBool item (Rot self)
 
Scalar norm (Rot self)
 
torch.Tensor requires_grad_ (Rot self, bool arg0)
 
Rot rotate (Rot self, Rot arg0)
 
Rot shadow (Rot self)
 
Tensor tensor (Rot self)
 
Rot to (Rot self, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
torch.Tensor torch (Rot self)
 
torch.Tensor zero_ (Rot self)
 
RotBaseView base (self)
 
RotBatchView batch (self)
 
torch.device device (self)
 
torch.dtype dtype (self)
 
RotDynamicView dynamic (self)
 
torch.Tensor grad (self)
 
RotIntmdView intmd (self)
 
bool requires_grad (self)
 
tuple[int,...] shape (self)
 
RotStaticView static (self)
 

Static Public Member Functions

Rot axis_angle (Vec arg0, Scalar arg1)
 
Rot axis_angle_standard (Vec arg0, Scalar arg1)
 
Rot dynamic_linspace (Rot start, Rot end, int step, int dim=0)
 
Rot dynamic_logspace (Rot start, Rot end, int step, int dim=0, Number|torch.SymInt|torch.SymFloat|torch.SymBool base=10.0)
 
Rot empty (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot empty (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot empty_like (Rot arg0)
 
Rot fill_euler_angles (Vec arg0, str arg1, str arg2)
 
Rot fill_matrix (R2 arg0)
 
Rot fill_rodrigues (Scalar arg0, Scalar arg1, Scalar arg2)
 
Rot full (float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot full (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes, float fill_value, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot full_like (Rot other, float fill_value)
 
Rot identity (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot intmd_linspace (Rot start, Rot end, int step, int dim=0)
 
Rot intmd_logspace (Rot start, Rot end, int step, int dim=0, Number|torch.SymInt|torch.SymFloat|torch.SymBool base=10.0)
 
Rot ones (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot ones (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot ones_like (Rot arg0)
 
Rot rand (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot rand (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes, *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot rand_like (Rot arg0)
 
Rot rotation_from_to (Vec arg0, Vec arg1)
 
Rot zeros (*, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot zeros (tuple[int,...] dynamic_sizes, tuple[int,...] intmd_sizes=(), *, torch.dtype dtype=..., torch.device device=..., bool requires_grad=False)
 
Rot zeros_like (Rot 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]

Rot __add__ ( Rot self,
float arg0 )

◆ __add__() [2/3]

Rot __add__ ( Rot self,
Rot arg0 )

◆ __add__() [3/3]

Rot __add__ ( Rot self,
Scalar arg0 )

◆ __iadd__()

Rot __iadd__ ( Rot self,
float arg0 )

◆ __imul__()

Rot __imul__ ( Rot self,
float arg0 )

◆ __isub__()

Rot __isub__ ( Rot self,
float arg0 )

◆ __itruediv__()

Rot __itruediv__ ( Rot self,
float arg0 )

◆ __mul__() [1/3]

Rot __mul__ ( Rot self,
float arg0 )

◆ __mul__() [2/3]

Rot __mul__ ( Rot self,
Rot arg0 )

◆ __mul__() [3/3]

Rot __mul__ ( Rot self,
Scalar arg0 )

◆ __neg__()

Rot __neg__ ( Rot self)

◆ __pow__()

Rot __pow__ ( Rot self,
float arg0 )

◆ __radd__() [1/2]

Rot __radd__ ( Rot self,
float arg0 )

◆ __radd__() [2/2]

Rot __radd__ ( Rot self,
Scalar arg0 )

◆ __repr__()

str __repr__ ( Rot self)

◆ __rmul__() [1/2]

Rot __rmul__ ( Rot self,
float arg0 )

◆ __rmul__() [2/2]

Rot __rmul__ ( Rot self,
Scalar arg0 )

◆ __rsub__() [1/2]

Rot __rsub__ ( Rot self,
float arg0 )

◆ __rsub__() [2/2]

Rot __rsub__ ( Rot self,
Scalar arg0 )

◆ __rtruediv__() [1/2]

Rot __rtruediv__ ( Rot self,
float arg0 )

◆ __rtruediv__() [2/2]

Rot __rtruediv__ ( Rot self,
Scalar arg0 )

◆ __str__()

str __str__ ( Rot self)

◆ __sub__() [1/3]

Rot __sub__ ( Rot self,
float arg0 )

◆ __sub__() [2/3]

Rot __sub__ ( Rot self,
Rot arg0 )

◆ __sub__() [3/3]

Rot __sub__ ( Rot self,
Scalar arg0 )

◆ __truediv__() [1/2]

Rot __truediv__ ( Rot self,
float arg0 )

◆ __truediv__() [2/2]

Rot __truediv__ ( Rot self,
Scalar arg0 )

◆ axis_angle()

Rot axis_angle ( Vec arg0,
Scalar arg1 )
static

◆ axis_angle_standard()

Rot axis_angle_standard ( Vec arg0,
Scalar arg1 )
static

◆ base()

RotBaseView base ( self)

◆ batch()

RotBatchView batch ( self)

◆ clone()

Rot clone ( Rot self)

◆ contiguous()

Rot contiguous ( Rot self)

◆ copy_()

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

◆ defined()

bool defined ( Rot self)

◆ detach()

Rot detach ( Rot self)

◆ detach_()

torch.Tensor detach_ ( Rot self)

◆ deuler_rodrigues()

R3 deuler_rodrigues ( Rot self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( Rot self)

◆ dist()

Scalar dist ( Rot self,
Rot arg0 )

◆ drotate()

R2 drotate ( Rot self,
Rot arg0 )

◆ dtype()

torch.dtype dtype ( self)

◆ dV()

Scalar dV ( Rot self)

◆ dynamic()

RotDynamicView dynamic ( self)

◆ dynamic_linspace()

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

◆ dynamic_logspace()

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

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

Rot empty_like ( Rot arg0)
static

◆ euler_rodrigues()

R2 euler_rodrigues ( Rot self)

◆ fill_euler_angles()

Rot fill_euler_angles ( Vec arg0,
str arg1,
str arg2 )
static

◆ fill_matrix()

Rot fill_matrix ( R2 arg0)
static

◆ fill_rodrigues()

Rot fill_rodrigues ( Scalar arg0,
Scalar arg1,
Scalar arg2 )
static

◆ full() [1/2]

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

◆ full() [2/2]

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

Rot full_like ( Rot other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ identity()

Rot identity ( * ,
torch.dtype dtype = ...,
torch.device device = ...,
bool requires_grad = False )
static

◆ intmd()

RotIntmdView intmd ( self)

◆ intmd_linspace()

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

◆ intmd_logspace()

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

◆ inv()

Rot inv ( Rot self)

◆ item()

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

◆ norm()

Scalar norm ( Rot self)

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

Rot ones_like ( Rot arg0)
static

◆ rand() [1/2]

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

◆ rand() [2/2]

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

◆ rand_like()

Rot rand_like ( Rot arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( Rot self,
bool arg0 )

◆ rotate()

Rot rotate ( Rot self,
Rot arg0 )

◆ rotation_from_to()

Rot rotation_from_to ( Vec arg0,
Vec arg1 )
static

◆ shadow()

Rot shadow ( Rot self)

◆ shape()

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

◆ static()

RotStaticView static ( self)

◆ tensor()

Tensor tensor ( Rot self)

◆ to()

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

◆ torch()

torch.Tensor torch ( Rot self)

◆ zero_()

torch.Tensor zero_ ( Rot self)

◆ zeros() [1/2]

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

◆ zeros() [2/2]

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

◆ zeros_like()

Rot zeros_like ( Rot arg0)
static