DataObjectVectorSparse class
Constructors
-
DataObjectVectorSparse({required Input<
List< indices, required Input<int> >List< values})double> > -
Creates a new DataObjectVectorSparse.
indicesThe indices corresponding to the entries invalues. MustvaluesThe 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 asvalues.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