Vector class
Constructors
-
Vector([List<
num> ? elements]) - Vector.fromJson(dynamic list)
-
factory
Properties
Methods
-
dot(
Vector otherVector) → double -
insert(
dynamic insertIdx, dynamic val) → dynamic -
magnitude(
) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
positionForIndex(
dynamic index) → int -
similarity(
dynamic otherVector) → double -
toArray(
) → List< num> -
toJson(
) → List< num> -
toString(
) → String -
A string representation of this object.
inherited
-
upsert(
dynamic insertIdx, dynamic val, [UpsertFn? fn]) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override