gl3n ~master (2021-06-11T06:55:56Z)
Home
Dub
Repo
Vector.e3
gl3n
linalg
Vector
canonical basis for Euclidian space
enum
Vector
e3
;
struct
Vector
(type, int dimension_)
@
safe
pure nothrow
static if
(!(
dimension == 2
))
static if
(
dimension == 3
)
enum
Vector
e3
;
enum
Vector
e3
;
enum
Vector
e1
;
enum
Vector
e2
;
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