Vector class
Constructors
-
Vector.fromList(List<
double> elements) - Vector.ones(int n)
- Vector.zeros(int n)
Properties
Methods
-
asMatrix(
) → Matrix -
copy(
) → Vector -
dot(
Vector v) → double -
norm(
) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
int i) → Vector -
scale(
double x) → Vector -
subvector(
int start, [int? end]) → Vector -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator %(
Vector v) → double -
operator +(
Vector other) → Vector -
operator -(
Vector other) → Vector -
operator ==(
Object o) → bool -
The equality operator.
override
-
operator [](
int i) → double -
operator []=(
int i, double x) → void