public class Scalar
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double[] |
val |
Constructor and Description |
---|
Scalar(double v0) |
Scalar(double[] vals) |
Scalar(double v0,
double v1) |
Scalar(double v0,
double v1,
double v2) |
Scalar(double v0,
double v1,
double v2,
double v3) |
Modifier and Type | Method and Description |
---|---|
static Scalar |
all(double v) |
Scalar |
clone() |
Scalar |
conj() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isReal() |
Scalar |
mul(Scalar it) |
Scalar |
mul(Scalar it,
double scale) |
void |
set(double[] vals) |
java.lang.String |
toString() |
public Scalar(double v0)
public Scalar(double[] vals)
public Scalar(double v0, double v1)
public Scalar(double v0, double v1, double v2)
public Scalar(double v0, double v1, double v2, double v3)
public static Scalar all(double v)
public Scalar clone()
clone
in class java.lang.Object
public Scalar conj()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isReal()
public void set(double[] vals)
public java.lang.String toString()
toString
in class java.lang.Object