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

Public Member Functions

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

Static Public Member Functions

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

WR2 __add__ ( WR2 self,
float arg0 )

◆ __add__() [2/3]

WR2 __add__ ( WR2 self,
Scalar arg0 )

◆ __add__() [3/3]

WR2 __add__ ( WR2 self,
WR2 arg0 )

◆ __iadd__()

WR2 __iadd__ ( WR2 self,
float arg0 )

◆ __imul__()

WR2 __imul__ ( WR2 self,
float arg0 )

◆ __isub__()

WR2 __isub__ ( WR2 self,
float arg0 )

◆ __itruediv__()

WR2 __itruediv__ ( WR2 self,
float arg0 )

◆ __mul__() [1/2]

WR2 __mul__ ( WR2 self,
float arg0 )

◆ __mul__() [2/2]

WR2 __mul__ ( WR2 self,
Scalar arg0 )

◆ __neg__()

WR2 __neg__ ( WR2 self)

◆ __pow__()

WR2 __pow__ ( WR2 self,
float arg0 )

◆ __radd__() [1/2]

WR2 __radd__ ( WR2 self,
float arg0 )

◆ __radd__() [2/2]

WR2 __radd__ ( WR2 self,
Scalar arg0 )

◆ __repr__()

str __repr__ ( WR2 self)

◆ __rmul__() [1/2]

WR2 __rmul__ ( WR2 self,
float arg0 )

◆ __rmul__() [2/2]

WR2 __rmul__ ( WR2 self,
Scalar arg0 )

◆ __rsub__() [1/2]

WR2 __rsub__ ( WR2 self,
float arg0 )

◆ __rsub__() [2/2]

WR2 __rsub__ ( WR2 self,
Scalar arg0 )

◆ __rtruediv__() [1/2]

WR2 __rtruediv__ ( WR2 self,
float arg0 )

◆ __rtruediv__() [2/2]

WR2 __rtruediv__ ( WR2 self,
Scalar arg0 )

◆ __str__()

str __str__ ( WR2 self)

◆ __sub__() [1/3]

WR2 __sub__ ( WR2 self,
float arg0 )

◆ __sub__() [2/3]

WR2 __sub__ ( WR2 self,
Scalar arg0 )

◆ __sub__() [3/3]

WR2 __sub__ ( WR2 self,
WR2 arg0 )

◆ __truediv__() [1/2]

WR2 __truediv__ ( WR2 self,
float arg0 )

◆ __truediv__() [2/2]

WR2 __truediv__ ( WR2 self,
Scalar arg0 )

◆ base()

WR2BaseView base ( self)

◆ batch()

WR2BatchView batch ( self)

◆ clone()

WR2 clone ( WR2 self)

◆ contiguous()

WR2 contiguous ( WR2 self)

◆ copy_()

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

◆ defined()

bool defined ( WR2 self)

◆ detach()

WR2 detach ( WR2 self)

◆ detach_()

torch.Tensor detach_ ( WR2 self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( WR2 self)

◆ dtype()

torch.dtype dtype ( self)

◆ dynamic()

WR2DynamicView dynamic ( self)

◆ dynamic_linspace()

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

◆ dynamic_logspace()

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

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

WR2 empty_like ( WR2 arg0)
static

◆ full() [1/2]

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

◆ full() [2/2]

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

WR2 full_like ( WR2 other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ intmd()

WR2IntmdView intmd ( self)

◆ intmd_linspace()

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

◆ intmd_logspace()

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

◆ norm()

Scalar norm ( WR2 self)

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

WR2 ones_like ( WR2 arg0)
static

◆ rand() [1/2]

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

◆ rand() [2/2]

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

◆ rand_like()

WR2 rand_like ( WR2 arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( WR2 self,
bool arg0 )

◆ shape()

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

◆ static()

WR2StaticView static ( self)

◆ tensor()

Tensor tensor ( WR2 self)

◆ to()

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

◆ torch()

torch.Tensor torch ( WR2 self)

◆ zero_()

torch.Tensor zero_ ( WR2 self)

◆ zeros() [1/2]

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

◆ zeros() [2/2]

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

◆ zeros_like()

WR2 zeros_like ( WR2 arg0)
static