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

Public Member Functions

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

Static Public Member Functions

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

R3 __add__ ( R3 self,
float arg0 )

◆ __add__() [2/3]

R3 __add__ ( R3 self,
R3 arg0 )

◆ __add__() [3/3]

R3 __add__ ( R3 self,
Scalar arg0 )

◆ __iadd__()

R3 __iadd__ ( R3 self,
float arg0 )

◆ __imul__()

R3 __imul__ ( R3 self,
float arg0 )

◆ __isub__()

R3 __isub__ ( R3 self,
float arg0 )

◆ __itruediv__()

R3 __itruediv__ ( R3 self,
float arg0 )

◆ __mul__() [1/2]

R3 __mul__ ( R3 self,
float arg0 )

◆ __mul__() [2/2]

R3 __mul__ ( R3 self,
Scalar arg0 )

◆ __neg__()

R3 __neg__ ( R3 self)

◆ __pow__()

R3 __pow__ ( R3 self,
float arg0 )

◆ __radd__() [1/2]

R3 __radd__ ( R3 self,
float arg0 )

◆ __radd__() [2/2]

R3 __radd__ ( R3 self,
Scalar arg0 )

◆ __repr__()

str __repr__ ( R3 self)

◆ __rmul__() [1/2]

R3 __rmul__ ( R3 self,
float arg0 )

◆ __rmul__() [2/2]

R3 __rmul__ ( R3 self,
Scalar arg0 )

◆ __rsub__() [1/2]

R3 __rsub__ ( R3 self,
float arg0 )

◆ __rsub__() [2/2]

R3 __rsub__ ( R3 self,
Scalar arg0 )

◆ __rtruediv__() [1/2]

R3 __rtruediv__ ( R3 self,
float arg0 )

◆ __rtruediv__() [2/2]

R3 __rtruediv__ ( R3 self,
Scalar arg0 )

◆ __str__()

str __str__ ( R3 self)

◆ __sub__() [1/3]

R3 __sub__ ( R3 self,
float arg0 )

◆ __sub__() [2/3]

R3 __sub__ ( R3 self,
R3 arg0 )

◆ __sub__() [3/3]

R3 __sub__ ( R3 self,
Scalar arg0 )

◆ __truediv__() [1/2]

R3 __truediv__ ( R3 self,
float arg0 )

◆ __truediv__() [2/2]

R3 __truediv__ ( R3 self,
Scalar arg0 )

◆ base()

R3BaseView base ( self)

◆ batch()

R3BatchView batch ( self)

◆ clone()

R3 clone ( R3 self)

◆ contiguous()

R3 contiguous ( R3 self)

◆ copy_()

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

◆ defined()

bool defined ( R3 self)

◆ detach()

R3 detach ( R3 self)

◆ detach_()

torch.Tensor detach_ ( R3 self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( R3 self)

◆ dtype()

torch.dtype dtype ( self)

◆ dynamic()

R3DynamicView dynamic ( self)

◆ dynamic_linspace()

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

◆ dynamic_logspace()

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

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

R3 empty_like ( R3 arg0)
static

◆ full() [1/2]

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

◆ full() [2/2]

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

R3 full_like ( R3 other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ intmd()

R3IntmdView intmd ( self)

◆ intmd_linspace()

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

◆ intmd_logspace()

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

◆ norm()

Scalar norm ( R3 self)

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

R3 ones_like ( R3 arg0)
static

◆ rand() [1/2]

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

◆ rand() [2/2]

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

◆ rand_like()

R3 rand_like ( R3 arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( R3 self,
bool arg0 )

◆ shape()

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

◆ static()

R3StaticView static ( self)

◆ tensor()

Tensor tensor ( R3 self)

◆ to()

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

◆ torch()

torch.Tensor torch ( R3 self)

◆ zero_()

torch.Tensor zero_ ( R3 self)

◆ zeros() [1/2]

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

◆ zeros() [2/2]

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

◆ zeros_like()

R3 zeros_like ( R3 arg0)
static