|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectVSMult
public class VSMult
Performs a subtraction operation between two vectors sequentially.
Constructor Summary | |
---|---|
VSMult()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
main. |
static void |
main1(java.lang.String[] args)
main1. |
void |
seqdiff(double[] C,
double[] A,
double[] B)
Performs a subtraction operation between two vectors sequentially. |
boolean |
veccheck0(double[] A)
Checks if the vector is approximatly zero. |
double[] |
vecgen(int n)
Generates a vector. |
double[] |
vecgen0(int n)
Generates the null-vector. |
void |
vecprint(double[] A)
Prints out the vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VSMult()
Method Detail |
---|
public void seqdiff(double[] C, double[] A, double[] B)
C
- double array.A
- double array.B
- double array.public double[] vecgen(int n)
random
returns a
random number within the intervall [0,1].
n
- dimension of vector.public double[] vecgen0(int n)
n
- dimension of vector.public void vecprint(double[] A)
A
- vector.public boolean veccheck0(double[] A)
A
- double vector.public static void main(java.lang.String[] args)
public static void main1(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |