Class VectorF
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.Poisson.Octree.VectorF
-
public class VectorF extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorF
add(VectorF V0)
void
Add(VectorF V1, float scale1, VectorF V2, float scale2, VectorF Out)
static void
Add(VectorF V1, float scale1, VectorF V2, VectorF Out)
VectorF
add_into(VectorF V)
VectorF
AddScaled(VectorF V, float scale)
int
Dimensions()
void
dispose()
VectorF
div(float A)
VectorF
div_into(float A)
float
Dot(VectorF V)
float
get(int i)
float
Length()
VectorF
mul(float A)
VectorF
mul_into(float A)
VectorF
neg()
float
Norm(int Ln)
void
Normalize()
void
print()
void
Resize(int N)
void
set(int i, float value)
VectorF
set(VectorF V)
void
SetZero()
VectorF
sub(VectorF V0)
VectorF
sub_into(VectorF V)
VectorF
SubtractScaled(VectorF V, float scale)
-
-
-
Constructor Detail
-
VectorF
public VectorF()
-
VectorF
public VectorF(VectorF V)
-
VectorF
public VectorF(int N)
-
VectorF
public VectorF(int N, float[] pV)
-
-
Method Detail
-
print
public void print()
-
Resize
public void Resize(int N)
-
dispose
public void dispose()
-
get
public float get(int i)
-
set
public void set(int i, float value)
-
Dimensions
public int Dimensions()
-
SetZero
public void SetZero()
-
mul
public VectorF mul(float A)
-
mul_into
public VectorF mul_into(float A)
-
div
public VectorF div(float A)
-
div_into
public VectorF div_into(float A)
-
neg
public VectorF neg()
-
Norm
public float Norm(int Ln)
-
Normalize
public void Normalize()
-
Length
public float Length()
-
Dot
public final float Dot(VectorF V)
-
-