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