DataObjectVectorSparse class

Constructors

DataObjectVectorSparse({required Input<List<int>> indices, required Input<List<double>> values})
Creates a new DataObjectVectorSparse. indices The indices corresponding to the entries in values. Must values The non-zero float values of the sparse vector.
const
DataObjectVectorSparse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
indices → Input<List<int>>
The indices corresponding to the entries in values. Must have the same length as values.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → Input<List<double>>
The non-zero float values of the sparse vector.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited