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