gl3n ~master (2022-03-12T18:20:07.6392329)
Dub
Repo
Vector.e4
gl3n
linalg
Vector
canonical basis for Euclidian space
struct
Vector
(type, int dimension_)
@
safe
pure nothrow
static if
(!(
dimension == 2
))
static if
(!(
dimension == 3
))
static if
(
dimension == 4
)
enum
Vector
e4
;
Meta
Source
See Implementation
gl3n
linalg
Vector
aliases
a
b
g
length
length_squared
ok
p
q
r
s
t
toString
u
v
vt
w
x
y
z
constructors
this
functions
clear
normalize
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
set
update
properties
as_string
get_
isFinite
magnitude
magnitude_squared
normalized
opDispatch
value_ptr
static functions
isCompatibleMatrixImpl
isCompatibleVectorImpl
static variables
dimension
templates
coord_to_index
isCompatibleMatrix
isCompatibleVector
variables
e1
e2
e3
e4
vector
canonical basis for Euclidian space