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

Public Member Functions

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

Static Public Member Functions

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

R4 __add__ ( R4 self,
float arg0 )

◆ __add__() [2/3]

R4 __add__ ( R4 self,
R4 arg0 )

◆ __add__() [3/3]

R4 __add__ ( R4 self,
Scalar arg0 )

◆ __iadd__()

R4 __iadd__ ( R4 self,
float arg0 )

◆ __imul__()

R4 __imul__ ( R4 self,
float arg0 )

◆ __isub__()

R4 __isub__ ( R4 self,
float arg0 )

◆ __itruediv__()

R4 __itruediv__ ( R4 self,
float arg0 )

◆ __mul__() [1/2]

R4 __mul__ ( R4 self,
float arg0 )

◆ __mul__() [2/2]

R4 __mul__ ( R4 self,
Scalar arg0 )

◆ __neg__()

R4 __neg__ ( R4 self)

◆ __pow__()

R4 __pow__ ( R4 self,
float arg0 )

◆ __radd__() [1/2]

R4 __radd__ ( R4 self,
float arg0 )

◆ __radd__() [2/2]

R4 __radd__ ( R4 self,
Scalar arg0 )

◆ __repr__()

str __repr__ ( R4 self)

◆ __rmul__() [1/2]

R4 __rmul__ ( R4 self,
float arg0 )

◆ __rmul__() [2/2]

R4 __rmul__ ( R4 self,
Scalar arg0 )

◆ __rsub__() [1/2]

R4 __rsub__ ( R4 self,
float arg0 )

◆ __rsub__() [2/2]

R4 __rsub__ ( R4 self,
Scalar arg0 )

◆ __rtruediv__() [1/2]

R4 __rtruediv__ ( R4 self,
float arg0 )

◆ __rtruediv__() [2/2]

R4 __rtruediv__ ( R4 self,
Scalar arg0 )

◆ __str__()

str __str__ ( R4 self)

◆ __sub__() [1/3]

R4 __sub__ ( R4 self,
float arg0 )

◆ __sub__() [2/3]

R4 __sub__ ( R4 self,
R4 arg0 )

◆ __sub__() [3/3]

R4 __sub__ ( R4 self,
Scalar arg0 )

◆ __truediv__() [1/2]

R4 __truediv__ ( R4 self,
float arg0 )

◆ __truediv__() [2/2]

R4 __truediv__ ( R4 self,
Scalar arg0 )

◆ base()

R4BaseView base ( self)

◆ batch()

R4BatchView batch ( self)

◆ clone()

R4 clone ( R4 self)

◆ contiguous()

R4 contiguous ( R4 self)

◆ copy_()

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

◆ defined()

bool defined ( R4 self)

◆ detach()

R4 detach ( R4 self)

◆ detach_()

torch.Tensor detach_ ( R4 self)

◆ device()

torch.device device ( self)

◆ dim()

int dim ( R4 self)

◆ dtype()

torch.dtype dtype ( self)

◆ dynamic()

R4DynamicView dynamic ( self)

◆ dynamic_linspace()

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

◆ dynamic_logspace()

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

◆ empty() [1/2]

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

◆ empty() [2/2]

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

◆ empty_like()

R4 empty_like ( R4 arg0)
static

◆ full() [1/2]

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

◆ full() [2/2]

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

R4 full_like ( R4 other,
float fill_value )
static

◆ grad()

torch.Tensor grad ( self)

◆ intmd()

R4IntmdView intmd ( self)

◆ intmd_linspace()

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

◆ intmd_logspace()

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

◆ inv()

R4 inv ( R4 self)

◆ item()

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

◆ norm()

Scalar norm ( R4 self)

◆ ones() [1/2]

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

◆ ones() [2/2]

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

◆ ones_like()

R4 ones_like ( R4 arg0)
static

◆ rand() [1/2]

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

◆ rand() [2/2]

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

◆ rand_like()

R4 rand_like ( R4 arg0)
static

◆ requires_grad()

bool requires_grad ( self)

◆ requires_grad_()

torch.Tensor requires_grad_ ( R4 self,
bool arg0 )

◆ shape()

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

◆ static()

R4StaticView static ( self)

◆ tensor()

Tensor tensor ( R4 self)

◆ to()

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

◆ torch()

torch.Tensor torch ( R4 self)

◆ zero_()

torch.Tensor zero_ ( R4 self)

◆ zeros() [1/2]

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

◆ zeros() [2/2]

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

◆ zeros_like()

R4 zeros_like ( R4 arg0)
static